:root {
  --radius: 10px;
  --font: 'Manrope', system-ui, sans-serif;
  --life-opacity: 1;

  --bg: #FAF8F3;
  --card: #FFFFFF;
  --border: #E4E0D4;
  --ink: #2E3A2F;
  --ink-soft: #6B6858;
  --ink-muted: #9B9686;

  --green: #5E9A45;
  --green-dark: #517F3A;
  --green-ink: #3B6A2B;
  --green-soft: #ECF2E6;

  --amber-soft: #FBEFD9;
  --amber-ink: #8C5A11;
  --amber: #E0982F;
}

* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

input::placeholder, textarea::placeholder { color: var(--ink-muted); opacity: 1; }
input, textarea, select, button { font-family: inherit; }
textarea { resize: vertical; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-row {
  padding: 13px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.12; }
.brand-kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); }
.brand-title { font-weight: 500; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; margin-top: 3px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover { background: var(--green-soft); color: var(--green-ink); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary {
  border-color: var(--green);
  background: var(--green);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost {
  border-color: var(--green);
  background: transparent;
  color: var(--green-ink);
}
.btn-ghost:hover { background: var(--green-soft); }
.btn-outline {
  border-color: var(--green);
  background: transparent;
  color: var(--green-ink);
  font-size: 14px;
  padding: 10px 16px;
}
.btn-outline:hover { background: #DCE7D0; }

/* ===== BACKGROUND GLOW ===== */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--life-opacity);
}
.glow { position: absolute; border-radius: 50%; }
.glow-1 { width: 620px; height: 620px; background: #7FB55C; opacity: .28; filter: blur(95px); top: -180px; right: -90px; }
.glow-2 { width: 520px; height: 520px; background: var(--green); opacity: .18; filter: blur(105px); top: -90px; left: -150px; }
.glow-3 { width: 480px; height: 480px; background: #A9C2D6; opacity: .30; filter: blur(100px); bottom: -40px; left: -80px; }
.glow-4 { width: 460px; height: 460px; background: var(--amber); opacity: .17; filter: blur(110px); bottom: -170px; left: 340px; }
.glow-5 { width: 520px; height: 520px; background: #7FB55C; opacity: .17; filter: blur(105px); top: -180px; left: -140px; }
.glow-6 { width: 460px; height: 460px; background: #A9C2D6; opacity: .24; filter: blur(105px); bottom: -180px; right: -120px; }
.glow-7 { width: 500px; height: 500px; background: var(--amber); opacity: .15; filter: blur(105px); top: -170px; right: -130px; }
.glow-8 { width: 480px; height: 480px; background: var(--green); opacity: .17; filter: blur(105px); bottom: -180px; left: -140px; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; scroll-margin-top: 80px; }
.hero-grid {
  padding: 72px 40px 84px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(33px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 22px 0 0; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-image {
  background: #EFECE3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 440px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ===== SECTIONS ===== */
.section { position: relative; overflow: hidden; scroll-margin-top: 80px; padding: 84px 0; }
.section-white { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.eyebrow-muted { color: var(--ink-muted); margin-bottom: 16px; }

.section h2 {
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 12px 0 8px;
  color: var(--ink);
}
.section-lede { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 22px 0 0; }
.section-lede-wide { max-width: 620px; margin: 0 0 36px; }
.section-lede-mid { max-width: 640px; margin: 0 0 28px; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }

.timeline { list-style: none; margin: 26px 0 0; padding: 0 0 0 26px; position: relative; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.timeline .year { font-weight: 500; font-size: 15px; color: var(--ink); }
.timeline .event { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 3px; }

.stats {
  margin-top: 60px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.stat { padding: 28px 30px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-size: clamp(30px, 3.4vw, 40px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stat-label { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin-top: 11px; }

/* ===== COMPANIES ===== */
.company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px; margin-top: 36px; }
.company-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.company-bar { height: 5px; background: var(--accent); }
.company-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.company-name { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.company-tag { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); margin-top: 6px; }
.company-desc { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 16px 0 24px; flex: 1; }
.company-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s;
}
.company-link:hover { background: var(--soft); }

/* ===== PORTFOLIO ===== */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.chip {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  background: var(--card);
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
}
.chip.active { background: var(--green); color: #FFFFFF; border-color: var(--green); }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-photo {
  height: 184px;
  background: #EFECE3;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-photo span {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-cat { display: inline-flex; font-size: 12px; font-weight: 500; color: var(--ink-soft); background: #F1EEE5; border-radius: 8px; padding: 4px 10px; }
.case-title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); margin: 14px 0 8px; }
.case-desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.case-companies { display: flex; flex-wrap: wrap; gap: 8px; }
.case-company-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  padding: 4px 9px;
}
.case-company-dot { width: 7px; height: 7px; border-radius: 50%; }

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-ink);
}
.value-card h3 { font-size: 17px; font-weight: 500; color: var(--ink); margin: 18px 0 8px; }
.value-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

.quote-block {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.quote-photo {
  width: 360px;
  height: 420px;
  border-radius: var(--radius);
  background: #EFECE3;
  border: 1px solid var(--border);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-align: center;
}
.quote-mark { color: #D7E0CB; margin-bottom: 12px; }
.quote-block p { font-size: 16px; line-height: 1.65; color: var(--ink); margin: 14px 0 0; max-width: 640px; }
.quote-block p:first-of-type { margin-top: 0; }
.quote-author { margin-top: 18px; }
.quote-author-name { font-weight: 500; font-size: 19px; color: var(--ink); }
.quote-author-role { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: start; }
.contacts-form-col { max-width: 600px; }

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--amber-soft);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 26px;
}
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; margin-top: 7px; }
.notice span:last-child { font-size: 13.5px; line-height: 1.5; color: var(--amber-ink); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  line-height: 1.55;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--green); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-hint { font-size: 12.5px; color: var(--ink-muted); }

.contact-success { background: var(--green-soft); border-radius: var(--radius); padding: 28px; }
.success-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.contact-success h3 { font-size: 19px; font-weight: 500; color: var(--ink); margin: 16px 0 6px; }
.contact-success p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; }

.company-links { display: flex; flex-direction: column; gap: 16px; }
.company-link-row { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.company-link-icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--radius);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .15s;
}
.company-link-row:hover .company-link-icon { background: var(--soft); }
.company-link-row span:last-child { font-size: 17px; font-weight: 500; color: var(--ink); }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: #C9CEC4; }
.site-footer .wrap { padding: 56px 40px 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 40px; height: 40px; flex: none; background: #FFFFFF; border-radius: 10px; padding: 5px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand span:last-child { font-weight: 500; font-size: 17px; color: #FFFFFF; letter-spacing: -0.01em; }
.footer-desc { font-size: 14px; line-height: 1.6; color: #9AA093; margin: 18px 0 0; max-width: 300px; }
.footer-heading { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #7E8577; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 15px; color: #C9CEC4; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: #FFFFFF; }
.footer-copy { border-top: 1px solid #45514499; margin-top: 40px; padding-top: 22px; font-size: 13px; color: #7E8577; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .wrap, .header-row, .site-footer .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-grid { padding-left: 20px; padding-right: 20px; }
  .quote-block { grid-template-columns: 1fr; }
  .quote-photo { width: 100%; height: 260px; }
  .contacts-grid { grid-template-columns: 1fr; }
}
