/* ============================================================
   POWERTECH INDUSTRIES — Jewellery Manufacturing Machinery
   Design system: premium industrial (warm stone + champagne gold)
   Type: Space Grotesk (display) · DM Sans (body) · JetBrains Mono (specs)
   ============================================================ */

:root {
  /* ---- Warm-stone industrial neutrals ---- */
  --ink:        #0C0A09;
  --graphite:   #14110F;
  --surface:    #1B1613;
  --surface-2:  #221C18;
  --line:       #2E2721;
  --line-bright:#413830;

  --text:       #F3EEE8;
  --muted:      #AEA398;
  --faint:      #7C7267;

  /* ---- Champagne gold accent + molten amber (casting heat) ---- */
  --gold:       #C79A4B;
  --gold-bright:#E7C983;
  --gold-deep:  #A16207;
  --molten:     #F59E0B;
  --steel:      #9AA6B2;
  --live:       #34D399;

  --gold-glow:  0 10px 40px -12px rgba(199,154,75,.55);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Fluid type scale */
  --step--2: clamp(0.7rem, 0.68rem + 0.1vw, 0.76rem);
  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
  --step-1:  clamp(1.16rem, 1.08rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.15rem);
  --step-3:  clamp(2rem, 1.6rem + 2.1vw, 3.4rem);
  --step-4:  clamp(2.7rem, 1.9rem + 4.2vw, 5.4rem);

  --maxw: 1240px;
  --radius: 5px;
  --radius-lg: 10px;
  --space: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 44px); }
section { position: relative; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.center { justify-content: center; }

.lead { color: var(--muted); font-size: var(--step-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 26px;
  min-height: 50px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #241905;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px -12px rgba(199,154,75,.7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-bright); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-dark:hover { border-color: var(--line-bright); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(231,201,131,.22), rgba(199,154,75,.06));
  color: var(--gold-bright);
}
.brand .mark svg { width: 22px; height: 22px; }
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.05; }
.brand .name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 9px; letter-spacing: .24em; color: var(--faint); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-links > .has-menu > a { font-size: .93rem; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }

/* dropdown */
.has-menu { position: relative; }
.has-menu > a { display: inline-flex; align-items: center; gap: 5px; }
.has-menu > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .6; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 10px;
  background: var(--graphite); border: 1px solid var(--line-bright); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  display: grid; gap: 2px; z-index: 120;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (min-width: 1041px) {
  /* Invisible hover-bridge so the menu doesn't close when the cursor crosses the gap */
  .has-menu::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 20px; }
  /* Only the header-actions Request Quotation button shows (remove the duplicate inside the nav) */
  .nav-links .btn-quote-lg { display: none; }
}
.menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius); color: var(--muted); font-size: .9rem; transition: background .15s, color .15s; }
.menu a:hover { background: var(--surface-2); color: var(--text); }
.menu a .mno { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: .06em; }
.menu a b { color: var(--text); font-weight: 500; font-family: var(--font-body); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1040px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--graphite); border-bottom: 1px solid var(--line); padding: 8px clamp(20px,4vw,44px) 20px;
    transform: translateY(-120%); transition: transform .28s ease; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a, .has-menu > a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 4px 0 8px 12px; display: none; }
  .has-menu.open .menu { display: grid; }
  .nav-toggle { display: grid; }
  .nav-actions .btn-quote-lg { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(52px, 8vw, 104px) 0 clamp(44px, 6vw, 84px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 82% 0%, rgba(245,158,11,.12), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(199,154,75,.07), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--step-4); margin: 22px 0 22px; }
