/* =====================================================================
   Almetco Recycling — Design System
   Rebuilt with design tokens, an industrial type pairing, a gold accent,
   and a consistent inline-SVG icon system (no emoji).
   ===================================================================== */

/* ---- Tokens ---- */
:root {
  /* Brand — matched to the Almetco green logo */
  --navy: #0c3a16;      /* deep forest green (dark backgrounds) */
  --navy-2: #124f20;
  --blue: #15803c;      /* primary green — buttons, links, headings accents */
  --blue-600: #0f5f2c;  /* darker green — hover, small text on white */
  --blue-100: #e4f6e7;  /* pale green tint — icon tiles */
  --gold: #5cc23a;      /* bright lime accent (from the logo) */
  --gold-600: #46a82a;

  /* Neutrals */
  --ink: #17202e;
  --body: #3b4757;
  --muted: #647084;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;

  /* Type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;

  /* Radius & shadow */
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(16, 32, 60, .06);
  --shadow: 0 10px 30px rgba(16, 32, 60, .10);
  --shadow-lg: 0 20px 50px rgba(16, 32, 60, .16);

  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.hero .eyebrow, .page-head .eyebrow, .cta-band .eyebrow { color: var(--gold); }

/* ---- Icon system (inline SVG inherits currentColor) ---- */
.ic { width: 1.15em; height: 1.15em; display: inline-block; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
.ic-lg { width: 28px; height: 28px; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  min-height: 48px;
  padding: 0 1.6rem;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--gold-600); border-color: var(--gold-600); text-decoration: none; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; }
.btn--blue:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

/* ---- Top bar ---- */
.topbar { background: var(--navy); color: #cdd8ea; font-size: .9rem; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .3rem 1.6rem;
  justify-content: center; align-items: center;
  padding-top: .55rem; padding-bottom: .55rem;
}
.topbar a, .topbar span { color: #dbe4f2; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar .ic { color: var(--gold); }
.topbar .lang { border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-pill); padding: .1rem .7rem; font-weight: 700; color: #fff; }
.topbar .lang:hover { background: rgba(255, 255, 255, .14); }
.topbar .lang .ic { color: var(--gold); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--wrap); margin: 0 auto; padding: .7rem 24px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 58px; height: 58px; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand-word { height: 42px; width: auto; display: block; }
.brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1; display: block; }
.brand small { font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .03em; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--ink); font-weight: 600; font-size: .98rem; padding: .6rem .9rem; border-radius: var(--r-sm); }
.nav-links a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-links .btn { color: var(--ink); margin-left: .4rem; padding: 0 1.2rem; min-height: 44px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .2s; }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(92, 194, 58, .18), transparent 60%),
    linear-gradient(150deg, rgba(8, 26, 18, .93) 0%, rgba(12, 42, 28, .88) 48%, rgba(10, 58, 28, .82) 100%),
    url('../assets/photos/hero-yard.jpg') center 35% / cover no-repeat,
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: #d6e0f0; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.hero-trust span { font-size: .82rem; color: #b9c6dc; text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }

.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; display: flex; align-items: center; gap: .6rem; }
.hero-card h3 .ic { color: var(--gold); }
.hero-card ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.hero-card li { color: #e7eefa; display: flex; align-items: center; gap: .5rem; font-size: .97rem; }
.hero-card li .ic { color: var(--gold); width: 1em; height: 1em; }

/* ---- Sections ---- */
section { padding: clamp(3rem, 6.5vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #cfd9ea; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---- Value / benefits ---- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.8rem; text-align: left; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit .tile {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--blue-100); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.benefit .tile .ic { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: .35rem; }
.benefit p { color: var(--muted); margin: 0; }

/* ---- Split (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); display: block; }
.split .eyebrow { justify-content: flex-start; }
.split ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.split ul li { display: flex; align-items: flex-start; gap: .6rem; color: var(--body); }
.split ul li .ic { color: var(--blue); margin-top: .2rem; flex: none; }

/* ---- Map embed ---- */
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Elfsight reviews widget: reserve space while loading ---- */
.reviews-embed { min-height: 260px; }

/* ---- Team strip ---- */
.team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.team-strip figure { margin: 0; }
.team-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-sm); display: block; }
.team-strip figcaption { margin-top: .6rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.team-strip figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* ---- Cards ---- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { position: relative; }
.card .thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 40, 18, .35), transparent 45%); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--muted); margin: 0; }

