:root {
  --primary: #8aa9b9;
  --primary-light: #b3c9d6;
  --secondary: #d4c5b9;
  --accent: #c7b198;
  --text-dark: #4a4a4a;
  --text-light: #6b6b6b;
  --bg-light: #f9f6f2;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.floating-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.floating-call__link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(138, 169, 185, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-call__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 169, 185, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo__img {
  height: 70px;
  width: auto;
}

.logo__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__phone {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.header__phone:hover {
  color: var(--primary);
}

.header__socials {
  display: flex;
  gap: 12px;
}

.header__socials a {
  color: var(--primary);
  font-size: 1.3rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav {
  background: var(--primary);
  transition: transform 0.3s ease;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 10px 0;
}

.nav__list a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav__list a:hover {
  border-bottom-color: white;
}

.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f6f2 0%, #ece3da 100%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero__title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  background: var(--primary-light);
}

.btn--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
}

.hero__image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}

.about {
  padding: 60px 0;
  background: var(--white);
}

.about__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
  line-height: 1.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.construction-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.construction-grid .project-card {
  width: calc(50% - 15px);
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__content {
  padding: 20px;
}

.project-card__btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card__btn:hover {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card__btn {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card__btn:hover {
  background: var(--primary);
  color: white;
}

.all-services {
  padding: 60px 0;
  background: var(--white);
}

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.all-service-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.all-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.all-service-item i {
  font-size: 2rem;
  color: var(--primary);
}

.advantages {
  padding: 60px 0;
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.advantage-card {
  text-align: center;
  padding: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.steps-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 10px;
}

.steps-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-light);
}

.steps-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0 30px;
}

.steps-slider .step {
  flex: 0 0 auto;
  width: 180px;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.steps-slider .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  line-height: 30px;
  margin-bottom: 10px;
}

.contact {
  padding: 60px 0;
  background: var(--bg-light);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact__info {
  max-width: 100%;
  text-align: left;
}

.contact__title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left;
}

.contact__list {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin-bottom: 20px;
}

.contact__list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__list i {
  color: var(--primary);
  width: 20px;
}

.contact__call {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact__qr p {
  margin-bottom: 10px;
  font-weight: 600;
}

.qr-grid {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 15px;
}

.qr-grid a {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.qr-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__map {
  position: relative;
  width: 100%;
  height: 450px;
  background: #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: #2e3b4e;
  color: white;
  padding: 40px 0 20px;
}

.footer__container {
  text-align: center;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer .logo__name {
  color: white;
}

.footer__socials {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.footer__socials a {
  font-size: 1.4rem;
}

@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
  .contact__map {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .header__contacts {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    transform: translateX(-100%);
    padding-top: 80px;
    z-index: 105;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .construction-grid {
    flex-direction: column;
  }
  .construction-grid .project-card {
    width: 100%;
  }
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
  .qr-grid {
    justify-content: center;
  }
  .contact__title {
    text-align: center;
  }
  .contact__list {
    text-align: left;
    display: block;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .qr-grid a {
    width: 100px;
    height: 100px;
  }
  .contact__map {
    height: 300px;
  }
}
