:root {
  --blue: #2ea3f2;
  --text: #333333;
  --soft: #555555;
  --light: #f7f7f7;
  --gray: #f3f3f3;
  --border: #dddddd;
  --footer1: #2b2b2b;
  --footer2: #1f1f1f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  width: 80%;
  max-width: 1080px;
  margin: auto;
}

/* HEADER */

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.header-inner {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.logo span span {
  color: #b73333;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.search {
  font-size: 21px;
}

/* HERO BANNER */

.hero {
  margin-top: 79px;
  height: 290.984px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 45%, rgba(255,255,255,0.95), rgba(230,236,244,0.92) 38%, rgba(210,218,229,0.75) 68%, rgba(245,248,252,1) 100%),
    linear-gradient(135deg, #f8fbff, #dce4ef);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 160px;
  left: -10%;
  border-radius: 50%;
  border: 1px solid rgba(160,170,190,0.35);
}

.hero::before {
  top: 25px;
  transform: rotate(-8deg);
}

.hero::after {
  bottom: -40px;
  transform: rotate(-6deg);
}

.hero-content {
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text p {
  font-size: 15px;
  color: #5d6470;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-text h1 {
  font-size: 35px;
  line-height: 1.1;
  color: #4a566b;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-text ul {
  list-style: none;
  margin-bottom: 18px;
}

.hero-text li {
  color: #667080;
  font-size: 13px;
  line-height: 1.5;
}

.hero-text li::before {
  content: "• ";
}

.hero-text a {
  display: inline-block;
  color: #7a8494;
  border: 1px solid #c7ccd3;
  border-radius: 20px;
  padding: 6px 22px;
  font-size: 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.55);
}

.hero-machine {
  display: flex;
  justify-content: center;
  align-items: center;
}

.machine-box {
  position: relative;
  width: 420px;
  height: 155px;
}

.machine-front {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 95px;
  height: 130px;
  background: linear-gradient(#d8dee8, #8892a3);
  border-radius: 4px;
  box-shadow: 0 20px 28px rgba(0,0,0,0.15);
}

.machine-body {
  position: absolute;
  left: 95px;
  bottom: 15px;
  width: 295px;
  height: 115px;
  background: linear-gradient(#eef1f6, #b9c0cc);
  border-radius: 5px;
  box-shadow: 0 18px 28px rgba(0,0,0,0.13);
}

.machine-body::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 20px;
  width: 120px;
  height: 10px;
  background: #d94242;
}

.machine-body::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 15px;
  width: 1px;
  height: 90px;
  background: rgba(80,80,80,0.3);
  box-shadow: 35px 0 rgba(80,80,80,0.25), 70px 0 rgba(80,80,80,0.2);
}

.machine-line {
  position: absolute;
  left: 130px;
  bottom: 0;
  width: 190px;
  height: 28px;
  background: linear-gradient(#aab2c2, #6f7787);
  transform: skewX(-18deg);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 45px;
  color: rgba(80,80,80,0.35);
}

.left {
  left: 22px;
}

.right {
  right: 22px;
}

.dots {
  position: absolute;
  bottom: 14px;
  width: 100%;
  text-align: center;
}

.dots span {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: rgba(80,80,80,0.35);
  border-radius: 50%;
  margin: 0 5px;
}

/* SOLUTIONS */

.solutions {
  background: var(--light);
  padding: 55px 0 60px;
}

.title {
  text-align: center;
  margin-bottom: 62px;
}

.title h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 18px;
}

.title h3 {
  font-size: 18px;
  color: var(--soft);
  font-weight: 500;
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 44px;
}

.solution-card {
  min-height: 220px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
}

.solution-card.no-border {
  border-right: none;
}

.solution-card h6 {
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 20px;
}

.solution-card p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.solution-card a,
form button {
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 6px 18px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  background: transparent;
}

.solution-card a:hover,
form button:hover {
  background: var(--blue);
  color: #fff;
}

/* GALLERY */

.gallery {
  background: #ffffff;
  padding: 54px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.gallery-grid div {
  height: 190px;
  background: linear-gradient(135deg, #d8dde5, #8d96a4);
}

.gallery-grid div:nth-child(2) {
  background: linear-gradient(135deg, #f1f1f1, #b7b7b7);
}

.gallery-grid div:nth-child(3) {
  background: linear-gradient(135deg, #d6d6d6, #707070);
}

.gallery-grid div:nth-child(4) {
  background: linear-gradient(135deg, #edf0f5, #9aa4b3);
}

/* FOCUS */

.focus {
  background: #ffffff;
  padding: 34px 0 70px;
}

.focus h1 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 22px;
}

.focus > .container > p {
  max-width: 980px;
  margin: 0 auto 72px;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 62px 58px;
}

.feature-grid span {
  color: var(--blue);
  font-size: 34px;
  display: block;
  margin-bottom: 17px;
}

.feature-grid h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-grid p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.8;
}

/* ABOUT */

.about {
  background: var(--gray);
  padding: 60px 0;
}

.section-line {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}

.section-line h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 38px;
}

.about-grid {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.about-img {
  height: 620px;
  background: linear-gradient(135deg, #e5e5e5, #767676);
}

.about-text p {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.small-img {
  margin-top: 18px;
  height: 260px;
  background: linear-gradient(135deg, #fafafa, #999);
}

/* WORK */

.work {
  background: #f6f6f6;
  padding: 62px 0 70px;
  text-align: center;
}

.work h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
}

.work p {
  max-width: 720px;
  margin: auto;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}

/* CONTACT */

.contact {
  background: var(--gray);
  padding: 60px 0 70px;
}

.contact-grid {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.contact-form {
  padding: 28px 35px 0 0;
  border-right: 1px solid var(--border);
}

.contact-form h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

input,
textarea {
  width: 100%;
  border: none;
  background: #eeeeee;
  padding: 14px;
  margin-bottom: 18px;
  outline: none;
}

textarea {
  height: 150px;
}

form button {
  float: right;
  cursor: pointer;
}

.contact-info {
  padding: 32px 25px;
  border-right: 1px solid var(--border);
}

.contact-info.no-border {
  border-right: none;
}

.contact-info h6 {
  font-size: 13px;
  text-transform: uppercase;
  margin: 16px 0 12px;
}

.contact-info p {
  color: var(--soft);
  font-size: 14px;
  margin-bottom: 20px;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
}

/* FOOTER */

.footer-nav {
  background: var(--footer1);
  padding: 15px 0;
}

.footer-nav a {
  color: #bbbbbb;
  text-decoration: none;
  margin-right: 28px;
  font-size: 14px;
}

.footer-bottom {
  background: var(--footer2);
  color: #bbbbbb;
  padding: 20px 0;
  font-size: 13px;
}

/* MOBILE */

@media (max-width: 900px) {
  .container {
    width: 90%;
  }

  nav {
    display: none;
  }

  .hero-content,
  .solution-grid,
  .gallery-grid,
  .feature-grid,
  .about-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 290.984px;
  }

  .hero-text h1 {
    font-size: 25px;
  }

  .hero-machine {
    display: none;
  }

  .solution-card,
  .contact-form,
  .contact-info {
    border-right: none;
  }

  .solution-card {
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
  }

  .about-img {
    height: 360px;
  }
}