/*
Theme Name: Ascors Landings
Theme URI: https://promo.askorst.ru/
Author: Kuanyshev Miram
Author URI: 
Description:
Requires at least: 
Tested up to:
Requires PHP:
Version: 
License: GNU General Public License v2 or later
License URI: 
Text Domain: 
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */


 body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    font-size: 1.1rem;
    color: #fff;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #fff;
}

.header {
    background-image: url(https://promo.askorst.ru/wp-content/uploads/2025/05/background-scaled.webp);
    background-repeat: no-repeat;
    padding: 20px;
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-logo {
    width: 220px;
}

.custom-logo {
    width: 100%;
    height: 40px;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    height: 100%;
}

.navigation-menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation-menu__item {
    padding: 0 7px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    box-sizing: border-box;
}
.navigation-menu__link {
    padding: 0 17px;
}


.navigation-menu__item>a:hover {
    color: rgba(34, 34, 34, .65);
    transition: .5s;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.burger-line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Адаптация для планшетов и мобильных */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        z-index: 10;
    }
    
    .navigation-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #058990;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding-top: 60px;
        z-index: 5;
    }
    
    .navigation-menu.active {
        right: 0;
    }
    
    .navigation-menu__item {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .header {
        height: auto;
        padding: 15px;
    }
}

/* Анимация бургера в крестик */
.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/*Баннер*/

/* Основные стили баннера */
.fullscreen-banner {
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  background-image: 
    linear-gradient(135deg, rgba(245, 247, 250, 0.8) 0%, rgba(195, 207, 226, 0.8) 100%),
    url('../img/background.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  padding: 20px 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.top-logos {
  width: 100%;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  border-radius: 10px;
}

.banner-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 40px 0;
}

.banner-content {
  flex: 1;
  min-width: 300px;
  padding-right: 60px;
  position: relative;
  z-index: 1;
}

.banner-image {
  flex: 1.2;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.banner-title {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-text {
  font-size: 1.3rem;
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Стили для логотипов партнеров */
.logos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-item {
  max-width: 150px;
  height: auto;
  padding: 10px;
}

.partner-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* Стили кнопки */
.banner-button {
  padding: 15px 40px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.banner-button:hover {
  background-color: #1a252f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Стили изображения */
.main-image {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 1s ease-out forwards;
}

.banner-title {
  animation-delay: 0.2s;
}

.banner-text {
  animation-delay: 0.4s;
}

.banner-button {
  animation-delay: 0.6s;
}

.main-image {
  animation-delay: 0.8s;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .banner-content {
    padding-right: 30px;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
  
  .banner-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    text-align: center;
  }
  
  .banner-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .banner-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .logo-item {
    max-width: 120px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-text {
    font-size: 1rem;
  }
  
  .logo-item {
    max-width: 100px;
    padding: 5px;
  gap: 15px;
  }
  
  .banner-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .main-image {
    max-height: 50vh;
  }
}

/*Риски*/

/* Основные стили */
.car-risks {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.risks-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #01AFB8;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* Стили карточек */
.risks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.risk-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.risk-card:nth-child(1) { animation-delay: 0.1s; }
.risk-card:nth-child(2) { animation-delay: 0.3s; }
.risk-card:nth-child(3) { animation-delay: 0.5s; }
.risk-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  to { transform: translateY(0); opacity: 1; }
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f9fe;
  position: relative;
}

.risk-svg {
  width: 70px;
  height: 70px;
}

.card-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.card-content {
  text-align: center;
  margin-bottom: 20px;
  color: #34495e;
  line-height: 1.6;
}

.card-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  transition: all 0.5s ease;
}

/* Эффекты при наведении */
.risk-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.risk-card:hover .card-wave {
  height: 10px;
}
.risk-card[data-risk="default"] .card-wave {
  background: linear-gradient(90deg, #01AFB8, #00FFFF);
}

/* Декоративные элементы */
.car-risks::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
  border-radius: 50%;
}

.car-risks::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0) 70%);
  border-radius: 50%;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .risks-container {
    gap: 20px;
  }
  
  .risk-card {
    padding: 25px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
  .car-risks {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .risks-header {
    margin-bottom: 40px;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
}

/*Блок с теткой*/

/* Основные стили блока */
.insurance-offer {
  background: url(https://promo.askorst.ru/wp-content/uploads/2025/05/background-scaled.webp);
  background-size: cover;
  color: white;
  padding: 60px 20px 0px 20px;
  position: relative;
  overflow: hidden;
}

.offer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}

.offer-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  margin-bottom: 20px;
}

.offer-image {
  min-width: 300px;
  text-align: center;
  position: relative;
}

/* Текстовая часть */
.offer-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
  position: relative;
}

.offer-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: #2c3e50;
  border-radius: 2px;
}

.partner-block {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 15px;
}

.partner-text {
  font-size: 1.2rem;
  line-height: 1.4;
  opacity: 0.9;
}

.offer-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 500px;
}

/* Изображение */
.docs-image {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

.feedback-docs__image {    
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));

}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Декоративные элементы */
.insurance-offer::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.insurance-offer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
  .offer-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .partner-block {
    justify-content: center;
  }
  
  .offer-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .offer-title {
    font-size: 2.2rem;
  }
  
  .offer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .offer-image {
    display: none;
    }
    .feedback-image{
        display: none;
    }
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
  .insurance-offer {
    padding: 40px 15px;
  }
  
  .offer-title {
    font-size: 1.8rem;
  }
  
  .partner-block {
    flex-direction: column;
    text-align: center;
  }
  
  .partner-text {
    font-size: 1rem;
  }
  
  .offer-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/*Вопрос ответ*/


/* Основные стили */
.faq-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* Стили элементов FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: #01AFB8;
}

