
/* Reset + base */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color:#1b1d1d;
  background:#fff;
  line-height:1.5;
}
img { max-width:100%; display:block; }

/* Header */
.header {
  position: sticky; top:0; z-index: 50;
  background:#ffffff; /* Always white for contrast as requested */
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav {
  max-width:1200px; margin:0 auto; padding:14px 20px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav__left { display:flex; align-items:center; gap:14px; }
.brand { display:flex; align-items:center; gap:10px; }
.brand img { height:34px; width:auto; }
.nav a {
  text-decoration:none; color:#222; font-weight:600; letter-spacing:.2px;
  padding:8px 10px; border-radius:10px;
}
.nav a:hover { background:rgba(0,0,0,.04); }

/* Dropdown (Products) */
.dropdown { position: relative; }
.dropdown__button { display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.dropdown__panel {
  position:absolute; right:0; top:120%;
  background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
  padding:12px; min-width:260px; display:none;
}
.dropdown__panel a {
  display:flex; align-items:center; gap:8px;
  padding:12px 14px; margin:4px; border-radius:12px;
  font-weight:600;
}
.dropdown__panel a:hover { background:rgba(0,0,0,.06); }
.dropdown:hover .dropdown__panel,
.dropdown:focus-within .dropdown__panel,
.dropdown.open .dropdown__panel { display:block; }

/* Hero */
.hero {
  background: radial-gradient(1200px 300px at 20% 0%, rgba(71,130,118,.18), transparent);
  padding: clamp(40px, 5vw, 80px) 20px 24px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.container { max-width:1200px; margin:0 auto; }
h1.display {
  font-family: "Righteous", Raleway, Arial, sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing:.5px;
  margin:0 0 10px;
}
.lead { color:#576061; font-size:18px; }

.cta-row { display:flex; gap:14px; margin-top:24px; }
.btn {
  border:0; cursor:pointer; font-weight:800; border-radius:999px; padding:14px 20px; text-decoration:none;
}
.btn--primary { background:#3c8c7b; color:#fff; }
.btn--ghost { background:#fff; color:#2c2f2f; border:1px solid rgba(0,0,0,.12); }

/* Sections */
.section { padding:32px 20px; }
.section h2 { font-family:"Righteous", Raleway, Arial, sans-serif; font-size:32px; margin:0 0 18px; }

/* Grids */
.grid { display:grid; gap:18px; }
.grid--spotlight { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } /* smaller cards */
.grid--feed { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.card {
  position:relative; background:#fff; border-radius:16px; overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.12); }
.card__img { aspect-ratio: 4/3; object-fit: cover; width:100%; }
.card__body { padding:12px 14px; }
.card__title { font-weight:800; }
.card__subtitle { color:#6b7374; font-size:13px; }

/* Hover overlay (name/price/lead time) */
.overlay {
  position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:stretch;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.05) 45%, transparent 65%);
  color:#fff; opacity:0; transition: opacity .18s ease;
  padding:14px;
}
.card:hover .overlay { opacity:1; }
.overlay__content { width:100%; }
.overlay__title { font-weight:900; font-size:16px; }
.overlay__meta { font-size:13px; opacity:.95; }

/* Footer */
.footer { border-top:1px solid rgba(0,0,0,.06); padding:24px 20px; }
.social { display:flex; align-items:center; justify-content:center; gap:22px; margin-bottom:8px; }
.social img { width:30px; height:30px; filter: none; transition: transform .12s ease; }
.social img:hover { transform: scale(1.15); }
.copy { text-align:center; color:#616a6b; font-size:14px; }

/* Lightbox styles (from prior step) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.lightbox__caption {
  margin-top: 14px; text-align: center; color: #f5f7f7;
  font-size: 15px; letter-spacing: .2px; opacity: .95;
  max-width: min(92vw, 1200px);
}
.lightbox__close {
  position: absolute; top: 14px; right: 18px;
  width: 42px; height: 42px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.lightbox__close:hover { transform: scale(1.06); background: rgba(255,255,255,.2); }

/* Utility */
.hidden { display:none !important; }
.center { text-align:center; }
