/* ===================================================================
   Northcat Recycling — styles
   Palette: deep forest green + warm metallic gold accents
   =================================================================== */

:root {
  --green-900: #0b3d2e;
  --green-800: #0f5132;
  --green-700: #14663f;
  --green-600: #1c7a4d;
  --green-500: #2e9c66;
  --green-100: #e7f4ec;
  --green-050: #f2f9f5;

  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e2b84a;

  --ink-900: #10201a;
  --ink-700: #2b3a33;
  --ink-500: #566860;
  --ink-300: #8a9a92;

  --paper: #ffffff;
  --paper-2: #f6faf7;
  --line: #e2ebe5;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 61, 46, .08), 0 1px 2px rgba(11, 61, 46, .04);
  --shadow-md: 0 10px 30px rgba(11, 61, 46, .10);
  --shadow-lg: 0 24px 60px rgba(11, 61, 46, .16);

  --container: 1160px;
  --header-h: 74px;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Manrope", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.15; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #d9ebe1; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-lead { color: var(--ink-500); font-size: 1.08rem; }
.section-head-light h2 { color: #fff; }
.section-head-light .section-lead { color: #b9d4c6; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  color: #fff; box-shadow: var(--shadow-sm); flex: none; overflow: hidden;
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-size: 1.18rem; color: var(--ink-900); letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--green-700); background: var(--green-050); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { height: 2.5px; width: 100%; background: var(--ink-900); border-radius: 3px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(46,156,102,.28), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(212,160,23,.16), transparent 55%),
    linear-gradient(155deg, #06281d 0%, #0b3d2e 45%, #0f5132 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero-inner { max-width: 780px; color: #eaf5ee; }
.hero .eyebrow { color: var(--gold-400); }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; letter-spacing: -.02em;
  margin-bottom: 22px; font-weight: 800;
}
.hero-title span { color: var(--gold-400); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #c8ded2; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .9rem; color: #a9c6b8; margin-top: 6px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px;
  background: #fff; transform: translateX(-50%); animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 12px); } }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700); margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: .98rem; }

/* Editable placeholder (Environment Agency reg. no., etc.) */
.ea-reg {
  font-style: normal; font-weight: 600; color: var(--green-700);
  background: var(--green-050); padding: 1px 7px; border-radius: 6px;
  border: 1px dashed var(--green-100); white-space: nowrap;
}
.footer-bottom .ea-reg { color: var(--gold-400); background: rgba(226,184,74,.08); border-color: rgba(226,184,74,.28); }

/* ---------- Live prices ---------- */
.prices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.price-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.price-metal { display: flex; align-items: center; gap: 10px; }
.price-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(0,0,0,.03); }
.price-metal h3 { font-size: 1.12rem; }
.price-metal .price-sym { font-size: .76rem; color: var(--ink-300); font-family: var(--font-head); letter-spacing: .08em; }
.price-change {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.price-change.up { color: var(--green-700); background: var(--green-050); }
.price-change.down { color: #9b2226; background: #fdecec; }
.price-change.flat { color: var(--ink-500); background: var(--paper-2); }
.price-value { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--ink-900); line-height: 1.1; }
.price-unit { font-size: .82rem; color: var(--ink-300); font-weight: 500; margin-left: 4px; }
.price-spark { margin-top: 16px; width: 100%; height: 56px; display: block; overflow: visible; }
.price-card.is-loading { position: relative; min-height: 168px; }
.price-card.is-loading::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(100deg, transparent 20%, rgba(46,156,102,.06) 40%, transparent 60%);
  background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.prices-meta {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 20px;
  font-size: .86rem; color: var(--ink-500);
}
.prices-meta #pricesStatus { font-weight: 600; }
.prices-disclaimer { color: var(--ink-300); }
.prices-note { text-align: center; color: var(--ink-500); }
.prices-badge { font-family: var(--font-head); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); background: rgba(226,184,74,.14); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about-media {
  position: relative; min-height: 420px; border-radius: var(--radius);
  background-color: var(--green-800);
  /* Top layer = dark overlay (keeps the badge readable). Second layer = the
     About photo (assets/aboutus.jpg). If the photo is missing, the gold + green
     gradients below show instead. */
  background-image:
    linear-gradient(160deg, rgba(6,40,29,.32), rgba(6,40,29,.60)),
    url("assets/aboutus.jpg"),
    radial-gradient(600px 300px at 30% 20%, rgba(212,160,23,.25), transparent 60%),
    linear-gradient(150deg, var(--green-700), var(--green-900));
  background-size: cover, cover, auto, auto;
  background-position: center, center, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-badge {
  position: absolute; left: 26px; bottom: 26px; background: rgba(255,255,255,.95);
  padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.1;
}
.about-badge strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-800); }
.about-badge span { color: var(--ink-500); font-size: .9rem; }

.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.about-copy p { color: var(--ink-500); margin-bottom: 16px; }
.tick-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink-700); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314663f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(150deg, var(--gold-500), var(--gold-600)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: .96rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -14px; width: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* ---------- Why us features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(4px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(226,184,74,.4); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(226,184,74,.16); color: var(--gold-400); margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: #b9d4c6; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

.contact-list { margin: 30px 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700);
}
.contact-ic svg { width: 24px; height: 24px; }
.contact-list strong { font-family: var(--font-head); color: var(--ink-900); display: block; margin-bottom: 2px; }
.contact-list p { color: var(--ink-500); font-size: .98rem; }
.contact-list a { color: var(--green-700); font-weight: 600; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); flex: 1 1 auto; min-height: 260px; margin-top: auto; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(46,156,102,.14);
}
.form-note { margin-top: 14px; font-size: .84rem; color: var(--ink-300); text-align: center; }

.field .opt { font-weight: 400; color: var(--ink-300); font-size: .82em; }
.field-hint { margin-top: 6px; font-size: .82rem; color: var(--ink-300); }

/* Honeypot — visually hidden but present in the DOM for bots */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.field-human { max-width: 220px; }
.field-human strong { color: var(--green-700); }

.consent {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px;
  font-size: .9rem; color: var(--ink-500); cursor: pointer;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green-600); flex: none; }

.form-status {
  margin-top: 14px; font-size: .92rem; text-align: center; min-height: 1.2em;
  border-radius: var(--radius-sm); padding: 0; transition: padding .2s ease;
}
.form-status.is-success { color: var(--green-800); background: var(--green-050); border: 1px solid var(--green-100); padding: 12px 14px; }
.form-status.is-error { color: #9b2226; background: #fdecec; border: 1px solid #f6c9c9; padding: 12px 14px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #b8c7bf; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 66px 24px 46px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: var(--gold-400); }
.footer-brand p { margin-top: 16px; font-size: .95rem; max-width: 320px; color: #93a89f; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .95rem; color: #b8c7bf; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col address { font-style: normal; font-size: .95rem; line-height: 1.8; color: #93a89f; }
.footer-col address a { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { font-size: .85rem; color: #7c928a; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .cards, .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { min-height: 300px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
    padding: 16px 20px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    visibility: hidden;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 13px 14px; border-radius: var(--radius-sm); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 18px; }
  .cards, .steps, .features, .prices-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 14px 24px; }
  .contact-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; }
}
