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

:root {
  --red: #d92332;
  --red-dark: #ad1726;
  --blue: #1674b8;
  --ink: #17212b;
  --muted: #687581;
  --line: #e5e9ed;
  --soft: #f5f7f9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
}

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

button, input, select, textarea {
  font: inherit;
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 25px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

#menuBtn {
  border: 0;
  background: var(--soft);
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 20px;
  cursor: pointer;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--red);
  color: white;
  font-weight: 900;
}

.brand b, .brand small {
  display: block;
}

.brand b {
  font-size: 15px;
  letter-spacing: 1px;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
}

.call {
  margin-right: auto;
  padding: 10px 17px;
  background: var(--red);
  color: white;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
}

#sidebar {
  padding: 25px 15px;
  background: white;
  border-left: 1px solid var(--line);
  min-height: calc(100vh - 76px);
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
}

#sidebar h4 {
  color: #9aa2aa;
  font-size: 11px;
  margin: 0 12px 18px;
}

#sidebar > a {
  display: block;
  padding: 12px;
  margin: 5px 0;
  border-radius: 10px;
  color: #52606c;
  font-size: 12px;
  font-weight: 700;
}

#sidebar > a:hover {
  background: #fff0f1;
  color: var(--red);
}

main {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 55px 5%;
  background:
    radial-gradient(circle at 80% 10%, #fff0f1, transparent 35%),
    linear-gradient(115deg, #fff 55%, #f7fafc);
}

.eyebrow {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.35;
  margin: 17px 0;
}

h1 em, .smart em {
  color: var(--red);
  font-style: normal;
}

.hero p, .section > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 12px 5px 0 0;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.primary:hover, .call:hover {
  background: var(--red-dark);
}

.outline {
  border: 1px solid var(--line);
  background: white;
}

.hero-art {
  min-height: 270px;
  border-radius: 25px;
  background: linear-gradient(145deg, #eaf5fc, #fcebed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 35px;
  overflow: hidden;
}

.air-unit {
  width: 75%;
  height: 115px;
  padding: 15px;
  border: 1px solid #d5dce2;
  border-radius: 14px;
  background: linear-gradient(#fff, #edf1f4);
  box-shadow: 0 25px 45px #213c4a20;
  font-size: 10px;
  letter-spacing: 2px;
  color: #7b8790;
}

.vents {
  height: 8px;
  margin-top: 55px;
  border-radius: 5px;
  background: repeating-linear-gradient(
    90deg, #d0d8de 0 3px, transparent 3px 8px
  );
}

.hero-art > span {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #71828e;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 5%;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.stats div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.stats b {
  color: var(--red);
  font-size: 22px;
}

.stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.section {
  padding: 55px 5%;
}

.section h2, .contact h2 {
  font-size: clamp(25px, 3vw, 35px);
  margin: 10px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #182a3910;
}

.symbol {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: #fff0f1;
  color: var(--red);
  font-size: 25px;
  font-weight: 900;
}

.symbol.blue {
  background: #eaf5fc;
  color: var(--blue);
}

.card h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.card a, .productBtn {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.productBtn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.tinted {
  background: #f7f9fb;
}

.smart {
  background: var(--ink);
  color: #fff;
}

.smart p {
  max-width: 550px;
  color: #bac4cc;
  font-size: 13px;
  line-height: 2;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 800px;
  margin-top: 25px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e5e9;
  border-radius: 10px;
  background: white;
  outline: none;
  font-size: 12px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1674b815;
}

form label:nth-child(4),
form button,
#formMessage {
  grid-column: 1 / -1;
}

.contact {
  padding: 40px 5%;
  background: #fff0f1;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contacts a {
  padding: 11px 14px;
  border: 1px solid #f2d8da;
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

footer p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .topbar {
    height: 66px;
    padding: 0 12px;
    gap: 10px;
  }

  .brand b {
    font-size: 12px;
  }

  .brand small {
    font-size: 9px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .call {
    padding: 9px 11px;
    font-size: 10px;
  }

  .layout {
    display: block;
  }

  #sidebar {
    position: fixed;
    z-index: 30;
    top: 66px;
    right: 0;
    bottom: 0;
    width: 270px;
    height: auto;
    min-height: 0;
    box-shadow: -15px 0 35px #14253620;
    transform: translateX(110%);
    transition: transform .25s;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 35px 22px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-art {
    min-height: 220px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 22px;
  }

  .section {
    padding: 42px 22px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card {
    padding: 15px;
  }

  form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  form label:nth-child(4),
  form button,
  #formMessage {
    grid-column: 1;
  }

  footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 33px;
  }
}
