/* MOSHE 3000 USA — B2B site
   Tokens: Ink #14181D · Concrete #F5F4F1 · Moshe Red #E2231A · Steel #8C959F · Signal #FFD469 */

:root {
  --ink: #14181d;
  --ink-2: #1e242b;
  --concrete: #f5f4f1;
  --white: #ffffff;
  --red: #e2231a;
  --red-dark: #b81b13;
  --steel: #8c959f;
  --steel-light: #d7d9dc;
  --signal: #ffd469;
  --font-display: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow.on-dark { color: var(--signal); }
.eyebrow.on-dark::before { background: var(--signal); }

.lead { font-size: 1.12rem; color: #3d454e; max-width: 62ch; }
.on-dark .lead, .lead.on-dark { color: #b9c0c7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 28px;
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: #aeb6bd;
  font-size: 0.78rem; padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar strong { color: var(--white); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--steel-light);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--red); }
.nav .btn { padding: 12px 20px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.38;
}
/* Ken Burns slideshow: layers crossfade while slowly zooming */
.hero-layer {
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  will-change: transform, opacity;
}
.hero-layer.active { opacity: 0.38; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, 1%); }
}
.hero-layer.active.kb { animation: kenburns 9s ease-in-out both; }
.hero-layer.active.kb.alt { animation-name: kenburnsAlt; }
@keyframes kenburnsAlt {
  from { transform: scale(1.12) translate(1.5%, -1%); }
  to   { transform: scale(1) translate(0, 0); }
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 110px 0 90px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: center;
}
.hero h1 .accent { color: var(--red); }
.hero .lead { margin: 22px 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Penetration-depth diagram (signature) */
.depth-diagram {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(20,24,29,0.65);
  padding: 26px;
  backdrop-filter: blur(4px);
}
.depth-diagram .dd-title {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal);
  margin-bottom: 18px;
}
.dd-layer { position: relative; padding: 12px 14px 12px 66px; border-left: 2px solid rgba(255,255,255,0.25); }
.dd-layer + .dd-layer { margin-top: 2px; }
.dd-depth {
  position: absolute; left: 10px; top: 12px;
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  color: var(--steel);
}
.dd-layer h4 { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dd-layer p { font-size: 0.8rem; color: #aeb6bd; }
.dd-layer.dd-active { border-left-color: var(--red); background: rgba(226,35,26,0.12); }
.dd-layer.dd-active .dd-depth { color: var(--red); }

/* ---------- Stat band ---------- */
.stat-band { background: var(--red); color: var(--white); }
.stat-band .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 34px; padding-bottom: 34px; gap: 24px;
}
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.stat .lbl { font-size: 0.82rem; opacity: 0.9; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-concrete { background: var(--concrete); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Application grid ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  position: relative; min-height: 280px; overflow: hidden;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  color: var(--white);
}
.app-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,29,0) 30%, rgba(20,24,29,0.88) 100%);
  transition: background 0.25s ease;
}
.app-card:hover::after { background: linear-gradient(180deg, rgba(226,35,26,0.15) 0%, rgba(20,24,29,0.92) 100%); }
.app-card-body { position: relative; z-index: 1; padding: 22px; }
.app-card-body .csi { font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.14em; color: var(--signal); text-transform: uppercase; }
.app-card-body h3 { text-transform: uppercase; margin-top: 6px; }
.app-card-body p { font-size: 0.85rem; color: #ccd1d6; margin-top: 4px; }

/* ---------- Product table / cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: var(--white); border: 1px solid var(--steel-light);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.prod-card:hover { border-color: var(--red); transform: translateY(-3px); }
.prod-card .prod-cat {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
}
.prod-card h3 { text-transform: uppercase; }
.prod-card h3 .m { color: var(--red); }
.prod-card p { font-size: 0.9rem; color: #3d454e; flex: 1; }
.prod-links { display: flex; gap: 16px; border-top: 1px solid var(--steel-light); padding-top: 14px; }
.prod-links a {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.prod-links a:hover { color: var(--red); }

/* ---------- Why / feature list ---------- */
.feature-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
.feature { display: flex; gap: 18px; }
.feature-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  color: var(--red); border: 2px solid var(--red);
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 0.94rem; color: #b9c0c7; }
.section-light .feature p { color: #3d454e; }

/* ---------- Certifications ---------- */
.cert-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.cert-row img { height: 64px; width: auto; filter: grayscale(1); opacity: 0.75; transition: all 0.2s; }
.cert-row img:hover { filter: none; opacity: 1; }

/* ---------- Resources ---------- */
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.doc-table th {
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: left; color: var(--steel);
  padding: 12px 16px; border-bottom: 2px solid var(--ink);
}
.doc-table td { padding: 14px 16px; border-bottom: 1px solid var(--steel-light); }
.doc-table tr:hover td { background: var(--concrete); }
.doc-table .doc-dl a {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
  margin-right: 14px;
}
.doc-table .doc-dl a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; }
.cta-band .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta-band .lead { margin: 0 auto 32px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
input, select, textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--steel-light); background: var(--white);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb6bd; font-size: 0.9rem; }
.footer-main {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px; padding: 64px 0 48px;
}
.footer-main h4 {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
  margin-bottom: 16px;
}
.footer-main li { margin-bottom: 9px; }
.footer-main a:hover { color: var(--white); }
.footer-logo img { height: 56px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid #2a323b; padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.78rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 70px 0 60px; }
.page-hero .lead { margin-top: 16px; }

/* ---------- Product packaging images ---------- */
.prod-pack {
  background: var(--white);
  border-bottom: 1px solid var(--steel-light);
  margin: -26px -26px 6px;
  padding: 18px;
  display: flex; align-items: center; justify-content: center;
  height: 190px;
}
.prod-pack img { max-height: 100%; width: auto; object-fit: contain; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.prod-card:hover .prod-pack img { transform: scale(1.06); }
.pd-pack {
  background: var(--white);
  border: 1px solid var(--steel-light);
  display: flex; gap: 16px; align-items: center; justify-content: center;
  padding: 26px; margin-bottom: 20px; min-height: 240px;
}
.pd-pack img { max-height: 230px; max-width: 46%; object-fit: contain; }
.pd-pack img:only-child { max-width: 80%; }
.hero-pack {
  position: absolute; right: 4%; bottom: 0; height: 78%; width: auto; z-index: 1;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45));
  animation: riseIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}