/* ---- Materials pills ---- */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 820px; margin: 0 auto; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .55rem 1.15rem; font-weight: 600; font-size: .95rem; color: var(--ink);
  box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: .5rem;
}
.pill .ic { color: var(--gold); width: 1em; height: 1em; }

/* ---- Overlooked finds ---- */
.finds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.find { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.find h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; margin-bottom: .8rem; }
.find h3 .dot { width: 13px; height: 13px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.find ul { list-style: none; margin: 0; padding: 0; }
.find li { position: relative; padding: .28rem 0 .28rem 1.1rem; color: var(--muted); }
.find li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---- CTA band ---- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(92, 194, 58, .26), transparent 60%),
    linear-gradient(120deg, var(--blue) 0%, var(--navy-2) 100%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e0f0; max-width: 52ch; margin: 0 auto 1.6rem; font-size: 1.08rem; }

/* ---- News ---- */
.posts { display: grid; gap: 1.1rem; max-width: 780px; margin: 0 auto; }
.post {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--r); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm);
}
.post time { color: var(--blue-600); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post h3 { margin: .3rem 0 .45rem; }
.post p { margin: 0; color: var(--muted); }

/* ---- Interior page header ---- */
.page-head {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(800px 360px at 70% -30%, rgba(92, 194, 58, .18), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 150%);
}
.page-head::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .4rem; }
.page-head p { color: #d0dbee; margin: 0; font-size: 1.1rem; }

/* ---- Prose ---- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; }
.prose p, .prose li { color: var(--body); }
.prose ul { margin: .6rem 0 1.1rem; padding-left: 1.3rem; }
.prose ul li { margin-bottom: .45rem; }
.prose ul li::marker { color: var(--blue); }
.notice {
  background: #eef8ef; border: 1px solid #bfe3c1; border-left: 4px solid var(--blue);
  border-radius: var(--r-sm); padding: 1rem 1.3rem; margin: 1.5rem 0; color: #235c2c;
}
.notice--warn { background: #fdf1e7; border-color: #f0c48a; border-left-color: #e08a1e; color: #7a4a12; }
.center-cta { text-align: center; margin-top: 2rem; }

/* ---- Forms ---- */
.form-wrap {
  max-width: 660px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-size: .96rem; }
.field .req { color: #cf2e2e; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .9rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #cdd5e0; border-radius: var(--r-sm);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b4; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 74, 173, .16);
}
.field .hint { font-size: .84rem; color: var(--muted); margin: .35rem 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.file-input { padding: .6rem; background: var(--bg-alt); border-style: dashed; cursor: pointer; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f7ec; border: 1px solid #9bd8b1; color: #1c7a3f; }
.form-status.err { display: block; background: #fdecec; border: 1px solid #eaa3a3; color: #b32222; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #aab8ce; padding: 3.2rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; }
.site-footer a { color: #aab8ce; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-mark { width: 48px; height: 48px; background: #fff; border-radius: 10px; padding: 5px; }
.footer-word { height: 44px; width: auto; }
.footer-brand b { font-family: var(--font-display); color: #fff; font-size: 1.2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; display: flex; align-items: flex-start; gap: .55rem; }
.footer-links .ic { color: var(--gold); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.4rem; padding-top: 1.3rem; text-align: center; font-size: .86rem; color: #7f8ea6; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .benefits, .grid-3, .grid-2, .finds, .footer-grid, .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .card .thumb img { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .6rem 24px 1.1rem; gap: .15rem; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .9rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { margin: .4rem 0 0; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-word { height: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-card ul { grid-template-columns: 1fr 1fr; }
  .team-strip { grid-template-columns: 1fr 1fr; }

  /* Mobile alignment: center marketing/brand blocks; keep reading blocks left */
  .hero > .wrap > div { text-align: center; }
  .hero .eyebrow, .hero-cta, .hero-trust { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-trust { gap: 1.2rem 1.8rem; }
  .hero-trust div { align-items: center; }

  .split > div { text-align: center; }
  .split .eyebrow, .split .hero-cta { justify-content: center; }
  .split ul { display: inline-grid; text-align: left; margin: 1.2rem auto 0; }

  .benefit { text-align: center; }
  .benefit .tile { margin-left: auto; margin-right: auto; }

  .site-footer { text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links li { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
