/* ===== RECICLAJES SHOFAR — Verde Industrial ===== */
:root {
  --green:       #16a34a;
  --green-dark:  #15803d;
  --green-deep:  #064e2e;
  --green-soft:  #dcfce7;
  --green-glow:  rgba(22,163,74,0.12);
  --ink:         #0f1f17;
  --slate:       #1c2b23;
  --gray:        #5b6b62;
  --line:        #e4ece7;
  --bg:          #ffffff;
  --bg-alt:      #f4f9f6;
  --radius:      16px;
  --shadow:      0 10px 40px rgba(6,78,46,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Archivo', sans-serif; line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 50px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px var(--green-glow); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 12px 30px rgba(22,163,74,.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-ghost-white { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.22); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(6,78,46,.07); border-color: var(--line); }
.nav-container { width: min(1180px, 92%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: .55rem; font-family: 'Archivo'; font-size: 1.25rem; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-size: 1.3rem; box-shadow: 0 6px 16px var(--green-glow);
}
.logo-text { font-weight: 700; color: var(--ink); }
.logo-text strong { color: var(--green); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--slate); transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff; padding: .6rem 1.3rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(120deg, rgba(6,78,46,.92) 0%, rgba(21,128,61,.82) 45%, rgba(22,163,74,.55) 100%),
    url('https://images.unsplash.com/photo-1611284446314-60a58ac0deb9?q=80&w=1920&auto=format&fit=crop');
  background-size: cover; background-position: center; color: #fff;
  padding: 120px 0 70px;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(22,163,74,.25), transparent 60%); }
.hero-content { position: relative; width: min(1180px, 92%); margin: 0 auto; max-width: 760px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1.1rem; border-radius: 50px; font-size: .82rem; font-weight: 600;
  letter-spacing: .3px; margin-bottom: 1.6rem; backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -1.5px; }
.hero h1 .hl { color: #bbf7d0; }
.hero-sub { font-size: 1.15rem; margin: 1.6rem 0 2.2rem; max-width: 620px; color: rgba(255,255,255,.92); }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; }
.hstat-num { font-family: 'Archivo'; font-size: 2rem; font-weight: 800; color: #bbf7d0; }
.hstat-lbl { font-size: .85rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .5px; }

/* ===== TRUST ===== */
.trust { background: var(--green-deep); color: #fff; padding: 2rem 0; text-align: center; }
.trust-text { font-size: .9rem; opacity: .8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.trust-items { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; font-weight: 600; font-size: 1.05rem; }
.trust-items span { opacity: .92; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; color: var(--green); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; max-width: 700px; }
.section-lead { color: var(--gray); font-size: 1.1rem; max-width: 640px; margin: 1rem 0 3rem; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.9rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.card-icon {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); font-size: 1.8rem; margin-bottom: 1.3rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--gray); font-size: .98rem; }

/* ===== MATERIALS ===== */
.materials { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.material {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: .4rem; transition: transform .2s, border-color .2s;
}
.material:hover { transform: translateY(-4px); border-color: var(--green); }
.mat-code {
  font-family: 'Archivo'; font-size: 1.7rem; font-weight: 900; color: var(--green);
}
.mat-name { font-size: .9rem; color: var(--gray); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.step-num { font-family: 'Archivo'; font-size: 2.6rem; font-weight: 900; color: var(--green-soft); -webkit-text-stroke: 1px var(--green); }
.step h3 { margin: .5rem 0 .5rem; font-size: 1.2rem; }
.step p { color: var(--gray); font-size: .95rem; }

/* ===== IMPACT ===== */
.impact { background: linear-gradient(135deg, var(--green-deep), var(--green-dark)); color: #fff; padding: 4rem 0; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.impact-num span { font-size: 2.2rem; display: block; margin-bottom: .5rem; }
.impact-num strong { font-family: 'Archivo'; font-size: 2rem; display: block; color: #bbf7d0; }
.impact-num small { font-size: .9rem; opacity: .85; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p { color: var(--gray); margin-bottom: 1.1rem; }
.about-list { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.about-list li { font-weight: 600; color: var(--slate); }
.about-visual { display: grid; place-items: center; }
.about-badge {
  width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center;
  font-size: 6rem; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 20px 60px var(--green-glow);
}

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.gphoto { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gphoto img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s; }
.gphoto:hover img { transform: scale(1.06); }
.gphoto figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(6,78,46,.85)); color: #fff; font-size: .9rem; font-weight: 600;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
  padding: 5rem 0; text-align: center;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; max-width: 700px; margin: 0 auto 1rem; }
.cta p { font-size: 1.1rem; opacity: .92; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo .logo-text { color: #fff; }
.footer-desc { margin-top: 1rem; font-size: .95rem; max-width: 340px; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1.05rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; text-align: center; font-size: .85rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 1.5rem; gap: 1.2rem; box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
