/* Magazzini Veneti — Demo mockup */
:root {
  --primary: #2d5a43;
  --primary-dark: #234735;
  --primary-soft: #e8f2ec;
  --secondary: #c48b5e;
  --secondary-dark: #a67248;
  --ink: #1e242b;
  --ink-muted: #5a636c;
  --canvas: #faf8f5;
  --paper: #f5f1ea;
  --bone: #eae3d9;
  --white: #ffffff;
  --shadow: 0 2px 8px -2px rgba(30,36,43,.05), 0 1px 3px -1px rgba(30,36,43,.03);
  --shadow-hover: 0 10px 28px -6px rgba(45,90,67,.1), 0 2px 8px -2px rgba(30,36,43,.04);
  --radius: 8px;
  --radius-sm: 4px;
  --max: 1280px;
  --header-h: 72px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, 1360px); margin-inline: auto; }

/* Typography */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0;
}
.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: var(--primary);
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .5rem;
}
.muted { color: var(--ink-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-hover); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: rgba(45,90,67,.08); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: .45rem .85rem; font-size: 12px; }
.btn-block { width: 100%; }

/* Top promo */
.promo-bar {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  text-align: center;
  padding: .4rem 1rem;
}
.promo-bar a { text-decoration: underline; text-underline-offset: 2px; }

/* Header — cleaned layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bone);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: .65rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
}
.brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.header-search {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.header-search input {
  width: 100%;
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: 999px;
  padding: .65rem 1rem .65rem 2.5rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.header-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,67,.12);
}
.header-search .icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-muted);
  transition: background .2s, color .2s;
  position: relative;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.mode-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--bone);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.mode-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: .2s;
}
.mode-toggle button.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.mode-toggle .tag {
  background: var(--secondary);
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: .25rem;
  vertical-align: middle;
}

/* Nav */
.nav-bar {
  border-top: 1px solid var(--bone);
  background: rgba(255,255,255,.65);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 .85rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-extra {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Demo ribbon */
.demo-ribbon {
  background: #fff8e8;
  border-bottom: 1px solid #f0dfb8;
  color: #6b5420;
  font-size: 12px;
  text-align: center;
  padding: .45rem 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a3328;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transform: scale(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,40,30,.88) 0%, rgba(20,40,30,.55) 48%, rgba(20,40,30,.25) 100%),
    linear-gradient(0deg, rgba(20,40,30,.55), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 640px;
  color: #fff;
  animation: rise .7s ease both;
}
.hero-content .eyebrow { color: #f0c9a0; }
.hero-content .display { color: #fff; margin-bottom: 1rem; }
.hero-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--paper); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.section-head p { margin: .4rem 0 0; max-width: 36rem; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.link-more:hover { color: var(--secondary); }

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cat-card .thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper);
}
.cat-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .body { padding: .85rem; }
.cat-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.cat-card span { font-size: 12px; color: var(--ink-muted); }

/* Product cards */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.prod-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.prod-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper);
}
.prod-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.prod-card:hover .thumb img { transform: scale(1.04); }
.pill {
  position: absolute;
  top: .75rem; left: .75rem;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: var(--radius-sm);
}
.pill-accent { background: var(--secondary); color: #fff; }
.prod-card .body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.prod-card .line { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
.prod-card h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--primary); }
.prod-card .desc { margin: 0; font-size: 13px; color: var(--ink-muted); flex: 1; }
.tier-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: .55rem;
  font-size: 11px;
}
.tier-row .col { text-align: center; }
.tier-row .col strong { display: block; font-variant-numeric: tabular-nums; color: var(--ink); }
.tier-row .col.best strong { color: var(--primary); }
.prod-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 1rem;
  gap: .75rem;
}
.price-from { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.price-from strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Dual worlds */
.worlds {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}
.world-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: end;
}
.world-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,40,30,.85), rgba(20,40,30,.2));
}
.world-card .inner {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}
.world-card.tech::after {
  background: linear-gradient(0deg, rgba(22,28,35,.88), rgba(22,28,35,.25));
}

/* Trust / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  font-size: 1.25rem;
}
.feature h3 { margin: 0 0 .35rem; font-size: 15px; }
.feature p { margin: 0; font-size: 13px; color: var(--ink-muted); }

/* B2B band */
.b2b-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.b2b-band h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; margin: 0 0 .4rem; color: #fff; }
.b2b-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 36rem; }

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.stars { color: var(--secondary); letter-spacing: 2px; font-size: 12px; margin-bottom: .5rem; }
.quote p { margin: 0 0 1rem; font-size: 14px; }
.quote cite { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-muted); }

