/* ASR Recycler — Infinauralabs build */

:root {
  --green-1: #3DA642;
  --green-2: #1A7A3D;
  --blue-1: #1B5FA8;
  --blue-2: #0D3B6E;
  --navy: #0B2545;
  --white: #ffffff;
  --offwhite: #F4F6F8;
  --ink: #16202B;
  --ink-soft: #4A5A68;
  --border: #E1E6EA;
  --card: #ffffff;
  --bg: #ffffff;
  --bg-alt: var(--offwhite);
  --shadow: 0 4px 18px rgba(11, 37, 69, 0.08);
  --radius: 6px;
  --max: 1200px;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-head: 'Inter', 'Segoe UI', Arial, sans-serif;
}

[data-theme="dark"] {
  --white: #11161C;
  --offwhite: #0B0F14;
  --ink: #EAF0F4;
  --ink-soft: #AEBAC4;
  --border: #232B33;
  --card: #161D24;
  --bg: #0B0F14;
  --bg-alt: #11161C;
  --shadow: 0 4px 22px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 0.5em; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy p { color: #C7D3E0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-2);
  margin-bottom: 10px;
}
[data-theme="dark"] .eyebrow { color: var(--green-1); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--green-1), var(--green-2)); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(26, 122, 61, 0.35); opacity: 0.95; }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; border-color: var(--blue-1); color: var(--blue-1); }
.btn-outline:hover { background: var(--blue-1); color: #fff; }
.btn-whatsapp { background: #1FA855; color: #fff; }
.btn-whatsapp:hover { box-shadow: 0 6px 20px rgba(31, 168, 85, 0.35); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.full-logo { height: 46px; width: auto; }
.brand img.icon-logo { height: 38px; width: auto; display: none; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a.active { color: var(--green-2); }
[data-theme="dark"] .main-nav a.active { color: var(--green-1); }
.main-nav a:hover { color: var(--blue-1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--ink);
}
.icon-btn:hover { border-color: var(--blue-1); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 78vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.92) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(11,37,69,0.92) 0%, rgba(13,59,110,0.82) 45%, rgba(11,37,69,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 90px 0; }
.hero .eyebrow { color: #9CE5A4; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { color: #DCE6EE; font-size: 1.1rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.page-hero {
  position: relative; color: #fff; min-height: 320px; display: flex; align-items: center;
}
.page-hero .hero-content { padding: 60px 0; max-width: 760px; }
.breadcrumb { font-size: 0.85rem; color: #B9CADA; margin-bottom: 10px; }
.breadcrumb a:hover { text-decoration: underline; }

/* USP strip */
.usp-strip { background: var(--navy); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  text-align: center;
  padding: 36px 18px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.usp-item:last-child { border-right: none; }
.usp-icon { font-size: 1.8rem; margin-bottom: 10px; }
.usp-item h4 { color: #fff; margin-bottom: 4px; font-size: 1.02rem; }
.usp-item p { color: #B9CADA; font-size: 0.88rem; margin: 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .card-img { aspect-ratio: 4/3; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 22px; }
.card .card-body h3 { margin-bottom: 8px; }
.card .card-body p { margin-bottom: 0; font-size: 0.93rem; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-1);
  margin-bottom: 8px;
}

/* Material card with link */
.material-card { display: flex; flex-direction: column; height: 100%; }
.material-card .card-img { position: relative; }
.material-card .card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,37,69,0.55), transparent 55%);
}

/* Process steps */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}

/* Divider band */
.divider-band {
  height: 6px;
  background: linear-gradient(90deg, var(--green-1), var(--blue-1));
}

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; }
.trust-strip .trust-item { text-align: center; min-width: 140px; }
.trust-strip .trust-item strong { display: block; font-size: 1.7rem; color: var(--green-2); }
[data-theme="dark"] .trust-strip .trust-item strong { color: var(--green-1); }
.trust-strip .trust-item span { font-size: 0.85rem; color: var(--ink-soft); }

/* CTA banner */
.cta-banner {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
}
.cta-banner .hero-bg { filter: saturate(0.85) brightness(0.7); }
.cta-banner .hero-overlay { background: linear-gradient(135deg, rgba(11,37,69,0.92), rgba(26,122,61,0.85)); }
.cta-banner .cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: #fff; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(11,37,69,0.78);
  color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}

/* Footer */
.site-footer { background: var(--navy); color: #C7D3E0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.9rem; color: #C7D3E0; }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 42px; margin-bottom: 14px; }
.footer-grid p { font-size: 0.9rem; color: #9FB2C4; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #8FA3B7;
}
.footer-bottom a { color: #B9CADA; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1FA855;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 600;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-1);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-1), var(--blue-1));
  color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.map-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  flex-direction: column;
  gap: 8px;
}

/* Scroll fade-in */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Why choose us full sections */
.usp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--border); }
.usp-detail:last-child { border-bottom: none; }
.usp-detail.reverse .usp-media { order: 2; }
.usp-detail.reverse .usp-copy { order: 1; }
.usp-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.usp-number { font-size: 0.85rem; font-weight: 800; color: var(--green-2); letter-spacing: 0.08em; }
[data-theme="dark"] .usp-number { color: var(--green-1); }

/* Materials detail page list */
.material-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.material-row:last-child { border-bottom: none; }
.material-row img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.accept-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.accept-tags span {
  font-size: 0.78rem; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 980px) {
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-detail, .usp-detail.reverse { grid-template-columns: 1fr; }
  .usp-detail.reverse .usp-media, .usp-detail.reverse .usp-copy { order: unset; }
  .material-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .usp-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  body.nav-open .main-nav {
    display: flex; position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; padding: 24px; z-index: 400; overflow-y: auto;
  }
  body.nav-open .main-nav ul { flex-direction: column; gap: 18px; }
  body.nav-open .header-actions .icon-btn.whatsapp-header { display: none; }
}
@media (max-width: 540px) {
  .grid-3, .grid-4, .usp-grid, .gallery-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 50px 1fr; }
  .brand img.full-logo { display: none; }
  .brand img.icon-logo { display: block; }
}
