/*
Theme Name: Astra Child
Template: astra
*/

body {
  background: #fff !important;
}

/*форма Золина*/
/* ===== ZOLIN FORM ===== */

.zol-form {
  margin-top: 20px;
}

.zol-fields {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.zol-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 16px;
  background: #f7f7f7;
}

.zol-input:focus {
  border-color: #b30000;
  outline: none;
  background: #fff;
}

.zol-agree {
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
  margin-top: -60px;
}

.zol-agree a {
  color: #b30000;
  text-decoration: underline;
}

.zol-button input[type="submit"] {
  background: linear-gradient(180deg, #c40000 0%, #8f0000 100%);
  color: #fff;
  padding: 16px 50px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 5px 0 #5c0000;
  transition: all 0.2s ease;
}

.zol-button input[type="submit"]:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #5c0000;
}

/* Убираем лишние стили CF7 */
.wpcf7 form .wpcf7-response-output {
  margin: 15px 0 0;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Адаптив */
@media (max-width: 768px) {
  .zol-fields {
      flex-direction: column;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  /* position: sticky;
  top: 0;
  z-index: 1000; */
}

.container {
  /* max-width: 1200px; */
  margin: auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Лого */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo img {
  width: 165px; /* fallback для старых браузеров */
  width: clamp(100px, 14vw, 200px);
}
.logo-icon {
  color: red;
  font-size: 28px;
}

.logo-text strong {
  display: block;
  font-size: 18px;
}

.logo-text span {
  font-size: 12px;
  color: #777;
}

/* Навигация */
.nav {
  display: flex;
  gap: 15px;
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
  font-size: clamp(12px, 0.8vw, 17px);
  white-space: nowrap;
}

.nav a:hover {
  color: red;
}

/* Контакты */
.contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phones {
  display: flex;
  flex-direction: column;
  width: 121px;
}

.phones a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.btn {
  background: red;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  width: 165px;
  text-align: center;
}
.btn a:focus, .btn a:hover, .btn a:visited, .btn a:active {
	color: #000;
}
.btn:hover {
  background: #cc0000;
  color: #fff;
}
.btn:focus, .btn:hover, .btn:visited, .btn:active {
	color: #fff;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #000;
}

/* Мобильное меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 0 0 20px;
}

.mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: #333;
  font-weight: 400;
  text-transform: uppercase;
}

.mobile-contacts {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Адаптив */
@media (max-width: 992px) {
  .nav
  {
    display: none;
  }
  .logo img {
    width: 165px;
  }

  .burger {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
	flex-direction: row;
    justify-content: space-around;
  }
  .phones {
  flex-direction: row;
  gap: 15px;
  width: auto;	
}
.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 20px;
  margin-bottom: 20px;
}
}

/* Убираем стандартные стили списка */
.nav ul,
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Десктоп меню */
.nav ul {
  display: flex;
  gap: 15px;
}

/* Ссылки */
.nav li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
  font-size: clamp(13px, 0.9vw, 17px);
  white-space: nowrap;
  text-transform: uppercase;
}

.nav li a:hover {
  color: red;
}

/* Мобильное меню */
.mobile-menu ul {
  display: flex;
  gap: 25px;
}

.mobile-menu li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}
@media (max-width: 720px) {

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;

    background: #fff;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: right 0.3s ease;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .mobile-menu a {
    font-size: 21px;
    font-weight: 600;
  }

  .burger {
    z-index: 10000;
  }
  .contacts {
    flex-direction: column;
  }
  .phones, .btn {
    display: none;
  }
}

@media (min-width: 1250px) {
.nav ul {
	gap: 45px;
}
}




.popup-top img{
    width:100%;
    display:block;
    border-radius:20px 20px 0 0;
}

.popup-title{
    text-align:center;
    padding:30px 20px;
}

.popup-title h2{
    font-size:48px;
    font-weight:700;
    margin-bottom:15px;
}

.popup-title p{
    color:#666;
}

.popup-form{
    padding:0 30px 30px;
}

.form-input{
    width:100%;
    height:60px;
    border:1px solid #bdeeee;
    border-radius:12px;
    padding:0 20px;
    margin-bottom:20px;
    font-size:18px;
}

.form-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:12px;
    background:#ffb300;
    color:#fff;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
}

.checkbox-row{
    margin-bottom:15px;
    font-size:14px;
    color:#555;
}

.checkbox-row input{
    margin-right:10px;
}

.wpcf7-spinner{
    display:none;
}

input[type="submit"] {
    border-color: #E7302A;
    background-color: #E7302A;
}
input[type="submit"]:hover {
    border-color: #E7302A;
    background-color: #cc0000;
}



.fg-default.fg-left{
  justify-content: center;
}


/* Выравнить логотип на главной*/
@media (max-width: 500px) {
.wp-image-44 {
  float: none!important;
  width: 100%;
  margin: auto;
  display: block;
}
}