:root {
  --g-dark: #052F21;
  --g-olive: #7A9164;
  --g-mint: #88B1A6;
  --g-red: #B40006;
  --g-orange: #F68E1E;
  --g-black: #0b0f0d;
  --g-white: #ffffff;
  --g-soft: #f5f8f6;
  --g-border: rgba(5, 47, 33, .12);
  --font-brand: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--g-black);
  background: var(--g-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--g-border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 190px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--g-dark);
}

.menu a {
  opacity: .9;
}

.menu a:hover {
  opacity: 1;
  color: var(--g-orange);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--g-dark);
  color: white;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
}

.btn-primary {
  background: var(--g-orange);
  color: var(--g-white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(.96);
}

.btn-secondary {
  background: var(--g-dark);
  color: var(--g-white);
}

.btn-ghost {
  border-color: rgba(255,255,255,.45);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.12);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,47,33,.96) 0%, rgba(5,47,33,.88) 34%, rgba(5,47,33,.26) 72%, rgba(5,47,33,.12) 100%),
    url("../img/hero-it.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 90px 0 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #dce9e4;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--g-orange);
}

h1, h2, h3 {
  font-family: var(--font-brand);
  line-height: 1.08;
  color: var(--g-dark);
  margin: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -.03em;
}

.hero p {
  max-width: 610px;
  font-size: 20px;
  margin: 24px 0 32px;
  color: rgba(255,255,255,.88);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--g-soft);
}

.section-dark {
  background: var(--g-dark);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-title.center {
  text-align: center;
  margin-inline: auto;
}

.section-title h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 16px;
}

.section-title p {
  margin: 0;
  color: #4c5b54;
  font-size: 18px;
}

.section-dark .section-title p {
  color: rgba(255,255,255,.76);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--g-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(5, 47, 33, .06);
}

.card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.card p {
  color: #53625b;
  margin: 0;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(136,177,166,.25);
  color: var(--g-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.split-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(5,47,33,.18);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list li::before {
  content: "✓";
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--g-mint);
  color: var(--g-dark);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  margin-top: 2px;
}

.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(136,177,166,.22);
  color: var(--g-dark);
  font-weight: 700;
}

.cta {
  border-radius: 32px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(5,47,33,.98), rgba(5,47,33,.78)),
    radial-gradient(circle at right, rgba(246,142,30,.3), transparent 35%);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.cta h2 {
  color: white;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 10px;
}

.cta p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.footer {
  background: #021e15;
  color: rgba(255,255,255,.76);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 32px;
}

.footer img {
  width: 180px;
  margin-bottom: 18px;
}

.footer h3 {
  font-family: var(--font-body);
  font-size: 16px;
  color: white;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 14px;
}

.page-hero {
  background: var(--g-dark);
  color: white;
  padding: 86px 0;
}

.page-hero h1 {
  color: white;
  font-size: clamp(42px, 5vw, 68px);
  max-width: 860px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-item {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--g-border);
  background: white;
}

.contact-item strong {
  display: block;
  color: var(--g-dark);
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    padding: 22px;
    border-bottom: 1px solid var(--g-border);
  }

  .menu.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(5,47,33,.96), rgba(5,47,33,.74)),
      url("../img/hero-it.webp") center / cover no-repeat;
  }

  .hero-content {
    padding: 80px 0 100px;
  }

  .grid-3,
  .split,
  .footer-grid,
  .contact-box,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 34px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo img {
    width: 150px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .card {
    padding: 24px;
  }
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-weight: 800;
  color: var(--g-dark);
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--g-border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--g-black);
  background: #fff;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--g-mint);
  box-shadow: 0 0 0 4px rgba(136,177,166,.22);
}

.form-field textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-weight: 700;
  color: var(--g-dark);
}

.form-status.ok {
  color: #1f6f43;
}

.form-status.error {
  color: var(--g-red);
}

.text-link {
  color: var(--g-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--g-orange);
}

.text-link:hover {
  color: var(--g-orange);
}