.hero h1 .gold { color: var(--gold-bright); }
.hero p.sub { font-size: var(--step-1); color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-metrics { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: clamp(24px,4vw,44px); flex-wrap: wrap; }
.hero-metrics .m .n { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.hero-metrics .m .n em { color: var(--gold-bright); font-style: normal; }
.hero-metrics .m .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

/* machine visual + spec panel */
.machine-panel {
  background: linear-gradient(180deg, var(--surface), var(--graphite));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.85);
  position: relative; overflow: hidden;
}
.machine-panel .stage {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #211a14, #100c0a);
  border: 1px solid var(--line); display: grid; place-items: center; position: relative;
}
.machine-panel .stage svg { width: 82%; height: auto; }
.panel-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.panel-specs .s { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.panel-specs .s .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.panel-specs .s .v { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.panel-tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); background: rgba(12,10,9,.7); border: 1px solid var(--line-bright); padding: 5px 10px; border-radius: 3px; }
.panel-status { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--live); }
.panel-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(52,211,153,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ---------- Trust / marquee bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--graphite); }
.trust .wrap { display: flex; align-items: center; gap: clamp(20px,4vw,50px); flex-wrap: wrap; justify-content: center; padding: 20px 0; }
.trust .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.trust .chip { font-family: var(--font-display); font-weight: 600; color: var(--steel); opacity: .82; font-size: .98rem; }

/* ---------- Section shell ---------- */
.section { padding: var(--space) 0; }
.section-head { max-width: 64ch; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--step-3); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: var(--step-1); }

/* ---------- Value props (why buy) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform .2s, border-color .2s, background .2s; }
.value:hover { transform: translateY(-4px); border-color: var(--line-bright); background: var(--surface-2); }
.value .ic { width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; color: var(--gold-bright); background: rgba(199,154,75,.1); border: 1px solid rgba(199,154,75,.28); margin-bottom: 18px; }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.2rem; margin-bottom: 9px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, border-color .2s; }
.pcard:hover { transform: translateY(-5px); border-color: var(--gold); }
.pcard .thumb { aspect-ratio: 16 / 11; background: radial-gradient(120% 120% at 50% 0%, #221a13, #0f0b09); border-bottom: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.pcard .thumb svg { width: 66%; }
.pcard .mno { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--gold-bright); background: rgba(12,10,9,.65); border: 1px solid var(--line-bright); padding: 4px 9px; border-radius: 3px; }
.pcard .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.22rem; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; flex: 1; }
.pcard .kv { display: flex; gap: 18px; padding-top: 14px; border-top: 1px dashed var(--line); margin-bottom: 16px; }
.pcard .kv .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.pcard .kv .k b { display: block; color: var(--steel); font-size: 13px; margin-top: 3px; }
.pcard .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-bright); display: inline-flex; align-items: center; gap: 8px; }
.pcard .more svg { width: 15px; height: 15px; transition: transform .2s; }
.pcard:hover .more svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .process { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); position: relative; }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.step h4 { font-size: 1.08rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat { background: var(--surface); padding: 32px 24px; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat .n em { color: var(--gold-bright); font-style: normal; }
.stat .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta { padding: var(--space) 0; }
.cta-box { border: 1px solid var(--line-bright); border-radius: var(--radius-lg); padding: clamp(34px,6vw,68px); text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(700px 340px at 82% 6%, rgba(245,158,11,.16), transparent 60%), linear-gradient(180deg, var(--surface), var(--graphite)); }
.cta-box h2 { font-size: var(--step-3); margin-bottom: 16px; }
.cta-box p { color: var(--muted); font-size: var(--step-1); max-width: 58ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--graphite); padding: 60px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--muted); font-size: .91rem; transition: color .15s; }
.site-footer a:hover { color: var(--gold-bright); }
.foot-brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.foot-contact { margin-top: 16px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.foot-contact a { color: var(--text); }
.foot-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--faint); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--graphite); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li::after { content: "/"; color: var(--line-bright); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb li[aria-current] { color: var(--gold-bright); }

/* ---------- Product page ---------- */
.pd-hero { padding: clamp(40px,6vw,72px) 0; }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px,5vw,56px); align-items: start; }
@media (max-width: 940px) { .pd-grid { grid-template-columns: 1fr; } }

