* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #17212f;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f6f8fb;
}

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

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 7%;
  background: #ffffff;
  border-bottom: 1px solid #e5eaf1;
}

.brand {
  font-size: 23px;
  font-weight: 900;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #566276;
  font-size: 14px;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 72px 7%;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 22, 44, 0.86), rgba(8, 22, 44, 0.28)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero p,
.section-head p {
  margin: 0 0 12px;
  color: #15b8a6;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero a,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #ffffff;
  font-weight: 800;
  border: 0;
  border-radius: 6px;
  background: #0f766e;
  cursor: pointer;
}

.section {
  padding: 64px 7%;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 28px;
  font-size: 36px;
}

.card-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid article,
.feature-list article,
.case-grid article,
.news-list article,
.contact-form {
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 36, 58, 0.06);
}

.card-grid article,
.feature-list article,
.news-list article {
  padding: 24px;
}

.card-grid h3,
.feature-list h2,
.case-grid h2,
.news-list h2 {
  margin: 0 0 10px;
}

.card-grid p,
.feature-list p,
.content p,
.case-grid p,
.contact-layout p {
  color: #5e6b7f;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list strong {
  color: #0f766e;
}

.case-grid article {
  overflow: hidden;
}

.case-grid h2,
.case-grid p {
  padding: 0 20px;
}

.case-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.case-image.one {
  background-image: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=900&q=80");
}

.case-image.two {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.case-image.three {
  background-image: url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=900&q=80");
}

.news-list {
  display: grid;
  gap: 14px;
}

time {
  color: #0f766e;
  font-weight: 800;
}

.content {
  max-width: 900px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 42px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8dfeb;
  border-radius: 6px;
  font: inherit;
}

footer {
  padding: 26px 7%;
  color: #677386;
  text-align: center;
  border-top: 1px solid #e5eaf1;
}

@media (max-width: 860px) {
  .header,
  .contact-layout {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .card-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}
