/* ============================================================
   Recycling Currency Center — storefront styles
   Vanilla CSS. No frameworks, no CDNs. Mobile-first responsive.
   ============================================================ */

:root {
  --bg: #faf6ef;            /* warm cream */
  --bg-soft: #f3ecdd;       /* deeper cream for sections */
  --card: #ffffff;
  --ink: #22303a;           /* dark slate */
  --ink-soft: #4b5a66;
  --muted: #6f7e8a;
  --line: #e6dcc8;
  --accent: #b45309;        /* warm Louisiana amber */
  --accent-dark: #8a3f06;
  --accent-soft: #fdf0dc;
  --gold: #d9a441;
  --green: #2f6f4f;         /* trust green */
  --dark: #1c2833;          /* dark slate for hero/footer */
  --dark-2: #243443;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(34, 48, 58, 0.08);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--dark);
  color: #f5ead6;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}
.announce strong { color: var(--gold); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--accent) 70%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.brand-name { line-height: 1.25; }
.brand-name .t1 { font-weight: 800; font-size: 1.08rem; color: var(--ink); display: block; }
.brand-name .t2 { font-size: 0.78rem; color: var(--muted); display: block; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 13px;
  border-radius: 8px;
}
.nav a:hover { background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.nav a.active { background: var(--dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(217, 164, 65, 0.28), transparent 60%),
    linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 70%, #2c3e4f 100%);
  color: #f7f1e3;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero .kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  max-width: 640px;
  margin-bottom: 18px;
}
.hero h1 .hl { color: var(--gold); }
.hero p.lead {
  font-size: 1.12rem;
  color: #d9d2c0;
  max-width: 560px;
  margin-bottom: 30px;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(180, 83, 9, 0.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(247, 241, 227, 0.45); color: #f7f1e3; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--accent); color: var(--accent-dark); background: #fff; }
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- Trust badges ---------- */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 26px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 24px; height: 24px; stroke: var(--accent-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; font-size: 0.95rem; }
.trust-item span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34, 48, 58, 0.14); text-decoration: none; }
.cat-icon {
  width: 68px; height: 68px; border-radius: 18px;
  background: linear-gradient(140deg, var(--accent-soft), #f6dfb8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.cat-icon svg { width: 36px; height: 36px; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { font-size: 1.15rem; color: var(--ink); }
.cat-card p { font-size: 0.9rem; color: var(--muted); }
.cat-card .soon {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 14px;
  margin-top: 4px;
}
.cat-card .link { font-weight: 700; font-size: 0.95rem; color: var(--accent-dark); }

/* ---------- Split / about teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 14px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.split .badge-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.fact { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: none; }
.fact svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.fact b { display: block; }
.fact span { font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border-radius: 18px;
  padding: 52px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: #fbeed9; max-width: 520px; margin: 0 auto 26px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.6); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-band .btn-light { background: #fff; color: var(--accent-dark); }
.cta-band .btn-light:hover { background: var(--accent-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--dark), var(--dark-2));
  color: #f7f1e3;
  padding: 56px 0;
}
.page-hero .kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: #d9d2c0; max-width: 620px; }
.breadcrumb { font-size: 0.85rem; color: #b9ad93; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); }

/* ---------- Prose / policy ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose .callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--ink);
}
.prose .callout b { color: var(--accent-dark); }

/* ---------- Coming soon block ---------- */
.soon-block {
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: 18px;
  padding: 60px 32px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.soon-block .soon-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.soon-block .soon-icon svg { width: 40px; height: 40px; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soon-block h2 { margin-bottom: 12px; }
.soon-block p { color: var(--ink-soft); margin-bottom: 10px; }
.soon-block .btn-row { justify-content: center; margin-top: 22px; }

/* ---------- Product template ---------- */
.template-note {
  background: #fff7e6;
  border: 1px solid #ecd9a8;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #7a5b13;
  margin-bottom: 28px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.product-media {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.product-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 8px; }
.product-info .sku { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.product-info .price-note {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--ink-soft); font-weight: 600; background: var(--bg-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 620px;
  margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
.contact-card h3 { margin-bottom: 14px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.95rem; }
.contact-row svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-soft); }
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.newsletter h2 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter p { color: var(--ink-soft); max-width: 480px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  min-width: 260px; background: #fff;
}
.news-note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfc7b4; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 56px 20px 36px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-brand .brand-name .t1 { color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.site-footer h4 {
  color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cfc7b4; font-size: 0.93rem; }
.footer-links a:hover { color: var(--gold); }
.footer-addr { font-size: 0.9rem; font-style: normal; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #9a917e;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 20px; }
.error-page .code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split, .product-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .site-header.sticky-mobile { position: sticky; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 26px 20px; }
  .hero { padding: 64px 0 56px; }
  .news-form input { min-width: 0; flex: 1; }
}