.gallery .main { aspect-ratio: 4/3; border: 1px solid var(--line-bright); border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 50% 0%, #221a13, #0f0b09); display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery .main svg { width: 78%; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery .thumbs button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; padding: 8px; }
.gallery .thumbs button[aria-selected="true"], .gallery .thumbs button:hover { border-color: var(--gold); }
.gallery .thumbs button svg { width: 100%; }

.pd-info .badge { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); border: 1px solid var(--line-bright); border-radius: 3px; padding: 6px 10px; margin-bottom: 16px; }
.pd-info h1 { font-size: var(--step-3); margin-bottom: 14px; }
.pd-info .desc { color: var(--muted); font-size: var(--step-1); margin-bottom: 24px; }
.pd-highlights { display: grid; gap: 12px; margin-bottom: 26px; }
.pd-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.pd-highlights .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(199,154,75,.12); border: 1px solid rgba(199,154,75,.3); color: var(--gold-bright); margin-top: 2px; }
.pd-highlights .tick svg { width: 12px; height: 12px; }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table caption { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); padding: 0 0 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { font-family: var(--font-body); font-weight: 500; color: var(--muted); width: 46%; background: var(--surface); }
.spec-table td { font-family: var(--font-mono); color: var(--text); font-variant-numeric: tabular-nums; background: var(--graphite); }