/* Catalog layout */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a:hover { color: var(--primary); }
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.filters {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: sticky;
  top: calc(var(--header-h) + 56px);
}
.filters h2 {
  margin: 0 0 1rem;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.filter-group { margin-bottom: 1.15rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--bone); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-group legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .65rem;
  display: block;
}
.filter-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: .45rem;
  cursor: pointer;
}
.filter-group label:hover { color: var(--ink); }
.filter-group input { accent-color: var(--primary); }
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin-bottom: 1rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--paper);
  border: 1px solid var(--bone);
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: 12px;
  font-weight: 600;
}
.catalog-products { grid-template-columns: repeat(3, 1fr); }

/* Product detail */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bone);
  background: var(--white);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-top: .75rem;
}
.gallery-thumbs button {
  aspect-ratio: 1;
  border: 1px solid var(--bone);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--white);
}
.gallery-thumbs button.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(45,90,67,.2); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-panel { position: sticky; top: calc(var(--header-h) + 64px); }
.rating { font-size: 13px; color: var(--ink-muted); margin: .5rem 0 1rem; }
.rating span { color: var(--secondary); }
.price-block {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.price-block .now {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
}
.price-block .was { color: var(--ink-muted); text-decoration: line-through; }
.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.tier {
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .65rem .4rem;
  text-align: center;
  cursor: pointer;
  transition: .2s;
}
.tier:hover { border-color: var(--primary); }
.tier.active {
  border-color: var(--primary);
  background: rgba(45,90,67,.05);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.tier .qty { font-size: 11px; color: var(--ink-muted); display: block; }
.tier .val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; }
.tier .save { display: block; font-size: 10px; color: var(--secondary); font-weight: 700; margin-top: .15rem; }
.config-block { margin-bottom: 1.15rem; }
.config-block h4 {
  margin: 0 0 .55rem;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.seg button, .seg label {
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .55rem .8rem;
  font-size: 13px;
  cursor: pointer;
}
.seg button.active, .seg label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(45,90,67,.05);
  color: var(--primary);
  font-weight: 600;
}
.seg label input { display: none; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bone);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.qty-control button {
  width: 40px; height: 40px;
  border: 0; background: var(--paper);
  cursor: pointer; font-size: 1.1rem;
}
.qty-control input {
  width: 64px; height: 40px;
  border: 0; text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.summary-box {
  background: var(--paper);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0;
}
.summary-box .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
  font-size: 14px;
}
.summary-box .total {
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid var(--bone);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.pdp-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.tabs { margin-top: 3rem; border-top: 1px solid var(--bone); padding-top: 1.5rem; }
.tab-list { display: flex; gap: .25rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab-list button {
  border: 0;
  background: transparent;
  padding: .65rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.tab-list button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; font-size: 14px; color: var(--ink-muted); max-width: 56rem; }
.tab-panel.active { display: block; }
.tab-panel ul { padding-left: 1.1rem; }

/* Contact / B2B forms */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.field { display: flex; flex-direction: column; gap: .3rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--bone);
  background: var(--canvas);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,67,.12);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}
.stat span { font-size: 12px; color: var(--ink-muted); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}
.faq p { margin: .65rem 0 0; font-size: 14px; color: var(--ink-muted); }

/* Footer */
.site-footer {
  background: #162019;
  color: rgba(255,255,255,.78);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  margin: 0 0 .85rem;
  color: #fff;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: .75rem 0 0; font-size: 14px; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: 12px;
}
.newsletter {
  background: var(--paper);
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 1.5rem 0;
}
.newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter-form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  min-width: 240px;
  border: 1px solid var(--bone);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--ink);
  color: #fff;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: .3s;
  font-size: 14px;
  max-width: min(90vw, 320px);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Mobile */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid, .catalog-products { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .quote-grid, .pillars, .faq-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .mode-toggle { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-bar { display: none; }
  .nav-bar.open { display: block; }
  .nav-row { flex-direction: column; align-items: stretch; padding: .5rem 0 1rem; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { height: auto; padding: .75rem 0; border-bottom: 1px solid var(--bone); }
  .nav-extra { justify-content: flex-start; }
  .header-search { display: none; }
  .header-main { grid-template-columns: 1fr auto; }
  .catalog-layout, .pdp, .split-2, .worlds, .footer-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pdp-panel { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prod-grid, .catalog-products, .feature-grid, .quote-grid, .pillars, .faq-grid { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
  .btn-hide-sm { display: none; }
}
