:root {
  --color-orange: #f86816;
  --color-orange-dark: #e62e00;
  --color-dark: #303030;
  --color-soft: #f3eced;
  --color-text: #7a7a7a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: #000000;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #303030;
  background: var(--color-soft);
  overflow-x: hidden;
}

main#content > section {
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 80px;
  padding-top: 0;
  z-index: 50;
  background-image: linear-gradient(180deg, #000000 0%, #00000000 100%);
}

main#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header-container {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.brand-link {
  width: clamp(146px, 11vw, 210px);
  max-width: none;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  margin: 0 auto;
  background-color: var(--color-orange);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: #f3eced;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  position: relative;
  padding: 0.2rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #f3eced;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-one {
  background-image: url("../img/slide-1.webp");
}

.hero-slide-two {
  background-image: url("../img/slide-2.webp");
}

.hero-caption-wrap {
  position: relative;
  min-height: 100vh;
}

.hero-caption-box {
  position: absolute;
  left: 12%;
  bottom: 15%;
  width: min(35%, 540px);
  min-height: 200px;
  border-radius: 3px;
  padding: 22px;
  background-color: #00000099;
  color: #ffffff;
}

.hero-caption-box h1,
.hero-caption-box h2 {
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 1.25;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.hero-caption-box p {
  margin: 0;
  line-height: 1.6;
}

.hero-button {
  display: inline-block;
  margin-top: 14px;
  border-radius: 5px;
  background-color: var(--color-orange);
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  padding: 10px 18px;
}

.services-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  background-image: linear-gradient(180deg, var(--color-orange-dark) 0%, var(--color-orange) 100%);
}

.services-section .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.services-title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.35;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

.service-item {
  min-height: 350px;
  padding: 1rem;
  color: #ffffff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px -1px rgba(0, 0, 0, 0.5);
}

.service-item img {
  width: 22%;
  min-width: 95px;
  margin: 0 auto 15px;
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.service-item p {
  margin: 0;
  line-height: 1.65;
}

.about-section {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-text-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 1rem;
}

.about-text-pane h2 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-orange);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.about-text-pane p {
  width: min(60%, 680px);
  max-width: 100%;
  margin: 1rem 0 0;
  text-align: justify;
  color: var(--color-text);
  line-height: 1.65;
}

.about-image-pane {
  min-height: 620px;
  background-image: url("../img/about-side.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-section {
  padding: 56px 0;
  background-color: var(--color-dark);
}

.contact-title {
  margin: 0 0 16px;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
}

.contact-form {
  width: min(100%, 980px);
  margin-inline: auto;
}

.form-row {
  margin: 0 0 15px;
}

.form-row-double {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 0;
  background-color: #ffffff;
  color: #303030;
  font: inherit;
}

.contact-form input,
.contact-form select {
  height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  padding: 10px 12px;
  resize: vertical;
  min-height: 112px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(248, 104, 22, 0.35);
  border-color: var(--color-orange);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.submit-button {
  width: 20%;
  min-width: 140px;
  border: 0;
  border-radius: 5px;
  background-color: var(--color-orange);
  color: #ffffff;
  padding: 10px 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.submit-button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.form-status {
  margin: 10px 0 0;
  min-height: 1.4rem;
  color: #ffffff;
}

.form-status.success {
  color: #9bf5b5;
}

.form-status.error {
  color: #ffc5c5;
}

.contact-address {
  margin: 20px 0 0;
  text-align: center;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.site-footer {
  margin: 0;
  padding: 0 24px 18px;
  background-color: var(--color-soft);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
}

.footer-logo {
  width: clamp(150px, 16vw, 220px);
  max-width: none;
  flex-shrink: 0;
}

.footer-group-logo {
  width: clamp(100px, 13vw, 170px);
  max-width: none;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 21px;
}

.footer-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
}

.footer-social a[aria-label="Instagram"] svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(0.2px);
}

.footer-social a[aria-label="LinkedIn"] svg {
  width: 25px;
  height: 25px;
}

.footer-social a[aria-label="Facebook"] svg {
  width: 25px;
  height: 25px;
}

.footer-copyright {
  margin: 0.65rem 0 0;
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  color: #565656;
}

@media (max-width: 1024px) {
  .container {
    width: min(1200px, calc(100% - 2rem));
  }

  .brand-link {
    width: clamp(130px, 17vw, 185px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .hero-caption-box {
    left: auto;
    right: 10%;
    bottom: 5%;
    width: min(74%, 720px);
    padding: 20px;
  }

  .about-text-pane p {
    width: min(90%, 760px);
  }

  .footer-logo {
    width: clamp(145px, 20vw, 200px);
  }

  .footer-group-logo {
    width: clamp(100px, 17vw, 150px);
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .site-header {
    min-height: 72px;
    padding-top: 4px;
  }

  .header-container {
    min-height: 62px;
    justify-content: space-between;
  }

  .brand-link {
    width: clamp(130px, 38vw, 170px);
  }

  .hero-caption-box {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    min-height: 163px;
    border-radius: 6px;
    padding: 16px;
  }

  .hero-caption-box h1,
  .hero-caption-box h2 {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }

  .hero-caption-box p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .services-title {
    font-size: 25px;
    line-height: 1.3;
  }

  .services-grid,
  .about-section,
  .form-row-double {
    grid-template-columns: 1fr;
  }

  .services-section {
    min-height: auto;
    padding: 48px 0;
  }

  .service-item {
    min-height: 0;
    padding: 1.2rem 0.6rem;
  }

  .service-item p {
    line-height: 1.55;
  }

  .about-image-pane {
    min-height: 360px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-form {
    padding-inline: 4px;
  }

  .contact-form input,
  .contact-form select {
    height: 46px;
  }

  .contact-form textarea {
    min-height: 128px;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
    height: 46px;
  }

  .contact-address {
    font-size: 15px;
    line-height: 1.5;
    padding-inline: 4px;
  }

  .site-footer {
    padding: 0 12px 16px;
  }

  .footer-main {
    justify-content: center;
    gap: 12px;
  }

  .footer-logo {
    width: clamp(130px, 48vw, 180px);
  }

  .footer-group-logo {
    width: clamp(96px, 40vw, 140px);
  }

  .footer-social {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-copyright {
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.45;
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1280px, calc(100% - 5rem));
  }

  .main-nav a {
    font-size: 15px;
  }

  .hero-caption-box {
    left: 9%;
    width: min(32%, 560px);
  }

  .services-title {
    font-size: clamp(1.7rem, 2vw, 2.3rem);
  }
}
