:root {
  --green: #4ade80;
  --ink: #1a1b1f;
  --font: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--green);
  color: #000;
}

.skip:focus {
  top: 16px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 50px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #000;
}

.logo,
.header-contact,
.menu-button {
  position: relative;
  z-index: 2;
}

.logo img {
  display: block;
  width: 128px;
  height: auto;
}

.nav-links {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.nav-links a,
.nav-links.is-open {
  pointer-events: auto;
}

.nav-links a {
  padding: 12px 22px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-contact {
  display: none;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  background: #32343a;
}

.header-contact {
  border-radius: 8px;
  background: var(--green);
  color: #000;
}

.header-contact:hover {
  background: #f1f1f1;
  color: #000;
}

.button-green {
  padding: 18px 36px;
  border-radius: 8px;
  background: var(--green);
  color: #000;
  font-size: 16px;
  line-height: 24px;
}

.button-green:hover {
  background: #f1f1f1;
  color: #000;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.85fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  width: min(1080px, calc(100% - 48px));
  margin: 40px auto 72px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
}

.hero p {
  margin: 0 0 28px;
  font-size: clamp(17px, 1.2vw + 0.4rem, 20px);
  line-height: 1.45;
}

.hero-photo {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.partners {
  margin: 0 auto 48px;
  text-align: center;
}

.partners h2 {
  margin: 0 0 40px;
  font-size: 40px;
  font-weight: 700;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list img {
  display: block;
  max-width: 240px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer {
  margin-top: auto;
  padding: 32px 16px;
  text-align: center;
  font-size: 16px;
}

.page {
  width: min(1140px, calc(100% - 60px));
  margin: 80px auto;
  text-align: center;
}

.page h1 {
  margin: 0 0 48px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.services {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 20px;
  line-height: 1.45;
}

.services li + li {
  margin-top: 1.25rem;
}

.services li::before {
  content: "– ";
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.service-card {
  height: 100%;
  margin: 0;
  padding: 28px 28px 12px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
}

.service-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.service-card ul {
  margin: 0;
  padding: 0 0 16px 1.1rem;
}

.service-card li + li {
  margin-top: 8px;
}

.page-action {
  margin: 40px 0 0;
}

.about-blocks {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: left;
}

.about-blocks section + section {
  margin-top: 36px;
}

.about-blocks h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.about-blocks p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.55;
}

.rule {
  width: min(80%, 760px);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: #eee;
}

.about-text {
  width: min(80%, 760px);
  margin: 48px auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.55;
}

.about-text p {
  margin: 0 0 1em;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 45px 50px 50px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: left;
}

.contact-card h1 {
  margin: 0 0 15px;
  font-size: 32px;
  font-weight: 400;
  text-transform: none;
  text-align: left;
}

.contact-card > p {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.45;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.field textarea {
  min-height: 200px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: #43464d;
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  text-align: center;
}

.form-status[data-state="success"] {
  background: #12b878;
}

.form-status[data-state="error"] {
  background: #db4b68;
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 20px 24px;
  }

  .header-contact {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    background: #000;
    border-top: 1px solid #222;
    z-index: 2;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    padding: 15px 24px;
  }

  .nav-contact {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 640px);
    margin-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-photo {
    justify-self: stretch;
    max-width: 520px;
    margin-inline: auto;
  }

  .page {
    width: min(100% - 32px, 1140px);
    margin: 48px auto;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .page h1,
  .partners h2 {
    font-size: 32px;
  }

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

  .partner-list {
    gap: 28px 32px;
  }

  .partner-list img {
    max-width: 160px;
    max-height: 110px;
  }
}