@media (max-width: 900px) { .hero-pack { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-pack { animation: none; } .prod-card:hover .prod-pack img { transform: none; } }

/* ---------- Product detail page ---------- */
.pd-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: start; }
.pd-benefits { display: grid; gap: 18px; margin-top: 28px; }
.pd-benefit { display: flex; gap: 14px; align-items: flex-start; }
.pd-benefit::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 8px;
  background: var(--red);
}
.pd-benefit p { color: #3d454e; }
.pd-benefit strong { color: var(--ink); }
.spec-card { border: 1px solid var(--steel-light); background: var(--white); }
.spec-card .spec-head {
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 14px 20px;
}
.spec-card dl { padding: 8px 20px 16px; }
.spec-card .spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--steel-light); }
.spec-card .spec-row:last-child { border-bottom: 0; }
.spec-card dt {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); padding-top: 3px;
}
.spec-card dd { font-size: 0.9rem; }
.spec-card .spec-docs { padding: 16px 20px; border-top: 2px solid var(--ink); display: flex; gap: 12px; flex-wrap: wrap; }
.uses-list { columns: 2; gap: 40px; margin-top: 24px; }
.uses-list li {
  break-inside: avoid; padding: 10px 0 10px 22px; position: relative;
  border-bottom: 1px solid var(--steel-light); font-size: 0.95rem;
}
.uses-list li::before { content: "//"; position: absolute; left: 0; color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; }
.crumbs { font-size: 0.78rem; color: #aeb6bd; margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 8px; }
.related-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .uses-list { columns: 1; }
  .related-strip { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ----------
   Hidden state only applies when the html.js class is set by an inline script,
   so content is always visible if JavaScript fails, is blocked, or loads late. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); transition-delay: var(--rd, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero entrance sequence ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bgDrift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-bg { animation: bgDrift 2.4s cubic-bezier(0.16,1,0.3,1) both; will-change: transform; }
.hero .eyebrow      { animation: riseIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.10s both; }
.hero h1            { animation: riseIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.22s both; }
.hero .lead         { animation: riseIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.38s both; }
.hero .hero-ctas    { animation: riseIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.52s both; }
.hero .depth-diagram{ animation: riseIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.65s both; }
.page-hero .eyebrow { animation: riseIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.08s both; }
.page-hero h1       { animation: riseIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.18s both; }
.page-hero .lead    { animation: riseIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.32s both; }
.page-hero .crumbs  { animation: riseIn 0.6s cubic-bezier(0.16,1,0.3,1) 0s both; }

/* Water pulse on the active penetration layer (signature) */
@keyframes seep { 0%,100% { box-shadow: inset 3px 0 0 var(--red); } 50% { box-shadow: inset 3px 0 0 var(--red), 0 0 22px rgba(226,35,26,0.35); } }
.dd-layer.dd-active { animation: seep 3.2s ease-in-out 1.6s infinite; }

/* ---------- Hover micro-interactions ---------- */
.btn { transition: all 0.22s cubic-bezier(0.16,1,0.3,1); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.app-card { overflow: hidden; }
.app-card .app-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); will-change: transform;
}
.app-card:hover .app-bg { transform: scale(1.05); }
.app-card .app-card-body { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.app-card:hover .app-card-body { transform: translateY(-4px); }
.prod-card { transition: border-color 0.25s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease; }
.prod-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 14px 34px rgba(20,24,29,0.10); }

/* Header shadow after scroll */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(20,24,29,0.10); }

