* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #071d59;
  --blue-light: #123b86;
  --orange: #ef8b25;
  --text: #182236;
  --muted: #687386;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e3e7ed;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
  height: 82px;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  width: 145px;
  height: auto;
}

.navigation {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.navigation a {
  font-size: 14px;
  font-weight: 700;
  color: #40495a;
}

.navigation a:hover {
  color: var(--blue);
}

.header-phone {
  background: var(--blue);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 700;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("backofen.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 18, 55, 0.94),
    rgba(4, 18, 55, 0.65),
    rgba(4, 18, 55, 0.20)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.label {
  display: inline-block;
  color: #ffc071;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.label.dark {
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -2px;
  max-width: 800px;
}

.hero p {
  margin-top: 25px;
  max-width: 650px;
  color: #e2e9f5;
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border-radius: 5px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button-orange {
  background: var(--orange);
  color: #ffffff;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.button-blue {
  background: var(--blue);
  color: #ffffff;
}


/* =========================
   INTRO
========================= */

.intro {
  padding: 90px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.product-content h2,
.about h2,
.contact h2 {
  color: var(--blue);
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.intro-text {
  font-size: 23px;
  color: var(--text);
  margin-bottom: 20px;
}

.intro p {
  color: var(--muted);
}


/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 18px;
}


/* =========================
   SERVICES
========================= */

.services {
  background: var(--light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #dfe4eb;
}

.service {
  background: #ffffff;
  padding: 35px 30px;
  min-height: 260px;
}

.service-number {
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 55px;
}

.service h3 {
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 10px;
}

.service p {
  color: var(--muted);
}


/* =========================
   PRODUCTS
========================= */

.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}

.product-section.reverse .product-image {
  order: 2;
}

.product-section.reverse .product-content {
  order: 1;
}

.product-image {
  overflow: hidden;
  background: #e9edf2;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.product-content {
  padding: 90px 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-content .large {
  font-size: 22px;
  color: var(--text);
  margin: 22px 0 15px;
}

.product-content p {
  color: var(--muted);
}

.product-content ul {
  list-style: none;
  margin: 28px 0;
}

.product-content li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.product-content li::before {
  content: "✓";
  color: var(--orange);
  font-weight: bold;
  margin-right: 12px;
}

.text-button {
  color: var(--blue);
  font-weight: 800;
}


/* =========================
   ABOUT
========================= */

.about {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about p {
  color: var(--muted);
  margin: 20px 0;
}

.about .large {
  color: var(--text);
  font-size: 21px;
}

.about-box {
  background: var(--blue);
  color: #ffffff;
  padding: 50px;
}

.about-box img {
  width: 200px;
  background: #ffffff;
  padding: 8px;
  margin-bottom: 40px;
}

.about-box div {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0;
}

.about-box strong {
  display: block;
  font-size: 21px;
}

.about-box span {
  color: #c8d5ed;
}


/* =========================
   CONTACT
========================= */

.contact {
  background: var(--blue);
  color: #ffffff;
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.contact h2 {
  color: #ffffff;
}

.contact-info > p {
  color: #ccd8ee;
  font-size: 18px;
  margin: 22px 0 35px;
  max-width: 500px;
}

.contact-details {
  display: grid;
  gap: 10px;
}

.contact-details a,
.contact-details div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-details span {
  display: block;
  color: #9fb1d0;
  font-size: 13px;
}

.contact-details strong {
  font-size: 18px;
}

.form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 5px;
}

.form-box label {
  display: block;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 17px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  display: block;
  border: 1px solid #d4dbe5;
  border-radius: 4px;
  padding: 13px;
  margin-top: 7px;
  font: inherit;
}

.form-box textarea {
  resize: vertical;
}

.form-box .button {
  border: 0;
}


/* =========================
   FOOTER
========================= */

.footer {
  background: #041331;
  color: #ffffff;
  padding-top: 65px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-logo {
  width: 165px;
  background: #ffffff;
  padding: 7px;
  margin-bottom: 15px;
}

.footer p {
  color: #aebbd1;
  margin-top: 8px;
}

.footer h3 {
  margin-bottom: 18px;
}

.footer a {
  display: block;
  color: #c8d4e8;
  margin-bottom: 9px;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ba9c1;
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  color: #ffffff;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .navigation {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 25px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .navigation.open {
    display: flex;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .header-phone {
    display: none;
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-section {
    grid-template-columns: 1fr;
  }

  .product-section.reverse .product-image,
  .product-section.reverse .product-content {
    order: initial;
  }

  .product-image img {
    min-height: 420px;
  }
}


/* =========================
   HANDY
========================= */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero p {
    font-size: 17px;
  }

  .section,
  .intro {
    padding: 65px 0;
  }

  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 25px;
  }

  .product-content {
    padding: 65px 25px;
  }

  .product-image img {
    min-height: 330px;
  }

  .form-box {
    padding: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
  }
}