.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width: 620px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature-list b { font-family: var(--font-display); display: block; margin-bottom: 5px; }
.feature-list span { color: var(--muted); font-size: .9rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--steel); border: 1px solid var(--line); border-radius: 40px; padding: 8px 15px; background: var(--surface); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-bright); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* two-column prose (blog) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin: 40px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul.bullets { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; }
.prose ul.bullets li { padding-left: 26px; position: relative; color: var(--muted); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.prose a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* utility */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.divider { height: 1px; background: var(--line); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #241905; padding: 10px 16px; z-index: 200; border-radius: 0 0 6px 0; font-family: var(--font-mono); font-size: 13px; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   LIGHT THEME (data-theme="light") — default; toggle to dark
   ============================================================ */
:root[data-theme="light"] {
  --ink:        #FAF8F5;
  --graphite:   #F2EEE8;
  --surface:    #FFFFFF;
  --surface-2:  #F7F3EC;
  --line:       #E7E0D6;
  --line-bright:#D6CCBD;
  --text:       #1A1512;
  --muted:      #5B524A;
  --faint:      #8B8073;
  --steel:      #55636F;
  --gold:       #9A5D0A;
  --gold-bright:#A96C14;
  --gold-deep:  #7E5100;
  --molten:     #C2660A;
  --gold-glow:  0 10px 34px -14px rgba(161,98,7,.4);
}
:root[data-theme="light"] body {
  background: radial-gradient(1100px 560px at 82% -10%, rgba(161,98,7,.07), transparent 60%), var(--ink);
}
:root[data-theme="light"] .machine-panel .stage,
:root[data-theme="light"] .pcard .thumb,
:root[data-theme="light"] .gallery .main {
  background: radial-gradient(120% 120% at 50% 0%, #FFFFFF, #EFE9DF);
}
:root[data-theme="light"] .btn-primary { color: #FFFFFF; }
:root[data-theme="light"] .machine-panel { box-shadow: 0 30px 60px -40px rgba(80,60,20,.35); }
:root[data-theme="light"] .menu { box-shadow: 0 24px 50px -24px rgba(80,60,20,.3); }
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .pcard .more,
:root[data-theme="light"] .cap .more,
:root[data-theme="light"] .site-footer a:hover,
:root[data-theme="light"] .contact-card a,
:root[data-theme="light"] .prose a,
:root[data-theme="light"] .breadcrumb li[aria-current],
:root[data-theme="light"] .pd-info .badge { color: var(--gold-deep); }
:root[data-theme="light"] .site-header { background: color-mix(in srgb, var(--ink) 88%, transparent); }

/* ============================================================
   TOP UTILITY BAR (phone highlighted + theme toggle) — every page
   ============================================================ */
.topbar { background: var(--graphite); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 40px; padding-block: 5px; }
.topbar-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.topbar-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.topbar-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-bright); font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.topbar-phone strong { font-weight: 700; }
:root[data-theme="light"] .topbar-phone { color: var(--gold-deep); }
.topbar-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-wa { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #08240F; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 13px; border-radius: 40px; }
.topbar-wa:hover { background: #1FBE5A; transform: translateY(-1px); }
.theme-toggle { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-bright); }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
@media (max-width: 680px) {
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: space-between; }
  .topbar-actions { margin-left: 0; width: 100%; justify-content: space-between; gap: 10px; }
  .topbar-wa span { display: none; }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON + CHAT POPUP — every page
   ============================================================ */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 220; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab-btn { width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; border: none; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); animation: wa-pulse 2.8s infinite; }
.wa-fab-btn svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
.wa-panel { width: 300px; max-width: calc(100vw - 36px); background: var(--surface); border: 1px solid var(--line-bright); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -24px rgba(0,0,0,.5); transform: translateY(14px) scale(.96); transform-origin: bottom right; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; }
.wa-panel.show { opacity: 1; visibility: visible; transform: none; }
.wa-head { background: #075E54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.wa-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #241905; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.wa-head .nm { font-weight: 700; font-size: 14px; line-height: 1.2; }
.wa-head .st { font-size: 11px; opacity: .85; }
.wa-head .x { margin-left: auto; cursor: pointer; opacity: .85; background: none; border: none; color: #fff; font-size: 16px; }
.wa-body { padding: 18px 16px; background: #ECE5DD; }
.wa-bubble { background: #fff; color: #222; font-size: 13px; line-height: 1.5; padding: 11px 13px; border-radius: 4px 10px 10px 10px; box-shadow: 0 1px 1px rgba(0,0,0,.1); margin-bottom: 14px; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #08240F; font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 12px; border-radius: 8px; }
.wa-start:hover { background: #1FBE5A; }

/* ============================================================
   LEAD-CAPTURE POPUP (auto on visit) — every page
   ============================================================ */
.lead-ov { position: fixed; inset: 0; z-index: 300; background: rgba(8,6,4,.64); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s; }
.lead-ov.show { opacity: 1; visibility: visible; }
.lead-box { width: 100%; max-width: 470px; background: var(--surface); border: 1px solid var(--line-bright); border-radius: 16px; padding: clamp(26px,4vw,36px); position: relative; transform: translateY(16px); transition: transform .25s; box-shadow: 0 44px 100px -30px rgba(0,0,0,.6); }
.lead-ov.show .lead-box { transform: none; }
.lead-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; display: grid; place-items: center; }
.lead-x:hover { color: var(--text); border-color: var(--line-bright); }
.lead-box h3 { font-size: clamp(1.4rem,3vw,1.8rem); line-height: 1.1; }
.lead-box h3 .accent { color: var(--gold-bright); }
:root[data-theme="light"] .lead-box h3 .accent { color: var(--gold-deep); }
.lead-box .sub { color: var(--muted); font-size: .95rem; margin: 10px 0 20px; }
.lead-lbl { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lead-inputs { display: flex; gap: 10px; }
.lead-cc { flex: none; width: 74px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-bright); border-radius: var(--radius); font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.lead-box input[type="tel"], .lead-box input[type="text"] { flex: 1; width: 100%; background: var(--surface-2); border: 1px solid var(--line-bright); border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 13px 15px; min-height: 50px; }
.lead-box input:focus { outline: none; border-color: var(--gold); }
.lead-submit { width: 100%; justify-content: center; margin-top: 14px; }
.lead-note { font-size: .8rem; color: var(--faint); margin-top: 12px; }
.lead-alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); display: grid; gap: 8px; }
.lead-alt a { color: var(--gold-bright); font-weight: 600; }
:root[data-theme="light"] .lead-alt a { color: var(--gold-deep); }
.lead-alt .ph { font-family: var(--font-mono); letter-spacing: .03em; }

/* Real product photography / marketing banners — show the WHOLE image (no crop) */
.pcard .thumb img,
.gallery .main img,
.machine-panel .stage img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; padding: 8px; }
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.gallery .thumbs button { padding: 4px; overflow: hidden; }
/* Clean, consistent backdrop behind letterboxed images (both themes) */
.pcard .thumb, .gallery .main, .machine-panel .stage { background: #f4f1ec; }
:root[data-theme="dark"] .pcard .thumb,
:root[data-theme="dark"] .gallery .main,
:root[data-theme="dark"] .machine-panel .stage { background: #14110f; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .wa-fab-btn { animation: none !important; }
}