/* Stat counters */
.stat .num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero .hero-ctas, .hero .depth-diagram,
  .page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .crumbs,
  .dd-layer.dd-active { animation: none; }
  .btn:hover, .app-card:hover .app-bg, .app-card:hover .app-card-body, .prod-card:hover { transform: none; }
}

/* ---------- Topbar: countries dropdown + follow icons ---------- */
.topbar .wrap { align-items: center; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 18px; }
.tb-right a:hover { color: var(--white); }
.tb-dd { position: relative; }
.tb-dd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  color: inherit; font: inherit; padding: 2px 0;
}
.tb-dd-btn:hover { color: var(--white); }
.tb-dd-btn .globe { width: 14px; height: 14px; }
.tb-dd-btn::after { content: "▾"; font-size: 0.7em; }
.tb-dd-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 190px; background: var(--ink-2); border: 1px solid #2a323b;
  padding: 8px 0; box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.tb-dd:hover .tb-dd-menu, .tb-dd:focus-within .tb-dd-menu { display: block; }
.tb-dd-menu a, .tb-dd-menu .soon {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 7px 16px; font-size: 0.8rem; color: #ccd1d6;
}
.tb-dd-menu a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.tb-dd-menu .current { color: var(--white); font-weight: 600; }
.tb-dd-menu .soon { color: #79828c; cursor: default; }
.tb-dd-menu .soon em {
  font-style: normal; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid #3a434d; padding: 1px 6px; color: #8c959f; white-space: nowrap;
}
.tb-follow { display: inline-flex; align-items: center; gap: 10px; }
.tb-follow .lbl { color: inherit; }
.tb-follow a { display: inline-flex; }
.tb-follow svg { width: 15px; height: 15px; fill: currentColor; }
.tb-follow a:hover { color: var(--white); }
@media (max-width: 720px) {
  .tb-follow .lbl { display: none; }
}

/* ---------- Segments carousel ---------- */
.seg-carousel { position: relative; }
.seg-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 6px;
}
.seg-track::-webkit-scrollbar { display: none; }
.seg-track .app-card {
  flex: 0 0 300px; min-height: 340px; scroll-snap-align: start;
}
.seg-nav {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px;
}
.seg-btn {
  width: 46px; height: 46px; border: 2px solid var(--ink); background: transparent;
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.seg-btn:hover { background: var(--ink); color: var(--white); }
.seg-btn:disabled { opacity: 0.3; cursor: default; }
.seg-btn:disabled:hover { background: transparent; color: inherit; }

/* ---------- Products mega-menu (2-level flyout) ---------- */
.nav-item { position: relative; }
.nav-item > a::after { content: " ▾"; font-size: 0.7em; }
.mega {
  display: none; position: absolute; top: 100%; left: -18px; z-index: 70;
  min-width: 320px; background: var(--white);
  border: 1px solid var(--steel-light); border-top: 2px solid var(--red);
  box-shadow: 0 16px 38px rgba(20,24,29,0.14); padding: 8px 0;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
.mega-item { position: relative; }
.mega-fam {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 11px 20px;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.nav .mega a { border-bottom: 0; padding: 0; }
.nav .mega a.mega-fam, .nav .mega .mega-sub a { padding: 11px 20px; display: flex; }
.mega-item > .mega-fam::after { content: "›"; color: var(--steel); font-size: 1em; }
.mega-item > .mega-fam.no-sub::after { content: ""; }
.mega-item:hover > .mega-fam, .mega-item:focus-within > .mega-fam { background: var(--concrete); color: var(--red); }
.mega-sub {
  display: none; position: absolute; left: 100%; top: -9px; z-index: 71;
  min-width: 300px; background: var(--white);
  border: 1px solid var(--steel-light); border-top: 2px solid var(--red);
  box-shadow: 0 16px 38px rgba(20,24,29,0.14); padding: 8px 0;
}
.mega-item:hover > .mega-sub, .mega-item:focus-within > .mega-sub { display: block; }
.nav .mega .mega-sub a {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.nav .mega .mega-sub a:hover { background: var(--concrete); color: var(--red); }
@media (max-width: 720px) {
  .nav-item { width: 100%; }
  .mega { position: static; display: block; border: 0; box-shadow: none; padding: 4px 0 0 14px; min-width: 0; }
  .mega-sub { display: none !important; }
  .mega-item > .mega-fam::after { content: ""; }
  .nav .mega a.mega-fam { padding: 8px 0; }
}

/* ---------- Products page: family tabs ---------- */
.fam-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.fam-tab {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 18px; border: 2px solid var(--ink); background: transparent;
  color: var(--ink); cursor: pointer; transition: all 0.2s ease;
}
.fam-tab:hover { background: var(--concrete); }
.fam-tab.active { background: var(--ink); color: var(--white); }
.fam-section { margin-bottom: 64px; }
.fam-section:last-child { margin-bottom: 0; }
.fam-section.hidden { display: none; }
.fam-section h2 { margin-bottom: 26px; }
.fam-section .fam-desc { max-width: 62ch; color: #3d454e; margin: -14px 0 26px; }

/* ---------- Product page: pack sizes + docs list ---------- */
.pd-pack figure { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.pd-pack figure img { max-height: 200px; }
.pd-pack figcaption {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel);
  border: 1px solid var(--steel-light); padding: 2px 10px;
}
.spec-docs-list { flex-direction: column; gap: 0; padding: 6px 20px 10px; }
.spec-docs-list a {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  padding: 10px 0 10px 18px; border-bottom: 1px solid var(--steel-light);
  position: relative; width: 100%;
}
.spec-docs-list a:last-child { border-bottom: 0; }
.spec-docs-list a::before {
  content: "↓"; position: absolute; left: 0; color: var(--red);
}
.spec-docs-list a:hover { color: var(--red); }

/* ---------- Footer: countries / follow ---------- */
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a { display: inline-flex; color: #aeb6bd; }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-main .soon { color: #5d666f; }
.footer-main .soon em {
  font-style: normal; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid #3a434d; padding: 1px 5px; margin-left: 8px; color: #79828c; white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 60px; }
  .app-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .feature-cols { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--steel-light);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .app-grid, .prod-grid, .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .section { padding: 60px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-main .soon em, .tb-dd-menu .soon em { white-space: normal; }
  .doc-table thead { display: none; }
  .doc-table td { display: block; }
  .doc-table tr { display: block; border-bottom: 2px solid var(--steel-light); padding: 8px 0; }
  .doc-table td { border: 0; padding: 6px 8px; }
}

/* ===== Lançamento EUA (2026-11) ===== */
.view-link { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.prod-sizes { font-size: 0.82rem; color: #5a636d; margin-top: 6px; }
.prod-pack { position: relative; }
.soon-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; }
.prod-card.is-soon .prod-pack img { opacity: 0.55; filter: grayscale(0.6); }
.more-link { margin-top: 28px; text-align: center; }
.more-link a { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; color: var(--red); }
.buy-box { margin-top: 20px; border: 1px solid var(--steel-light); padding: 20px; }
.buy-box p { font-size: 0.9rem; color: #3d454e; }
.buy-box .btn { margin-top: 14px; width: 100%; text-align: center; }
.buy-alt { display: inline-block; margin-top: 10px; font-size: 0.85rem; color: #3d454e; text-decoration: underline; }
.btn.is-soon, .prod-links a.is-soon { opacity: 0.6; pointer-events: none; cursor: default; }
.doc-table .doc-file { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 14px; white-space: nowrap; }
.doc-soon, .doc-file.is-soon { color: #79828c; }
.doc-soon em, .doc-file em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 4px; }
.spec-docs-list .doc-soon { display: block; width: 100%; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--steel-light); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.spec-docs-list .doc-soon:last-child { border-bottom: 0; }
.doc-table tr:target { background: #fff6d6; }
.soon-note { background: var(--ink); color: var(--white); }
.soon-note .wrap { padding-top: 16px; padding-bottom: 16px; }
.soon-note a { color: var(--white); text-decoration: underline; }
.buy-box .btn + .btn { margin-top: 8px; }
.cta-band .hero-ctas .btn.buy-now, .cta-band .hero-ctas .btn[rel~="sponsored"] { min-width: 200px; }
.buy-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.buy-box .btn { justify-content: center; display: flex; }

/* Páginas em construção (Project Types, Where to Use) */
.nav-soon { display: inline-block; margin-left: 6px; padding: 2px 6px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; line-height: 1.3; }
.uc-box { max-width: 680px; text-align: center; margin: 0 auto; }
.uc-box h2 { margin: 8px 0 16px; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
