:root {
  --green: #57a105;
  --green-dark: #4a8a04;
  --accent: #ff7700;
  --ink: #1f2a23;
  --muted: #5d6b62;
  --header: #08313a;
  --header-2: #0c414c;
  --line: #e3e8e3;
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e56b00; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #eaf2e6; font-weight: 700; font-size: 15px; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a.btn { color: #fff; }

.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(14,53,47,.74), rgba(20,70,61,.74)), url("img/hero.jpg") center/cover no-repeat;
}
.hero-inner { padding: 110px 24px; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; line-height: 1.15; margin: 0 0 22px; }
.hero p { font-size: 18px; max-width: 620px; margin: 0 0 32px; color: #eef4ea; }

/* Section titles */
.section-title { text-align: center; font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; margin: 0 0 48px; }
.section-title.light { color: #fff; }
.eyebrow { color: var(--accent); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* Solutions */
.solutions { padding: 80px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 14px 34px rgba(31,42,35,.12); transform: translateY(-4px); }
.card-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  margin-bottom: 20px;
}
.card h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.25; }
.card-sub { color: var(--green); font-weight: 700; margin: 0 0 14px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.link-arrow { font-weight: 700; margin-top: auto; align-self: flex-start; }

/* Services */
.services {
  padding: 80px 0 90px;
  background: linear-gradient(rgba(14,53,47,.90), rgba(14,53,47,.90)), url("img/services-bg.jpg") center/cover fixed no-repeat;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
.service-row.reverse .service-media { order: 2; }
.service-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.service-text { padding: 38px 44px; }
.service-text h3 { font-size: 24px; margin: 8px 0 18px; }
.service-text ul { margin: 0; padding-left: 20px; color: var(--muted); }
.service-text li { margin-bottom: 8px; }

/* Contacts */
.contacts { padding: 80px 0; }
.contacts-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.contact-form-wrap h2 { font-size: 32px; margin: 8px 0 26px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.contact-form button { align-self: flex-start; margin-top: 6px; }
.contact-info { background: #f5f8f3; border-radius: var(--radius); padding: 34px 32px; }
.contact-info h3 { margin: 0 0 16px; font-size: 20px; }
.contact-info address { font-style: normal; color: var(--muted); margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--header); color: #cfe0d6; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #cfe0d6; font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: 14px; width: 100%; text-align: center; color: #8fb0a0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; }
  .service-row.reverse .service-media { order: 0; }
  .contacts-inner { grid-template-columns: 1fr; }

  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .nav-burger span { width: 24px; height: 2px; background: #fff; display: block; }
  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--header-2);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav a { padding: 14px 24px; width: 100%; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav a.btn { margin: 14px 24px; width: auto; text-align: center; }
  .nav-toggle:checked ~ .site-nav { max-height: 360px; }
}
