/* WeSalvage Custom Styles */

:root {
  --green-primary: #2db84b;
  --green-dark: #1a9438;
  --green-light: #e8f8ec;
  --dark: #1a1a1a;
  --gray-mid: #555;
  --gray-light: #f5f5f5;
}

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green-primary); }

.nav-cta {
  background: var(--green-primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--green-dark) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0d2b14 0%, #1a4d24 60%, #2db84b 100%);
  color: #fff;
  padding: 90px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: #7ef59a; }

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green-primary);
  color: #fff;
  padding: 14px 30px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--green-primary);
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 30px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 14px 24px;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

.trust-item svg {
  color: var(--green-primary);
  flex-shrink: 0;
}

/* ---- SECTIONS ---- */
section { padding: 80px 24px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 560px;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--green-primary);
  box-shadow: 0 8px 32px rgba(45,184,75,0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { color: var(--green-primary); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

.service-card .learn-more {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.service-card .learn-more:hover { text-decoration: underline; }

/* ---- HOW IT WORKS ---- */
.how-bg { background: var(--gray-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.step {
  text-align: center;
  padding: 16px;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: #fff;
  padding: 70px 24px;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 16px;
}

.why-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { color: var(--green-primary); }

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.why-img {
  border-radius: 16px;
  overflow: hidden;
}

.why-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ---- TESTIMONIALS ---- */
.testimonials-bg { background: var(--gray-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e8e8e8;
}

.stars {
  color: #f4a800;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-primary);
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: #999;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--dark);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.75;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo img { height: 38px; filter: brightness(0) invert(1); }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--green-primary); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item svg { color: var(--green-primary); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-primary); }

.weee-reg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45,184,75,0.15);
  border: 1px solid rgba(45,184,75,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: #7ef59a;
  font-weight: 600;
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { color: var(--green-primary); }

.contact-detail strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail span { font-size: 0.88rem; color: var(--gray-mid); }

.contact-form { background: #fff; border-radius: 16px; padding: 40px; border: 1px solid #e8e8e8; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--green-primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--green-dark); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0d2b14, #1a4d24);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; opacity: 0.8; max-width: 540px; margin: 0 auto; }

/* ---- ABOUT PAGE ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img { border-radius: 16px; overflow: hidden; }
.about-img img { width: 100%; height: 400px; object-fit: cover; display: block; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--green-light);
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 4px solid var(--green-primary);
}

.value-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.65; }

/* ---- SERVICES PAGE ---- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}

.service-detail-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-card-img {
  height: 200px;
  background: linear-gradient(135deg, #0d2b14, #2db84b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img svg { color: rgba(255,255,255,0.3); }

.service-card-body { padding: 28px; }

.service-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card-body p { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.65; margin-bottom: 16px; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #111;
  color: rgba(255,255,255,0.85);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  flex-wrap: wrap;
  border-top: 2px solid var(--green-primary);
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

.cookie-text a { color: var(--green-primary); }

.cookie-btns {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--green-primary);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.cookie-accept:hover { background: var(--green-dark); }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.cookie-decline:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.75); }

/* ---- LEGAL PAGES (Privacy / T&Cs) ---- */
.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-light);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

.legal-body p {
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-body ul li {
  color: var(--gray-mid);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-body a { color: var(--green-primary); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.legal-table th {
  background: var(--green-light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  border: 1px solid #ddd;
}

.legal-table td {
  padding: 10px 14px;
  border: 1px solid #e8e8e8;
  color: var(--gray-mid);
  line-height: 1.55;
  vertical-align: top;
}

.legal-table tr:nth-child(even) td { background: var(--gray-light); }

.legal-body code {
  background: var(--gray-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: monospace;
}

/* ---- COMMUNITY BADGE ---- */
.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,184,75,0.08);
  border: 1px solid rgba(45,184,75,0.25);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* ---- BLANCCO CALLOUT ---- */
.blancco-callout {
  background: #f0faf3;
  border: 1px solid #c3e8cc;
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 20px 0;
}

.blancco-callout svg { color: var(--green-primary); flex-shrink: 0; margin-top: 2px; }

.blancco-callout p { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.65; margin: 0; }

.blancco-callout strong { color: var(--dark); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .why-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }
  .why-img, .about-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
