:root {
  --green-dark: #0b5d3b;
  --green-mid: #5e9e2e;
  --red: #c62828;
  --blue: #4fa3e3;
  --white: #ffffff;
  --gray: #555555;
  --gray-soft: #6b7280;
  --bg-soft: #f5f7f4;
  --border: rgba(11, 93, 59, 0.1);
  --shadow: 0 16px 40px rgba(14, 35, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #153325;
  background: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  color: var(--green-dark);
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.underline {
  width: 120px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-mid), var(--red), var(--blue));
  position: relative;
}

.underline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  box-shadow: 0 0 0 4px var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(12, 33, 22, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: min(338px, 100%);
  height: auto;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-links a {
  position: relative;
  color: #1f2937;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--green-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: #c62828;
  color: var(--white);
  box-shadow: 0 10px 18px rgba(198, 40, 40, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--green-dark);
  border-color: #86a84b;
  box-shadow: 0 8px 14px rgba(28, 64, 32, 0.06);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #eaf2f6;
  padding-top: 0.9rem;
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28px;
  background: linear-gradient(90deg, #73992e, #5e9e2e 50%, #6d9329);
}

.hero-grid {
  position: relative;
  width: min(calc(100% - 2rem), var(--container));
  min-height: 430px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 2rem;
  bottom: 2.8rem;
  width: auto;
  padding: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions .btn {
  min-height: 46px;
  padding: 0.82rem 1.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-actions .btn-primary {
  min-width: 168px;
}

.hero-actions .btn-secondary {
  min-width: 146px;
}

.hero-actions .btn svg {
  width: 13px;
  height: 13px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.grid-cards {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 2.5rem;
  align-items: stretch;
}

.service-card,
.project-card,
.info-card,
.value-card {
  background: var(--white);
  border: 1px solid rgba(11, 93, 59, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(18, 38, 27, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.project-card:hover,
.info-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 38, 27, 0.1);
  border-color: rgba(94, 158, 46, 0.22);
}

.service-card {
  padding: 1.45rem 1.1rem 1.35rem;
  text-align: center;
  min-height: 100%;
  border-radius: 16px;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.05rem;
  border-radius: 50%;
  color: var(--white);
}

.icon-circle.green {
  background: var(--green-mid);
}

.icon-circle.red {
  background: var(--red);
}

.icon-circle.blue {
  background: var(--blue);
}

.icon-circle svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.project-card h3,
.info-card h3,
.value-card h3 {
  margin: 0 0 0.75rem;
  color: var(--green-dark);
  font-size: 1.03rem;
}

.service-card h3 {
  min-height: 52px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800;
  line-height: 1.18;
}

.service-card p,
.project-card p,
.info-card p,
.value-card p,
.contact-list li,
.footer p,
.footer li {
  margin: 0;
  color: var(--gray);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.services-showcase .section-title {
  font-size: clamp(2rem, 2.8vw, 2.45rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-accent {
  width: 42px;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
}

.accent-green {
  background: var(--green-mid);
}

.accent-red {
  background: var(--red);
}

.accent-blue {
  background: var(--blue);
}

.stats-bar {
  background: linear-gradient(180deg, #f0f1f1 0%, #fafafa 100%);
  border-top: 1px solid rgba(11, 93, 59, 0.07);
  border-bottom: 1px solid rgba(11, 93, 59, 0.07);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  justify-content: center;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(11, 93, 59, 0.12);
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green-dark);
}

.stat-item.red .stat-number {
  color: var(--red);
}

.stat-item.blue .stat-number {
  color: var(--blue);
}

.stat-label {
  color: #264234;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-panel {
  display: grid;
  gap: 1.25rem;
}

.about-box {
  padding: 1.8rem;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(11, 93, 59, 0.98), rgba(31, 107, 71, 0.94));
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.bullet-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.bullet-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.bullet-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--red));
}

.image-panel {
  position: relative;
}

.image-panel img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 25px rgba(12, 22, 16, 0.14);
}

.experience-badge strong {
  display: block;
  font-size: 1.7rem;
  color: var(--red);
}

.projects-grid,
.values-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.25rem;
}

.project-card,
.value-card,
.info-card {
  padding: 1.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(79, 163, 227, 0.12);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
}

.cta-band {
  background:
    linear-gradient(110deg, rgba(11, 93, 59, 0.98) 0%, rgba(11, 93, 59, 0.95) 45%, rgba(79, 163, 227, 0.94) 46%, rgba(79, 163, 227, 0.94) 100%),
    url("../assets/img/cherries-strip.svg") left center/cover no-repeat;
  color: var(--white);
  padding: 0;
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 96px;
}

.quote {
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  padding: 1.1rem 0;
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  justify-items: end;
  text-align: right;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.contact-card-inline {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.cta-mail-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.cta-mail-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.nav-cta {
  padding: 0.58rem 0.95rem;
  font-size: 0.71rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-height: 34px;
  gap: 0.38rem;
  box-shadow: none;
}

.nav-cta svg {
  width: 13px;
  height: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-list li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-dark);
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(11, 93, 59, 0.08);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--green-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(11, 93, 59, 0.18);
  border-radius: 14px;
  background: #fbfcfb;
  color: #1f2937;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(79, 163, 227, 0.14);
}

.field small {
  min-height: 18px;
  color: var(--red);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(94, 158, 46, 0.12);
  color: var(--green-dark);
  font-weight: 700;
}

.form-success.show {
  display: block;
}

.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 93, 59, 0.96), rgba(11, 93, 59, 0.92) 54%, rgba(79, 163, 227, 0.88) 100%);
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer {
  background: #0b2f20;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 2rem;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--red);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  font-size: 0.92rem;
}

.is-hidden-data {
  display: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .split,
  .contact-grid,
  .cta-wrap {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    left: 1.5rem;
    bottom: 2.4rem;
  }

  .contact-card {
    justify-items: start;
    text-align: left;
  }

  .contact-card-inline {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 1rem;
    background: var(--white);
    box-shadow: 0 22px 30px rgba(12, 33, 22, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    padding: 0.45rem 0;
  }

  .nav .btn-primary.nav-cta {
    display: none;
  }

  .brand img {
    width: 248px;
  }

  .stats-grid,
  .projects-grid,
  .values-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item + .stat-item {
    border-left: 0;
    border-top: 1px solid rgba(11, 93, 59, 0.12);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    min-height: auto;
    padding: 0 0 3.5rem;
  }

  .hero-copy {
    left: 1rem;
    right: 1rem;
    bottom: 1.1rem;
  }

  .hero-visual img {
    min-height: 330px;
    object-position: center;
  }

  .section,
  .page-hero {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card,
  .project-card,
  .value-card,
  .info-card,
  .contact-form {
    padding: 1.4rem;
  }

  .contact-card-inline {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
