/* ============================================================
   ARZEN INDUSTRIAL GROUP — Landing page styles
   VERSION: v23 — 2026-08-16
   Si ves este comentario en el navegador (Ver código fuente de la
   página > css/styles.css) y NO ves "v4" aquí arriba, el archivo
   que subiste a GitHub no es este. Vuelve a subirlo.
   v4: tabs ahora son CSS puro (radio+label), ya no dependen de JS.
   ============================================================ */

:root{
  --graphite:   #1C1E21;
  --steel:      #52606D;
  --amber:      #F2A619;
  --gray-light: #ECEFF1;
  --white-cold: #F4F5F7;
  --cool-gray:  #8A8F98;
  --hairline:   rgba(28,30,33,.12);
  --hairline-dark: rgba(244,245,247,.16);
  --grid-line: rgba(244,245,247,.045);
  --danger:     #B3392C;
  --danger-bg:  #FBF0EE;
  --danger-line: rgba(179,57,44,.18);

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --max-w: 1220px;
  --radius: 6px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--graphite);
  background:var(--white-cold);
  -webkit-font-smoothing:antialiased;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0 0 .5em; letter-spacing:-0.01em; }
p{ margin:0 0 1em; line-height:1.65; text-align:justify; text-justify:inter-word; }
.mono{ font-family:var(--font-mono); }
button{ font:inherit; }
/* Elements that should stay left/center-aligned, not justified */
.eyebrow, .section-tag, blockquote, .fig-label, .panel-label,
.hero-specs .v, .diff blockquote{ text-align:left; }
.diff .wrap p, .diff blockquote{ text-align:center; }

.wrap{ max-width:var(--max-w); margin:0 auto; padding:0 28px; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--amber); color:var(--graphite); padding:10px 16px;
  z-index:1000; font-weight:600; text-decoration:none;
}
.skip-link:focus{ left:16px; top:16px; }
:focus-visible{ outline:2px solid var(--amber); outline-offset:2px; }

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(244,245,247,.94);
  backdrop-filter:saturate(140%) blur(6px);
  border-bottom:1px solid var(--hairline);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px; gap:24px;
}
.brand-mark{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:none; }
.brand-mark svg{ width:28px; height:28px; flex:none; }
.brand-mark .wordmark{ font-family:var(--font-display); font-size:1.05rem; letter-spacing:.02em; color:var(--graphite); line-height:1.1; }
.brand-mark .wordmark small{ display:block; font-family:var(--font-body); font-size:.5rem; letter-spacing:.18em; color:var(--steel); font-weight:600; }

.primary-nav{ display:flex; align-items:center; gap:34px; flex:1; justify-content:center; }
.primary-nav a{
  font-size:.78rem; font-weight:600; text-decoration:none; color:var(--steel);
  text-transform:uppercase; letter-spacing:.07em;
  position:relative; padding:6px 0;
}
.primary-nav a:hover{ color:var(--graphite); }

.header-right{ display:flex; align-items:center; gap:20px; flex:none; }
.lang-switch{ display:flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:.74rem; }
.lang-switch a{ text-decoration:none; padding:4px 7px; color:var(--cool-gray); }
.lang-switch a[aria-current="true"]{ color:var(--graphite); font-weight:600; }

