/* ========================================
   CSS-переменные
   ======================================== */
:root {
  --color-primary: #1a8cff;
  --color-primary-dark: #0066cc;
  --color-accent: #00c2ff;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-bg: #ffffff;
  --color-bg-light: #f0f8ff;
  --color-bg-dark: #1a2332;
  --color-border: #dfe6e9;

  --color-navy: #0b1d3a;
  --color-navy-dark: #061428;
  --color-yellow: #F57C00;
  --color-yellow-hover: #ffd84d;
  --color-white: #ffffff;

  --font-family: 'Montserrat', sans-serif;
  --container-width: 1200px;
  --section-padding: 80px 0;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* ========================================
   Reset / Normalize-lite
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  padding-top: var(--header-height);
}

body.menu-open {
  overflow: hidden;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Утилиты
   ======================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--color-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.header--scrolled {
  background-color: var(--color-navy-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.header__logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.2;
  transition: opacity var(--transition), transform var(--transition);
}

.header__logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.header__logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.header__logo-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  transition: color var(--transition);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-yellow);
  transition: width var(--transition);
}

.header__link:hover {
  color: var(--color-yellow);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header__actions--mobile {
  display: none;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
  transition: color var(--transition), transform var(--transition);
}

.header__phone i {
  color: var(--color-yellow);
  transition: transform var(--transition);
}

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

.header__phone:hover i {
  transform: rotate(-15deg) scale(1.1);
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--color-yellow);
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__btn:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
}

.header__btn:active {
  transform: translateY(0);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 1001;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.header__burger.is-active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 90vh;
  background-image: url('../images/what-are-the-components-of-a-residential-hvac-system-guid.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 20, 40, 0.45);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  padding: 60px 20px;
}

.hero__content {
  flex: 1;
  max-width: 620px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-navy);
  background-color: var(--color-yellow);
  border-radius: 4px;
}

.hero__title {
  margin-bottom: 20px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
}

.hero__text {
  max-width: 540px;
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hero__btn--primary {
  color: var(--color-navy);
  background-color: var(--color-yellow);
}

.hero__btn--primary:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
}

.hero__btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  transition: .3s ease;
}

.hero__btn--outline:hover {
  background: #F57C00;
  border-color: #F57C00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 124, 0, 0.35);
}

.hero__btn:active {
  transform: translateY(0);
}

.hero__card {
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
  padding: 32px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--color-navy);
  background-color: rgba(245, 197, 24, 0.15);
  border-radius: 50%;
}

.hero__card-title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.hero__card-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-yellow);
}

.hero__card-phone {
  display: block;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  transition: color var(--transition);
}

.hero__card-phone:hover {
  color: var(--color-primary-dark);
}

.hero__card-desc {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.hero__card-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-navy);
  background-color: var(--color-yellow);
  border-radius: 4px;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero__card-btn:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__animate {
  animation: heroFadeIn 0.8s ease forwards;
  opacity: 0;
}

.hero__animate--delay {
  animation-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__animate {
    animation: none;
    opacity: 1;
  }
}

/* ========================================
   Секции
   ======================================== */
.services,
.about,
.advantages,
.steps,
.prices,
.reviews,
.faq,
.contacts {
  padding: var(--section-padding);
}

