@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Regular.woff2') format('woff2'),
       url('../fonts/RobotoCondensed-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Bold.woff2') format('woff2'),
       url('../fonts/RobotoCondensed-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */

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

/* убираем отступы */
body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol {
  margin: 0;
  padding: 0;
}

/* списки */
ul, ol {
  list-style: none;
}

/* ссылки */
a {
  text-decoration: none;
  color: inherit;
}

/* картинки */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* кнопки */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* формы */
input, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;	
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
}

header, footer {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

footer {
  border-top: 1px solid #eee;
  border-bottom: none;
  margin-top: 40px;
}


/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: 0.3s;
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
} /* layout */
.header__inner {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  align-items: center;
  gap: 20px;
} /* LOGO */
.header__logo {
  display: flex;
  align-items: center;
}
.custom-logo {
  max-height: 40px;
  width: auto;
} /* ===== MENU WRAPPER ===== */
.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
} /* ===== DESKTOP MENU ===== */
.nav .menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
} /* убираем возможные вложенные UL от WordPress */
.nav .menu ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
} /* пункты */
.nav .menu li {
  position: relative;
} /* ссылки */
.nav .menu li a {
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 0;
  transition: 0.2s ease;
} /* hover */
.nav .menu li a:hover {
  opacity: 0.7;
} /* RIGHT BLOCK */
.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
} /* VK */
.header__vk {
  font-weight: 600;
  text-decoration: none;
  color: #111;
} /* PHONE */
.header__phone {
  position: relative;
}
.phone-trigger {
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #111;
} /* DROPDOWN */
.phone-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 10;
}
.header__phone.active .phone-dropdown {
  display: flex;
}
.callback-btn {
  margin-top: 10px;
  padding: 8px 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
} /* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: #111;
} 

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header__inner {
    grid-template-columns: 1fr auto auto;
	  position: relative;
  }
  .header__menu {
    display: none;
  }
  .header__vk {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: none;
    flex-direction: column;
    z-index: 999;
  }
   .nav.active {
    display: flex;
  }
  .nav .menu {
    flex-direction: column;
    gap: 0;
  }
  .nav .menu li {
    border-bottom: 1px solid #eee;
  }
  .nav .menu li a {
    padding: 15px;
  }
}



/* ===== HERO ===== */

.hero {
  padding: 120px 0;
}

/* контент */
.hero__content {
  max-width: 800px;
}

/* заголовок */
.hero h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 25px;
}

/* текст */
.hero p {
  font-size: 18px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* доп блок */
.hero__extra {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* телефон */
.phone {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  display: inline-block;
}

/* кнопка */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 38px;
  background: #fff;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.2s ease;
  max-width: 300px;
	text-align:center;
}

.btn:hover {
  opacity: 0.85;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .hero {
    padding: 80px 0;
  }

  .hero__content {
    max-width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

}

.services {
  padding: 100px 0;
}

.services__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

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


/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
}

/* layout */
.about__inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LEFT */
.about__content {
  flex: 1;
}

.about__title {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about__text {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* RIGHT */
.about__image {
  flex: 1;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .about__inner {
    flex-direction: column;
  }

  .about {
    padding: 60px 0;
  }

}


/* ===== SERVICE CARD ===== */

.service {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;

  display: flex;
  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* hover */
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* title */
.service h3 {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* text */
.service p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* link */
.service__link {
  margin-top: auto;
  font-weight: 500;
  color: #111;
  display: inline-block;
  position: relative;
  width: fit-content;
}

/* underline animation */
.service__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0%;
  height: 2px;
  background: currentColor;

  transition: width 0.25s ease;
}

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

/* ===== SERVICES RESPONSIVE ===== */

@media (max-width: 768px) {

  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service {
    padding: 20px;
  }

  .service h3 {
    font-size: 18px;
  }

  .service p {
    font-size: 14px;
  }

  .service:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  .service__link::after {
    bottom: -2px;
  }

}

@media (max-width: 480px) {

  .services {
    padding: 60px 0;
  }

  .service {
    padding: 18px;
  }

  .services__title {
    font-size: 26px;
  }

}


.stats {
  padding: 80px 0;
  background: #fafafa;
}

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

.stat__num {
  font-size: 42px;
  font-weight: 700;
  color: #111;
}

.stat__text {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat__num {
    font-size: 34px;
  }
}

/* ===== FAQ ===== */

.faq {
  padding: 90px 0;
  background: #fafafa;
}

.faq__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.faq__list {
  max-width: 100%;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

/* question */
.faq__question {
  width: 100%;
  padding: 18px 20px;

  background: none;
  border: none;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

/* icon */
.faq__icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* answer */
.faq__answer {
  max-height: 0;
  overflow: hidden;

  padding: 0 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.5;

  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* active state */
.faq__item.active .faq__answer {
  padding: 0 20px 18px;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {

  .faq {
    padding: 70px 0;
  }

  .faq__title {
    font-size: 26px;
  }

  .faq__question {
    font-size: 15px;
  }

  .faq__answer {
    font-size: 14px;
  }

}

/* ===== BLOG WRAPPER ===== */

.blog__title {
  margin-bottom: 30px;
}

/* ===== LIST ===== */
.blog__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== CARD ===== */
.post-card {
  display: flex;
  gap: 20px;

  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;

  transition: 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* IMAGE */
.post-card__img {
  flex: 0 0 260px;
  display: block;
}

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.post-card__content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* DATE */
.post-card__meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
}

/* TITLE */
.post-card__title {
  text-decoration: none;
  color: #111;
}

.post-card__title h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* EXCERPT */
.post-card__excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* LINK */
.post-card__link {
  font-weight: 500;
  color: #111;
  text-decoration: none;
  margin-top: auto;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .post-card {
    flex-direction: column;
  }

  .post-card__img {
    flex: none;
    height: 200px;
  }

}


/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #fff;
  padding: 50px 0;
}

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

/* columns */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* links */
.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

/* phone */
.footer__phone {
  font-weight: 700;
  font-size: 18px;
}

/* title */
.footer__title {
  font-weight: 600;
  margin-bottom: 5px;
}

/* text */
.footer__text {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* copy */
.footer__copy {
  font-size: 14px;
  font-weight: 600;
}

.footer__desc {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

}