.question-text {
  margin-right: 15px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #01AFB8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.answer-content {
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Анимация при открытии */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
  color: #1a252f;
}

.faq-answer small {
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
  color: #1a252f;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 15px;
  }
  
  .faq-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .answer-content {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 15px;
  }
}


/*форма*/

/* Основные стили формы */
.application-form {
  padding: 60px 20px 20px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.form-container {
  width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 40px;
}

.form-title {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-subtitle {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Стили полей ввода */
.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-bottom-color: transparent;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  transform: translateY(-25px);
  font-size: 0.8rem;
  color: #01AFB8;
}

.wpcf7-form-control-wrap:focus-within + .form-label {
  transform: translateY(-25px);
  font-size: 0.8rem;
  color: #01AFB8;
}

.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  color: #95a5a6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-label.active {
  transform: translateY(-25px);
  font-size: 0.8rem;
  color: #01AFB8;
}

.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #01AFB8;
  transition: width 0.3s ease;
}

.form-input:focus ~ .underline {
  width: 100%;
}

/* Стили чекбокса */
.checkbox-group {
  margin: 30px 0;
  position: relative;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #7f8c8d;
  user-select: none;
}

.wpcf7-list-item {
  text-align: left;
}

.wpcf7-list-item-label {
  width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: #95a5a6;
    transition: all 0.3s ease;
    display: block;
    margin-left: 15px;
}

