:root {
  --bg: #0f1711;
  --surface: #17231a;
  --surface-soft: #1f2f23;
  --text: #ecf2e8;
  --muted: #b7c4b5;
  --brand: #6f8e3e;
  --brand-strong: #8fb14f;
  --border: #2d4030;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #223321 0%, var(--bg) 45%);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.nav {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-radius: 0;
  background: rgba(10, 16, 11, 0.5);
  border: 1px solid rgba(183, 196, 181, 0.24);
  backdrop-filter: blur(6px);
  z-index: -1;
}

.brand img {
  width: 88px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 9, 0.86) 0%,
    rgba(8, 12, 9, 0.62) 42%,
    rgba(8, 12, 9, 0.78) 100%
  );
  z-index: 1;
}

.hero .nav,
.hero .hero-text,
.hero .hero-brand {
  position: relative;
  z-index: 3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 4rem;
  flex: 1;
}

.hero-text {
  padding: 20px;
  max-width: 62ch;
  background-color: rgba(0, 0, 0, .5);
}

.hero-brand {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-logo-shell {
  width: 400px;
  max-width: min(42vw, 400px);
  border-radius: 50%;
  background: rgba(15, 23, 17, 0.84);
  padding: 1rem;
  border: 1px solid var(--border);
  z-index: 4;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-badge {
  width: 100%;
  height: auto;
  padding: 30px;
  object-fit: contain;
}

.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.hero-slideshow .slide.is-active {
  opacity: 1;
}

.tag {
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2 {
  margin: 0.3rem 0 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}

.hero-text p,
.section-text {
  color: #e5f0df;
  max-width: 62ch;
}

.hero-text p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #111;
  text-decoration: none;
  font-weight: 700;
  padding: 0.78rem 1.1rem;
  border-radius: 0.6rem;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  margin-top: 0;
  padding: 0.55rem 0.9rem;
}

.section {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.section-contrast {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 1rem;
}

.contact-stack {
  display: grid;
  gap: 1.4rem;
}

.contact-header {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-panel,
.form-panel {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--border);
  background: rgba(10, 16, 11, 0.42);
  height: 100%;
}

.form-panel .section-header {
  margin-bottom: 0.4rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.7rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list a {
  color: var(--brand-strong);
  text-decoration: none;
}

.lead-form {
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.lead-form label {
  display: block;
  margin: 0.8rem 0 0.35rem;
  font-weight: 600;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  background: #101810;
  border: 1px solid #344834;
  color: var(--text);
  border-radius: 0.45rem;
  padding: 0.75rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(143, 177, 79, 0.25);
  border-color: var(--brand-strong);
}

.form-message {
  min-height: 1.25rem;
  font-size: 0.95rem;
  margin-top: 0.7rem;
}

.form-message.success {
  color: #a2d164;
}

.form-message.error {
  color: #f7a4a4;
}

.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.6rem 1rem 2rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-logo-shell {
    width: min(70vw, 320px);
    max-width: 320px;
    padding: 0.75rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
