:root {
  --green-950: #0a2d27;
  --green-900: #103d30;
  --green-800: #184d41;
  --green-700: #1d5b4a;
  --green-600: #2b6d5d;
  --copper-500: #c38359;
  --copper-400: #d49a6a;
  --sand-100: #f7f7f2;
  --sand-200: #eceae2;
  --sand-300: #e2e4dd;
  --slate-900: #242b28;
  --slate-600: #4e534f;
  --white: #ffffff;
  --shadow-soft: 0 28px 70px rgba(10, 45, 39, 0.12);
  --shadow-card: 0 22px 42px rgba(20, 34, 31, 0.09);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(rgba(247, 247, 242, 0.7), rgba(247, 247, 242, 0.7)),
    url("assets/fd.png") center center / cover no-repeat fixed;
  color: var(--slate-900);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  background: rgba(247, 247, 242, 0.3);
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(16, 61, 48, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 61, 48, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
  z-index: 0;
}

.page-shell > * {
  position: relative;
  z-index: 1;
}


.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 242, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 61, 48, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 52vw);
}

.brand img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(16, 61, 48, 0.18));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.contact-link:focus-visible,
.site-header .button:focus-visible {
  outline: 3px solid rgba(195, 131, 89, 0.5);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--white);
  box-shadow: 0 18px 30px rgba(16, 61, 48, 0.2);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 20px 36px rgba(16, 61, 48, 0.24);
}


.button--secondary {
  background: transparent;
  color: var(--green-900);
  border-color: rgba(16, 61, 48, 0.25);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(16, 61, 48, 0.12);
  color: var(--slate-900);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 5.5rem) 0 clamp(2.5rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(16, 61, 48, 0.06);
  color: var(--green-900);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-400), var(--copper-500));
  box-shadow: 0 0 0 6px rgba(195, 131, 89, 0.12);
}

.eyebrow--dark {
  background: rgba(195, 131, 89, 0.12);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--green-900);
}

.lead {
  margin: 1.5rem 0 0;
  max-width: 58ch;
  color: rgba(36, 43, 40, 0.82);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 580px);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16, 61, 48, 0.04), rgba(195, 131, 89, 0.08));
  border: 1px solid rgba(16, 61, 48, 0.09);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 16px 18px auto auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 131, 89, 0.22), transparent 68%);
  pointer-events: none;
}


.visual-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.visual-card .partner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 24px;
}

.category-showcase {
  position: relative;
  padding: 0 0 3.5rem;
}

.category-showcase::before {
  content: "";
  position: absolute;
  inset: 5.5rem 0 0 0;
  background-image: linear-gradient(rgba(16, 61, 48, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 61, 48, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.category-showcase > * {
  position: relative;
  z-index: 1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.category-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 205px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 239, 236, 0.78));
  border: 1px solid rgba(16, 61, 48, 0.09);
  border-radius: 26px;
  box-shadow: 0 16px 30px rgba(16, 61, 48, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-900), var(--copper-500));
  z-index: 2;
}

.category-item:hover,
.category-item:focus-within {
  transform: translateY(-6px);
  border-color: rgba(195, 131, 89, 0.32);
  box-shadow: 0 26px 54px rgba(16, 61, 48, 0.14);
}

.category-icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.08) brightness(0.9);
}

.category-item span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 0.9rem 1.2rem;
  color: #f4f6f3;
  font-weight: 400;
  line-height: 1.35;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.46));
}

.section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.services {
  padding: 2rem 0 4.5rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: clamp(1.5rem, 2vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(235, 239, 235, 0.72));
  border: 1px solid rgba(16, 61, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green-900), var(--copper-500));
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(16, 61, 48, 0.12);
  border-color: rgba(195, 131, 89, 0.28);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 61, 48, 0.08);
  color: var(--green-900);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  color: var(--green-900);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: rgba(36, 43, 40, 0.8);
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(16, 61, 48, 0.08);
  background: rgba(255, 255, 255, 0.4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-brand {
  flex: 0 0 auto;
}

.brand-name {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.15rem, 1.7vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.25rem;
  width: min(100%, 760px);
}

.contact-item {
  min-width: 0;
}

.contact-item[hidden] {
  display: none;
}

.contact-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link,
.contact-item p {
  margin: 0;
  color: var(--slate-900);
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--green-900);
}

.contact-item--full {
  grid-column: span 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 2.25rem;
  border-top: 1px solid rgba(16, 61, 48, 0.08);
  color: rgba(36, 43, 40, 0.8);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 78px;
  }

  .brand {
    width: min(220px, 52vw);
  }

  .header-button {
    min-height: 46px;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-item--full {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