.wpcf7-list-item-label::before {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-label:hover .checkmark {
  border-color: #01AFB8;
}

.checkbox-input:checked ~ .checkmark {
  background-color: #01AFB8;
  border-color: #01AFB8;
}

.wpcf7-list-item-label:after {
  content: "";
  position: absolute;
  display: none;
  left: 9px;
  top: -17px;
  width: 5px;
  height: 10px;
  border: solid #01AFB8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-input:checked ~ .wpcf7-list-item-label:after {
  display: block;
}

/* Стили кнопки */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #01AFB8;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover {
  background: #01AFB8;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Анимация при фокусе */
@keyframes inputHighlighter {
  from { background: #01AFB8; }
  to { width: 0; background: transparent; }
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
  .form-container {
    padding: 30px 20px;
    width: auto;
  }

  .application-form {
    padding: 0;
  }
  
  .form-title {
    font-size: 1.8rem;
  }
  
  .form-subtitle {
    font-size: 1rem;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
}

/* Основные стили блока */
.contacts-block {
  background: url('https://promo.askorst.ru/wp-content/uploads/2025/05/background-scaled.webp');
  background-repeat: no-repeat;
  color: white;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.contacts-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Заголовок */
.contacts-caption {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 40px;
  font-weight: 400;
  position: relative;
  padding-bottom: 20px;
}

.contacts-caption::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: rgba(34, 34, 34, .65);;
}

/* Информация о компании */
.company-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

/* Элементы контактов */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-link, .contact-text {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 30px;
}

.contact-link:hover {
  color: rgba(34, 34, 34, .65);;
}

/* Иконки для контактов */
.phone .contact-link::before {
  content: '📞';
  position: absolute;
  left: 0;
}

.website .contact-link::before {
  content: '🌐';
  position: absolute;
  left: 0;
}

.address .contact-text::before {
  content: '📍';
  position: absolute;
  left: 0;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
  .contacts-caption {
    font-size: 1.5rem;
  }
  
  .company-name {
    font-size: 1.5rem;
  }
  
  .contact-item {
    font-size: 1.1rem;
  }
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
  .contacts-block {
    padding: 40px 15px;
  }

  .contacts-container {
    display: block;
  }
  
  .contacts-caption {
    font-size: 1.3rem;
    padding-bottom: 15px;
    margin-bottom: 30px;
  }
  
  .company-name {
    font-size: 1.3rem;
  }
  
  .contact-item {
    font-size: 1rem;
  }
  
  .contact-link, .contact-text {
    padding-left: 25px;
  }
}

/* Основные стили футера */
.main-footer {
  background-color: #f5f5f5; /* Серый фон */
  padding: 25px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  border-top: 1px solid #e0e0e0; /* Граница сверху */
}

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

.footer-text {
  color: #555; /* Темно-серый текст */
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
  .main-footer {
    padding: 20px 15px;
  }
  
  .footer-text {
    font-size: 0.85rem;
  }
}

.wpcf7 {
  max-width: 300px;
  border: 1px #01AFB8 solid;
  padding: 20px;
  border-radius: 10px;
}

.wpcf7-response-output {
  transition: 0.5s;
  border: none !important;
  color: #01AFB8 ;
  font-size: 15px;
}

/* Варианты страхования */
.tariffs-section{
	background: #087b82;
  padding: 25px;
}

.tariffs-container{
	margin-left: 25px;
	padding-bottom: 20px;
}

.tariff-table{
	width: 100%;
	margin-top: 10px;
	border: 0px;
	border-top: 1px solid #4a9497;
	border-bottom: 1px solid #4a9497;
}


.tariffs-container .section-title-contaner{
	width: 100%;
	text-align: center;
}

.tariffs-container th{
	text-align:left;
	font-weight: normal;
	padding: 6px 10px 6px 0;
	font-size: 1.6rem;
	text-align: center;
}

.tariffs-container td{
	padding: 15px 10px 15px 0;
	font-size: 1.1rem;
	border: 0px;
	border-spacing: 0; 
	text-align: center;
	font-weight: bold;
}

.tariffs-container .font_normal td{
	font-weight: normal;
}

.tariffs-container tr:nth-child(odd) td{
	background: #288388;				
}

.tariffs-container tr td:nth-child(1), .tariffs-container tr th:nth-child(1){
	text-align: left;
	padding-left: 10px;
}

.tariffs-table-bottom{
	margin-top: 10px;
	font-size: 0.9rem;
	font-style: italic;
}

/* адаптация для планшетной и мобильной версии */
@media screen and (max-width: 1024px){
	.tariffs-container th{
		font-size: 1.2rem;
	}
	
	.tariffs-container td{
		font-size: 0.8rem;
	}
	
	.tariffs-table-bottom{
		font-size: 0.7rem;
		padding-right: 10px;
	}

}

@media screen and (max-width: 768px) {
  .wpcf7 {
      margin: 0 auto;
  }
  
}


/*Согласие стили*/

.accordion {
    font-size: 12px;
    color: #555;
    text-align: left;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #F7F7F7;
}

.accordion-header {
    padding: 20px 15px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 150px;
    overflow: auto;
    padding: 15px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform 0.3s ease;
}


.arrow {
    display: inline-block;
    position: relative;
    padding-right: 20px;
    padding-top: 15px;
}


.arrow::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--askor-border);
    left: 6px;
    bottom: 5px;
    transform: rotate(45deg);
}

.arrow::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--askor-border);
    left: 0px;
    bottom: 5px;
    transform: rotate(135deg);
}

.errortext {
    text-align: center;
    color: red;
}

.form-hide {
    opacity: 0;
    position: absolute;
}