.nav-cta{
  display:inline-block; font-weight:600; font-size:.8rem;
  text-transform:uppercase; letter-spacing:.04em;
  background:var(--amber); color:var(--graphite); padding:12px 20px;
  text-decoration:none; white-space:nowrap; border-radius:var(--radius);
}
.nav-cta:hover{ background:#d99411; }

/* ---------- Hero (full-bleed, editorial) ---------- */
/* ---------- Hero carousel (full-bleed photo slides, fills the screen on mobile) ---------- */
.hero{
  background:var(--graphite); color:var(--white-cold);
  position:relative; overflow:hidden;
  padding:0;
  min-height:100vh; min-height:100svh;
  display:flex;
}
.slide-radio{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.slides{ position:relative; width:100%; min-height:100vh; min-height:100svh; }
.slide{
  position:absolute; top:0; right:0; bottom:0; left:0;
  background-size:cover; background-position:center;
  display:flex; align-items:center;
  opacity:0; visibility:hidden; transition:opacity 1s ease;
  z-index:0;
}
#slide-1:checked ~ .slides .slide[data-slide="1"],
#slide-2:checked ~ .slides .slide[data-slide="2"],
#slide-3:checked ~ .slides .slide[data-slide="3"],
#slide-4:checked ~ .slides .slide[data-slide="4"]{ opacity:1; visibility:visible; z-index:1; }
.slide::after{
  content:"";
  position:absolute; top:0; right:0; bottom:0; left:0;
  background:linear-gradient(100deg, rgba(15,17,19,.92) 0%, rgba(15,17,19,.78) 40%, rgba(15,17,19,.5) 75%, rgba(15,17,19,.62) 100%);
}
.slide-content{ position:relative; z-index:1; padding-top:110px; padding-bottom:100px; }

.slide-dots{
  position:absolute; left:0; right:0; bottom:28px; z-index:5;
  display:flex; justify-content:center; gap:10px;
}
.slide-dots label{
  width:26px; height:3px; background:rgba(244,245,247,.3); cursor:pointer; transition:background .2s ease;
}
#slide-1:checked ~ .slide-dots label[for="slide-1"],
#slide-2:checked ~ .slide-dots label[for="slide-2"],
#slide-3:checked ~ .slide-dots label[for="slide-3"],
#slide-4:checked ~ .slide-dots label[for="slide-4"]{ background:var(--amber); }

.hero-rings{ display:none; }

.hero-grid{
  display:grid; grid-template-columns:1fr; gap:0;
  position:relative; z-index:2;
}
.eyebrow{
  font-family:var(--font-mono); font-size:.76rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--amber); margin-bottom:22px;
}
.hero h1{ font-size:clamp(2.6rem, 5.4vw, 4.6rem); line-height:1.04; color:#fff; max-width:17ch; }
.hero .sub{ font-size:1.18rem; color:#C7CBD1; max-width:52ch; margin:26px 0 38px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:.92rem;
  text-transform:uppercase; letter-spacing:.03em;
  padding:16px 28px; text-decoration:none; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer; transition:background .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--amber); color:var(--graphite); }
.btn-primary:hover{ background:#ffb733; }
.btn-ghost{ border-color:rgba(244,245,247,.35); color:#fff; background:transparent; }
.btn-ghost:hover{ border-color:#fff; }

.hero-specs{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  margin-top:64px; border-top:1px solid var(--hairline-dark);
  position:relative; z-index:1;
}
.hero-specs > div{ padding:22px 24px 0 0; border-left:1px solid var(--hairline-dark); padding-left:24px; }
.hero-specs > div:first-child{ border-left:none; padding-left:0; }
.hero-specs .k{ font-family:var(--font-mono); font-size:.7rem; color:var(--amber); text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.hero-specs .v{ font-size:.86rem; color:#D6D9DD; line-height:1.5; }

/* ---------- Trust banner (below hero, above specs) ---------- */
.trust-banner{ background:var(--steel); padding:20px 0; }
.trust-banner .wrap{ text-align:center; }
.trust-banner p{
  margin:0; color:#fff; font-family:var(--font-mono); font-size:.82rem;
  letter-spacing:.02em; text-align:center;
}

/* ---------- Specs bar — deliberately NOT the hero's dark background,
   so the hero visually ends at the CTA buttons and this reads as a
   new block. ---------- */
.specs-bar{ background:#fff; padding:52px 0; border-bottom:1px solid var(--hairline); }
.specs-bar .hero-specs{ margin-top:0; border-top:none; }
.specs-bar .hero-specs > div{ border-left-color:var(--hairline); }
.specs-bar .hero-specs .k{ color:var(--amber); }
.specs-bar .hero-specs .v{ color:var(--steel); }

/* ---------- Stat bar ---------- */
.stat-bar{ background:var(--gray-light); padding:36px 0; border-bottom:1px solid var(--hairline); }
.stat-grid{ display:grid; grid-template-columns:repeat(3,1fr); }
.stat-grid > div{ text-align:center; padding:0 16px; position:relative; }
.stat-grid > div:not(:last-child)::after{ content:""; position:absolute; right:0; top:8%; bottom:8%; width:1px; background:var(--hairline); }
.stat-grid .num{ font-family:var(--font-mono); font-size:clamp(1.4rem,2.4vw,1.9rem); color:var(--amber); font-weight:600; text-transform:uppercase; }
.stat-grid .label{ font-family:var(--font-mono); font-size:.74rem; color:var(--steel); letter-spacing:.02em; margin-top:6px; text-transform:uppercase; }

/* ---------- Section shell ---------- */
section{ padding:104px 0; }
.section-head{ max-width:680px; margin-bottom:56px; }
.section-tag{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--steel); margin-bottom:14px; }
.section-head h2{ font-size:clamp(1.7rem,2.8vw,2.4rem); color:var(--graphite); }
.section-head p{ color:var(--steel); max-width:58ch; font-size:1.02rem; }

/* ---------- Tabs (shared: About + Contact) — PURE CSS, no JS required ---------- */
.tab-radio{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.tabs .tab-list{ display:flex; gap:0; border-bottom:1px solid var(--hairline); margin-bottom:44px; flex-wrap:wrap; }
.tabs.tabs-dark .tab-list{ border-bottom-color:var(--hairline-dark); }
.tab-btn{
  display:inline-block; cursor:pointer; user-select:none;
  font-family:var(--font-mono); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;
  padding:15px 0; margin-right:44px; color:var(--cool-gray); position:relative;
}
.tab-btn:hover{ color:var(--steel); }
.tabs.tabs-dark .tab-btn{ color:#8f96a0; }
.tab-panel{ display:none; }

/* About tabs wiring */
#tab-who:checked ~ .tab-panels #panel-who,
#tab-what:checked ~ .tab-panels #panel-what,
#tab-buyer:checked ~ .tab-panels #panel-buyer,
#tab-supplier:checked ~ .tab-panels #panel-supplier{ display:block; }

#tab-who:checked ~ .tab-list label[for="tab-who"],
#tab-what:checked ~ .tab-list label[for="tab-what"],
#tab-buyer:checked ~ .tab-list label[for="tab-buyer"],
#tab-supplier:checked ~ .tab-list label[for="tab-supplier"]{ color:var(--graphite); font-weight:600; }
.tabs.tabs-dark #tab-buyer:checked ~ .tab-list label[for="tab-buyer"],
.tabs.tabs-dark #tab-supplier:checked ~ .tab-list label[for="tab-supplier"]{ color:#fff; }

#tab-who:checked ~ .tab-list label[for="tab-who"]::after,
#tab-what:checked ~ .tab-list label[for="tab-what"]::after,
#tab-buyer:checked ~ .tab-list label[for="tab-buyer"]::after,
#tab-supplier:checked ~ .tab-list label[for="tab-supplier"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--amber);
}

/* Choice buttons — used for the buyer/supplier picker in Contact.
   Overrides the thin underlined-tab look with two big clickable cards. */
.choice-list{
  border-bottom:none; margin-bottom:40px; gap:14px;
  display:grid; grid-template-columns:1fr 1fr;
}
.tabs.tabs-dark .tab-btn.choice-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-body); font-size:1rem; font-weight:600; letter-spacing:normal; text-transform:none;
  color:#fff; margin-right:0; padding:22px 20px;
  border:1px solid var(--hairline-dark); background:rgba(244,245,247,.03);
  text-align:center; transition:border-color .15s ease, background .15s ease;
}
.tabs.tabs-dark .tab-btn.choice-btn:hover{ border-color:rgba(255,255,255,.4); background:rgba(244,245,247,.07); }
.tabs.tabs-dark .tab-btn.choice-btn span{ font-family:var(--font-mono); font-size:.9rem; margin-left:8px; }
#tab-buyer:checked ~ .choice-list label.choice-btn[for="tab-buyer"],
#tab-supplier:checked ~ .choice-list label.choice-btn[for="tab-supplier"]{
  background:var(--amber); border-color:var(--amber); color:var(--graphite);
}
#tab-buyer:checked ~ .choice-list label.choice-btn[for="tab-buyer"]::after,
#tab-supplier:checked ~ .choice-list label.choice-btn[for="tab-supplier"]::after{
  display:none;
}

/* About tabs content */
.about-grid{ display:grid; grid-template-columns:1.3fr .7fr; gap:64px; align-items:start; }
.about-copy p{ color:var(--steel); font-size:1.03rem; max-width:60ch; }
.about-copy h3{ font-family:var(--font-body); font-size:1.04rem; margin:30px 0 10px; color:var(--graphite); }
.about-figure{ border:1px solid var(--hairline); padding:30px; background:var(--white-cold); border-radius:var(--radius); box-shadow:0 1px 3px rgba(28,30,33,.04); }
.about-figure .fig-num{ font-family:var(--font-mono); color:var(--amber); font-size:1.7rem; font-weight:600; }
.about-figure .fig-label{ font-family:var(--font-mono); font-size:.7rem; color:var(--steel); text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }
.about-figure ul{ list-style:none; margin:24px 0 0; padding:20px 0 0; border-top:1px solid var(--hairline); display:flex; flex-direction:column; gap:14px; }
.about-figure li{ font-size:.87rem; color:var(--steel); display:flex; gap:14px; line-height:1.5; }
.about-figure li b{ color:var(--graphite); font-weight:600; flex:0 0 128px; }

/* ---------- Facility photos (real-estate for plant photography) ---------- */
.facility{ background:#fff; padding-bottom:110px; }
.facility-grid{ display:grid; grid-template-columns:1.5fr 1fr; grid-template-rows:repeat(3,1fr); gap:2px; height:560px; }
.facility-grid .ph-lg{ grid-row:1 / span 3; }
.plant-photo{ min-height:180px; }
.plant-photo{
  position:relative; overflow:hidden; background-color:#2A2E33;
  background-image:
    linear-gradient(160deg, #2A2E33 0%, #1C1E21 100%),
    linear-gradient(var(--hairline-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-dark) 1px, transparent 1px);
  background-size:auto, 34px 34px, 34px 34px;
  background-repeat:no-repeat, repeat, repeat;
}
/* Real photos: just upload files with these exact names to assets/plants/ —
   nothing else to edit. If a file is missing, the technical pattern above
   shows through automatically (no broken-image icon). */
.facility-grid > div:nth-child(1){ background-image:url('/assets/CNC_Machining.png'), linear-gradient(160deg, #2A2E33 0%, #1C1E21 100%); background-size:cover, auto; background-position:center; }
.facility-grid > div:nth-child(2){ background-image:url('/assets/Dimensional_Inspection.jpeg'), linear-gradient(160deg, #2A2E33 0%, #1C1E21 100%); background-size:cover, auto; background-position:center; }
.facility-grid > div:nth-child(3){ background-image:url('/assets/Tooling_Assembly.jpeg'), linear-gradient(160deg, #2A2E33 0%, #1C1E21 100%); background-size:cover, auto; background-position:center; }
.facility-grid > div:nth-child(4){ background-image:url('/assets/Finished_Parts.jpeg'), linear-gradient(160deg, #2A2E33 0%, #1C1E21 100%); background-size:cover, auto; background-position:center; }
.plant-photo .cap{
  position:absolute; left:18px; bottom:16px; z-index:1;
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background:rgba(28,30,33,.55); padding:6px 10px;
}
.plant-photo .placeholder-mark{
  position:relative; z-index:0; display:flex; align-items:center; justify-content:center;
  min-height:180px;
  color:rgba(244,245,247,.22); font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  text-align:center; padding:20px;
}

/* ---------- Problem (seamed grid) ---------- */
.problem{ background:var(--white-cold); text-transform:uppercase; }
.seam-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  border:1px solid var(--hairline);
  background:var(--hairline);
  gap:1px;
  border-radius:var(--radius);
  overflow:hidden;
}
.seam-grid > *{ background:#fff; padding:36px 32px; }
.problem .seam-grid{ border-color:var(--danger-line); background:var(--danger-line); border-radius:var(--radius); overflow:hidden; }
.problem .seam-grid > *{ background:var(--danger-bg); border-top:3px solid var(--danger); }
.problem-card .icon{ width:22px; height:22px; color:var(--danger); margin-bottom:14px; }
.problem-card .figure{ font-family:var(--font-mono); font-size:1.9rem; color:var(--danger); font-weight:600; margin-bottom:10px; }
.problem-card h3{ font-family:var(--font-body); font-size:1.02rem; color:var(--graphite); margin-bottom:8px; }
.problem-card p{ color:var(--steel); font-size:.92rem; margin:0; }

/* ---------- Industries ---------- */
.industries{ background:#fff; }
.industries .seam-grid{ grid-template-columns:repeat(4,1fr); border-color:var(--hairline); background:var(--hairline); }
.industry-card .icon{ width:32px; height:32px; margin-bottom:20px; color:var(--amber); }
.industry-card .icon svg{ width:32px; height:32px; display:block; }
.industry-card h3{ font-family:var(--font-body); font-size:.98rem; color:var(--graphite); margin-bottom:8px; }
.industry-card p{ color:var(--steel); font-size:.86rem; margin:0; }

/* ---------- How it works ---------- */
.how{ background:var(--white-cold); }
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.steps::before{ content:""; position:absolute; top:26px; left:4%; right:4%; height:1px; background:var(--hairline); }
.step{ position:relative; padding-right:22px; }
.step .step-num{ font-family:var(--font-mono); font-size:1.6rem; color:var(--amber); font-weight:600; background:var(--white-cold); display:inline-block; padding-right:10px; position:relative; z-index:1; }
.step h3{ font-family:var(--font-body); font-size:1.02rem; margin:20px 0 8px; color:var(--graphite); }
.step p{ font-size:.9rem; color:var(--steel); margin:0; }

/* ---------- Differentiator ---------- */
.diff{ background:var(--steel); color:#fff; }
.diff .wrap{ max-width:920px; text-align:center; }
.diff blockquote{ font-family:var(--font-display); font-size:clamp(1.4rem,2.9vw,2.1rem); line-height:1.4; margin:0 0 26px; font-weight:500; text-transform:uppercase; }
.diff .attribution{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.1em; color:rgba(255,255,255,.65); text-transform:uppercase; margin-bottom:56px; }
.compare-strip{ display:flex; border-top:1px solid rgba(255,255,255,.18); text-align:left; }
.compare-strip > div{ flex:1; padding:26px 28px 4px; border-left:1px solid rgba(255,255,255,.18); }
.compare-strip > div:first-child{ border-left:none; }
.compare-strip h4{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; margin:0 0 10px; color:var(--amber); }
.compare-strip p{ font-size:.88rem; color:rgba(255,255,255,.82); margin:0; }

/* ---------- Audience banner (join suppliers / find suppliers) ---------- */
/* audience-banner removed — no longer used */

/* ---------- Contact ---------- */
.contact{ background:var(--graphite); color:#fff; }
.contact .section-head{ max-width:680px; }
.contact .section-head h2{ color:#fff; }
.contact .section-head p{ color:#C7CBD1; }
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:start; }
.contact-copy p{ color:#C7CBD1; font-size:.96rem; }
.contact-copy ul{ list-style:none; margin:22px 0 0; padding:0; display:flex; flex-direction:column; gap:13px; }
.contact-copy li{ font-size:.89rem; color:#C7CBD1; padding-left:18px; position:relative; }
.contact-copy li::before{ content:""; position:absolute; left:0; top:7px; width:7px; height:7px; background:var(--amber); }
.calendly-shell{ background:#fff; overflow:hidden; border-radius:var(--radius); }
.calendly-inline-widget{ min-width:280px; height:640px; }
.calendly-fallback{ padding:56px 24px; text-align:center; color:var(--graphite); }
.calendly-fallback .btn-primary{ margin-top:18px; }
.supplier-panel{ background:rgba(244,245,247,.04); border:1px solid var(--hairline-dark); padding:34px; border-radius:var(--radius); }
.supplier-panel h3{ font-family:var(--font-body); font-size:1.06rem; color:#fff; margin-bottom:16px; }
.supplier-panel ol{ margin:0 0 28px; padding-left:20px; color:#C7CBD1; font-size:.89rem; display:flex; flex-direction:column; gap:11px; }
.supplier-panel ol li::marker{ font-family:var(--font-mono); color:var(--amber); }

/* ---------- Lead form (Contact) ---------- */
.lead-form{ display:grid; grid-template-columns:1fr 1fr; gap:22px 20px; }
.lead-form .field-full{ grid-column:1 / -1; }
.lead-form label{ display:block; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--cool-gray); margin-bottom:9px; }
.lead-form input,
.lead-form select,
.lead-form textarea{
  width:100%; background:rgba(244,245,247,.055); border:1px solid var(--hairline-dark);
  color:#fff; font-family:var(--font-body); font-size:.94rem; padding:13px 16px;
  border-radius:var(--radius); appearance:none; -webkit-appearance:none;
}
.lead-form select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8F98' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px;
}
.lead-form select option{ background:var(--graphite); color:#fff; }
.lead-form textarea{ resize:vertical; min-height:90px; font-family:var(--font-body); }
.lead-form input::placeholder, .lead-form textarea::placeholder{ color:var(--cool-gray); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus{ outline:none; border-color:var(--amber); }
.lead-form .btn-primary{ grid-column:1 / -1; border:none; cursor:pointer; margin-top:6px; width:100%; }
.lead-form .form-note{ grid-column:1 / -1; font-size:.78rem; color:var(--cool-gray); margin:-8px 0 0; }
.lead-form input[type="text"][name="_honey"]{ display:none !important; }

/* ---------- Audience switch (small secondary CTA to the other language/persona) ---------- */
.audience-switch{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.04em; text-transform:uppercase;
  color:var(--steel); text-decoration:none; border:1px solid var(--hairline); padding:8px 14px;
  white-space:nowrap; border-radius:var(--radius);
}
.audience-switch:hover{ border-color:var(--steel); color:var(--graphite); }
.audience-switch-dark{ color:#C7CBD1; border-color:var(--hairline-dark); }
.audience-switch-dark:hover{ border-color:rgba(255,255,255,.4); color:#fff; }

/* ---------- Thank-you / scheduling page ---------- */
.ty-hero{ background:var(--graphite); color:#fff; padding:90px 0 70px; text-align:center; }
.ty-hero .check{ width:44px; height:44px; margin:0 auto 24px; color:var(--amber); }
.ty-hero h1{ color:#fff; font-size:clamp(1.8rem,3.4vw,2.6rem); max-width:20ch; margin:0 auto 16px; }
.ty-hero p{ color:#C7CBD1; max-width:52ch; margin:0 auto; text-align:center; font-size:1.02rem; }
.ty-calendly{ padding:70px 0 100px; background:var(--white-cold); }
.ty-calendly .calendly-shell{ max-width:820px; margin:0 auto; box-shadow:0 20px 60px rgba(0,0,0,.12); }

/* ---------- Footer ---------- */
/* ---------- Scroll-triggered popup ---------- */
.scroll-popup{
  position:fixed; right:20px; bottom:20px; z-index:200; max-width:340px;
  background:var(--graphite); color:#fff; border:1px solid var(--hairline-dark);
  border-radius:var(--radius); padding:24px 22px; box-shadow:0 24px 60px rgba(0,0,0,.4);
  opacity:0; transform:translateY(16px); pointer-events:none; transition:opacity .3s ease, transform .3s ease;
}
.scroll-popup.visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
.scroll-popup .popup-close{
  position:absolute; top:8px; right:10px; background:none; border:none; color:#8f96a0;
  font-size:1.3rem; line-height:1; cursor:pointer; padding:6px;
}
.scroll-popup .popup-close:hover{ color:#fff; }
.scroll-popup .popup-eyebrow{
  font-family:var(--font-mono); font-size:.64rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--amber); margin:0 0 8px;
}
.scroll-popup h3{ font-family:var(--font-display); font-size:1.08rem; line-height:1.3; margin:0 0 16px; color:#fff; }
.scroll-popup .popup-cta{ width:100%; justify-content:center; font-size:.78rem; padding:12px 18px; }

footer{ background:var(--gray-light); border-top:1px solid var(--hairline); }
footer .wrap{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:26px 28px; min-height:64px; }
footer .f-brand{ display:flex; align-items:center; gap:10px; }
footer .f-brand svg{ width:20px; height:20px; flex:none; }
footer .f-links{ display:flex; gap:24px; align-items:center; font-size:.85rem; color:var(--steel); flex-wrap:wrap; }
footer .f-links a{ margin-right:24px; }
footer .f-links a:last-child{ margin-right:0; }
footer .f-links a{ text-decoration:none; color:var(--steel); }
footer .f-links a:hover{ color:var(--graphite); }
footer .f-lang{ font-family:var(--font-mono); font-size:.78rem; margin-left:8px; }
footer .f-lang a{ text-decoration:none; color:var(--cool-gray); margin-left:6px; }
footer .f-lang a[aria-current="true"]{ color:var(--graphite); font-weight:600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .primary-nav{ display:none; }
  .about-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .seam-grid{ grid-template-columns:1fr 1fr !important; }
  .steps{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .steps::before{ display:none; }
  .stat-grid{ grid-template-columns:1fr; }
  .stat-grid > div::after{ display:none; }
  .stat-grid > div{ padding:14px 0; border-top:1px solid var(--hairline); }
  .stat-grid > div:first-child{ border-top:none; }
  .compare-strip{ flex-direction:column; }
  .compare-strip > div{ border-left:none; border-top:1px solid rgba(255,255,255,.18); padding:22px 0; }
  .compare-strip > div:first-child{ border-top:none; }
  .hero h1{ font-size:clamp(2rem,5vw,3rem); }
  .hero-specs{ grid-template-columns:1fr 1fr; row-gap:28px; }
  .hero-specs > div{ border-left:none; padding-left:0; }
  .facility-grid{ grid-template-columns:1fr; grid-template-rows:auto; height:auto; }
  .facility-grid .ph-lg{ grid-column:1; grid-row:auto; height:280px; }
  .facility-grid > div:not(.ph-lg){ height:200px; }
}

@media (max-width: 680px){
  .trust-banner{ padding:16px 0; }
  .trust-banner p{ font-size:.72rem; line-height:1.5; }
  .specs-bar{ padding:36px 0; }
  /* Typography: the biggest source of "too large" text on phones is the
     clamp() minimums, which don't shrink below their floor on narrow
     viewports. Override the floors directly here. */
  .wrap{ padding:0 24px; }
  section{ padding:52px 0; }
  .section-head{ margin-bottom:32px; }
  .seam-grid > *{ padding:26px 22px; }
  .problem-card .figure{ font-size:1.5rem; }
  .problem-card h3, .industry-card h3{ font-size:.94rem; }
  .problem-card p, .industry-card p{ font-size:.86rem; }
  .step h3{ font-size:.92rem; }
  .step p{ font-size:.84rem; }
  .plant-photo .cap{ font-size:.62rem; padding:5px 9px; }
  .section-head h2{ font-size:1.32rem; line-height:1.28; }
  .section-head p{ font-size:.9rem; line-height:1.6; }

  .site-header .wrap{ height:60px; }
  .brand-mark svg{ width:22px; height:22px; }
  .brand-mark .wordmark{ font-size:.86rem; }
  .brand-mark .wordmark small{ display:none; }
  .header-right{ gap:10px; }
  .lang-switch{ font-size:.68rem; }
  .audience-switch{ font-size:.6rem; padding:6px 9px; letter-spacing:.02em; }

  .hero{ padding:0; }
  .slide-content{ padding-top:88px; padding-bottom:64px; }
  .eyebrow{ font-size:.62rem; line-height:1.5; margin-bottom:14px; letter-spacing:.1em; }
  .hero h1{ font-size:1.62rem; line-height:1.22; max-width:none; letter-spacing:-.005em; }
  .hero .sub{ font-size:.9rem; line-height:1.6; margin:14px 0 22px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; gap:10px; }
  .hero-ctas .btn{ width:100%; justify-content:center; text-align:center; }
  .hero-specs{ grid-template-columns:1fr; margin-top:32px; row-gap:16px; }
  .hero-specs .k{ font-size:.66rem; }
  .hero-specs .v{ font-size:.82rem; line-height:1.55; }

  .btn{ padding:13px 20px; font-size:.82rem; }

  .stat-bar{ padding:24px 0; }
  .stat-grid .num{ font-size:1.15rem; }
  .stat-grid .label{ font-size:.66rem; }

  .tab-btn{ margin-right:22px; font-size:.68rem; }
  .about-copy p{ font-size:.92rem; line-height:1.6; }
  .about-figure{ padding:20px; }
  .about-figure li{ flex-direction:column; gap:4px; }
  .about-figure li b{ flex:none; }
  .about-figure li{ font-size:.84rem; }

  .diff blockquote{ font-size:1.08rem; line-height:1.45; }
  .diff .attribution{ margin-bottom:32px; }
  .compare-strip p{ font-size:.84rem; }

  .contact .section-head p{ font-size:.9rem; }
  .choice-list{ grid-template-columns:1fr; }
  .tabs.tabs-dark .tab-btn.choice-btn{ padding:18px 16px; font-size:.94rem; }
  .lead-form{ grid-template-columns:1fr; gap:16px; }
  .ty-hero{ padding:56px 0 44px; }
  .ty-calendly{ padding:40px 0 60px; }
}

@media (max-width: 560px){
  .seam-grid{ grid-template-columns:1fr !important; }
  .steps{ grid-template-columns:1fr; }
  .nav-cta{ display:none; }
  .facility-grid{ grid-template-columns:1fr; }
  .facility-grid .ph-lg{ grid-column:1; height:220px; }
  .facility-grid > div:not(.ph-lg){ height:180px; }
  .scroll-popup{ left:16px; right:16px; bottom:16px; max-width:none; padding:20px; }
}

@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
