/* ==========================================================================
   Trust Eco Solutions LLC — corporate site styles
   ========================================================================== */

:root {
  --green-900: #123524;
  --green-700: #1f6f43;
  --green-600: #2a8a54;
  --green-500: #37a866;
  --green-100: #e7f4ec;
  --green-50: #f3f9f5;
  --leaf: #6bbf59;
  --ink: #16241d;
  --body: #40514a;
  --muted: #7b8a83;
  --line: #e3ebe6;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --amber: #e0a458;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px -8px rgba(18, 53, 36, 0.25);
  --shadow: 0 20px 45px -24px rgba(18, 53, 36, 0.35);
  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -0.01em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--body); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 14px;
}
.muted { color: var(--muted); }
.mw-720 { max-width: 720px; }
.mw-820 { max-width: 820px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; border-radius: 999px;
  padding: 13px 26px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-500); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { transform: translateY(-1px); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--green-600), var(--green-900));
  display: grid; place-items: center; color: #fff;
}
.brand .mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font); font-size: .68rem; letter-spacing: .1em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.only-mobile { display: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--green-50), #fff 70%);
  padding: 84px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .tagset { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-size: .85rem; font-weight: 600; color: var(--green-900);
  background: var(--green-100); border: 1px solid #d3e7da;
  padding: 7px 14px; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-visual {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4; background: #dceadf;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: 2.4rem; color: var(--green-700); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: .98rem; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; 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='%231f6f43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-item { position: relative; }
.step-item .n {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-700); color: #fff; font-family: var(--display); font-size: 1.2rem;
  margin-bottom: 16px;
}

/* quote */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: 1.5rem; color: var(--ink); line-height: 1.4; margin: 0 0 22px; }
.quote .who { font-weight: 600; color: var(--ink); }
.quote .role { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #eaf5ee; border-radius: 24px; padding: 56px 44px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e7da; }
.cta-band .hero-actions { margin-top: 24px; }

/* page header (interior) */
.page-hero { background: linear-gradient(180deg, var(--green-50), #fff); padding: 66px 0 30px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* legal / prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2em; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 34px; }
.toc h3 { margin-top: 0; font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.info-list .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { color: var(--ink); display: block; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 7px; }
form input, form textarea, form select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: #fff;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; background: var(--green-100); border: 1px solid #c9e3d2; color: var(--green-900); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; }

/* map */
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); filter: saturate(0.9); }

/* footer */
.site-footer { background: var(--green-900); color: #c7dccd; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: #c7dccd; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #8fb49c; }
.footer-brand p { color: #a9c7b4; font-size: .95rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 42px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .88rem; color: #9cbaa6;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* cookie banner */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar p { font-size: .92rem; margin-bottom: 14px; }
.cookie-bar .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 20px; font-size: .92rem; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
  }
  .site-header.open .nav-links a { padding: 10px 0; width: 100%; }
  .site-header.open .nav-links .btn { display: inline-flex; margin-top: 8px; }
  .site-header.open .only-mobile { display: block; }
  .grid-3, .grid-2, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  form .row2 { grid-template-columns: 1fr; }
}