.about,
.prices {
  background-color: var(--color-bg-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 40px 0;
  background-color: var(--color-bg-dark);
  color: #ffffff;
}

.footer__inner {
  min-height: 120px;
}
/* =========================
   SERVICES
========================= */

.services {
  padding: 100px 0;
  background: #f8f9fb;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f57c00;
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #07162b;
  margin-bottom: 20px;
}

.section-description {
  font-size: 17px;
  line-height: 1.8;
  color: #6b7280;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 0;
  background: #f57c00;
  transition: .35s;
}

.service-card:hover::before {
  height: 100%;
}

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

.service-card i {
  font-size: 42px;
  color: #1e73e8;
  margin-bottom: 25px;
  transition: .35s;
}

.service-card:hover i {
  color: #f57c00;
}

.service-card h3 {
  font-size: 24px;
  color: #07162b;
  margin-bottom: 15px;
}

.service-card p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card a {
  color: #1e73e8;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
}

.service-card a:hover {
  color: #f57c00;
}

/*=========================
    WHY CHOOSE US
=========================*/

.advantages{
  padding:100px 0;
  background:#07162B;
}

.advantages .section-title{
  color:#fff;
}

.advantages .section-description{
  color:#c8d0da;
}

.advantages__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.advantage-card{
  background:#10233f;
  padding:40px 30px;
  border-radius:20px;
  text-align:center;
  transition:.35s;
  border:1px solid transparent;
}

.advantage-card:hover{
  transform:translateY(-10px);
  border-color:#F57C00;
}

.advantage-card i{
  font-size:46px;
  color:#F57C00;
  margin-bottom:25px;
}

.advantage-card h3{
  color:#fff;
  margin-bottom:15px;
  font-size:22px;
}

.advantage-card p{
  color:#c8d0da;
  line-height:1.8;
}
/*=========================
        REVIEWS
=========================*/

.reviews{
  padding:100px 0;
  background:#f8f9fb;
}

.reviews__box{

  display:flex;
  align-items:center;
  justify-content:center;
  gap:70px;

  margin-top:60px;

  background:#fff;
  padding:60px;

  border-radius:25px;

  box-shadow:0 20px 50px rgba(0,0,0,.08);

}

.reviews__qr img{
  width:260px;
  display:block;

}

.reviews__content{

  max-width:500px;

}

.reviews__content i{

  font-size:70px;
  color:#4285F4;

  margin-bottom:25px;

}

.reviews__content h3{

  font-size:34px;
  color:#07162B;

  margin-bottom:20px;

}

.reviews__content p{

  line-height:1.8;
  color:#666;

  margin-bottom:35px;

}

.reviews__btn{

  display:inline-block;

  padding:16px 34px;

  background:#F57C00;

  color:#fff;

  border-radius:10px;

  text-decoration:none;

  font-weight:600;

  transition:.3s;

}

.reviews__btn:hover{

  background:#e46d00;

}
/*=========================
        CONTACTS
=========================*/

.contacts {
  padding: 100px 0;
  background: #07162B;
}

.contacts .section-title {
  color: #fff;
}

.contacts .section-description {
  color: #cfd8e3;
}

/* .contacts__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 60px;
  align-items: start;
} */

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #10233F;
  padding: 25px;
  border-radius: 15px;
  transition: .3s;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item i {
  font-size: 26px;
  color: #F57C00;
  min-width: 30px;
  margin-top: 3px;
}

.contact-item h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-item a,
.contact-item p {
  color: #cfd8e3;
  text-decoration: none;
  line-height: 1.6;
}

.contact-item a:hover {
  color: #F57C00;
}

/* .contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  transition: .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #F57C00;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 10px;
  background: #F57C00;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.contact-form button:hover {
  background: #d96e00;
} */

/*=========================
        FOOTER
=========================*/

.footer{

  background:#05101f;

  color:#fff;

  padding:70px 0 30px;

}

.footer__grid{

  display:grid;

  grid-template-columns:2fr 1fr 1.3fr 1fr;

  gap:40px;

}

.footer__logo{

  font-size:34px;

  margin-bottom:20px;

}

.footer__text{

  color:#b7c2d0;

  line-height:1.8;

}

.footer__column h4{

  margin-bottom:20px;

  font-size:22px;

}

.footer__menu{

  list-style:none;

}

.footer__menu li{

  margin-bottom:12px;

}

.footer__menu a{

  color:#b7c2d0;

  text-decoration:none;

  transition:.3s;

}

.footer__menu a:hover{

  color:#F57C00;

}

.footer__column p{

  color:#b7c2d0;

  margin-bottom:15px;

  line-height:1.7;

}

.footer__social{

  display:flex;

  gap:18px;

}

.footer__social a{

  width:50px;

  height:50px;

  display:flex;

  justify-content:center;

  align-items:center;

  border-radius:50%;

  background:#10233F;

  color:#fff;

  text-decoration:none;

  font-size:22px;

  transition:.3s;

}

.footer__social a:hover{

  background:#F57C00;

  transform:translateY(-5px);

}

.footer__bottom{

  margin-top:60px;

  padding-top:25px;

  border-top:1px solid rgba(255,255,255,.1);

  text-align:center;

  color:#8f9bab;

}
/*=========================
        PROJECTS
=========================*/

.projects{

  padding:100px 0;

  background:#fff;

}

.projects__grid{

  margin-top:60px;

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:25px;

}

.projects__item{

  overflow:hidden;

  border-radius:18px;

  box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.projects__item img{

  width:100%;

  height:320px;

  object-fit:cover;

  display:block;

  transition:.4s;

}

.projects__item:hover img{

  transform:scale(1.08);

}