
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
}

:root {
  --blue: #168bd2;
  --dark: #171717;
  --deep: #0d1117;
  --text: #ffffff;
  --muted: #d8d8d8;
}

body {
  background: #111;
  color: var(--text);
}

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

.hero {
  min-height: 760px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 35px 55px;
  transition: background-image 0.5s ease-in-out;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}

.nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav a {
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.logo {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
}

.brand-small {
  color: var(--blue);
  font-size: 12px;
  text-align: right;
  line-height: 1.1;
  margin-right: 10px;
  font-weight: 700;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.hero-content {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.frame-box {
  border: 8px solid var(--blue);
  min-height: 520px;
  padding: 270px 40px 50px;
  position: relative;
}

.frame-box h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.08;
}

.arrows {
  position: absolute;
  top: 150px;
  left: 45px;
  display: flex;
  gap: 24px;
}

.arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.arrow:hover {
  background: var(--blue);
}

.intro {
  max-width: 470px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 135px;
}

.subnav {
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 34px;
  height: 86px;
  padding: 0 45px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-top: -86px;
  width: 50%;
  position: relative;
  z-index: 3;
}

.subnav a:hover {
  color: var(--blue);
}

.menu-icon {
  color: var(--blue);
  font-size: 24px;
}

.stats {
  background: var(--dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 40px 55px 60px;
  margin-left: 50%;
  margin-top: -86px;
}

.stat-icon {
  font-size: 30px;
  color: var(--blue);
  margin-bottom: 18px;
}

.stat p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.cards {
  background: var(--dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 55px 80px;
}

.card {
  min-height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.card h3 {
  position: relative;
  z-index: 2;
  font-size: 17px;
  line-height: 1.35;
}

.card span {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--blue);
  margin-bottom: 14px;
}

.page-hero {
  min-height: 440px;
  padding: 35px 55px 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5, 12, 20, 0.65), rgba(5, 12, 20, 0.84));
}

.page-hero .nav,
.page-hero .page-title {
  position: relative;
  z-index: 2;
}

.page-title {
  margin-top: 120px;
  max-width: 760px;
}

.page-title h1 {
  font-size: 54px;
  font-weight: 500;
  margin-bottom: 22px;
}

.page-title p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.content-section {
  background: var(--dark);
  padding: 70px 55px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}

.content-section p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 18px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  border-left: 4px solid var(--blue);
  padding: 18px 20px;
  background: #202020;
}

.service-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-item p {
  margin: 0;
  font-size: 14px;
}

.footer {
  background: #fff;
  color: #333;
  padding: 42px 55px 70px;
}

.footer-links {
  display: flex;
  gap: 30px;
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 45px;
  font-weight: 700;
  flex-wrap: wrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  line-height: 1.7;
  color: #777;
}

.footer h4 {
  color: #222;
  margin-bottom: 22px;
  font-size: 12px;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 16px;
  font-size: 20px;
  color: #aaa;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #222;
  border: 1px solid #333;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}

.contact-form button {
  width: fit-content;
  padding: 14px 24px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero,
  .page-hero {
    padding: 28px;
  }

  .nav ul {
    display: none;
  }

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

  .frame-box {
    min-height: 420px;
    padding-top: 220px;
  }

  .frame-box h1,
  .page-title h1 {
    font-size: 40px;
  }

  .intro {
    margin-bottom: 40px;
  }

  .subnav,
  .stats {
    width: 100%;
    margin: 0;
  }

  .stats,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
