@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

a {
  cursor: pointer !important;
}

body {
    background-color: rgb(246, 246, 246);
}

.cc-tabs-section-wrapper {
  width: 100%;
  background-color: rgb(246, 246, 246);
}

/* ---------- СБРОС И ОБЩИЕ Стили ---------- */
.cc-tabs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgb(246, 246, 246);
}
.cc-tabs-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cc-tab-item {
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 3px solid #e6e6e6;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #4e4f4f;
}
.cc-tab-item--active {
  border-color: #011627;
  color: #011627;
}

.cc-tab-content--hidden {
  display: none;
}

.cc-card--more-hidden {
  display: none;
}

/* ---------- СЕТКА КАРТОЧЕК ---------- */
.cc-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.cc-card {
  position: relative;
  flex: 1 1 calc(25% - 20px);
  background: #fff;
  overflow: hidden;
  /* transition: transform 0.5s; */
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 260px;
  border-radius: 20px;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  min-height: 460px;
}
/* .cc-card:hover {
  transform: scale(1.03);
} */

.cc-card:hover .cc-card__image {
  padding-top: 50%;
}

.cc-card__image {
  width: 100%;
  padding-top: 75%; /* соотношение 4:3 */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
  border-radius: 20px;
}
/* .cc-card:hover .cc-card__image {
  transform: scale(0.9);
} */

.cc-card__info {
  padding-top: 16px;
  font-family: "Ubuntu", sans-serif;
  display: flex;
  flex-direction: column;
}

.cc-card__title1 {
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cc-card__title2 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cc-card:hover .cc-card__title2 {
  margin-bottom: 6px;
}

.cc-card__hover-text,
.cc-card__phone,
.cc-card__website {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s, max-height 0.3s;
  word-break: break-word;
}

.cc-card__button {
  font-weight: 500;
  font-size: 14px;
  color: #aaaaaa;
  text-decoration: none;
  margin-top: 8px;
  cursor: pointer;
}

.cc-card__text,
.cc-card__button {
  color: #aaaaaa;
  font-size: 14px;
}

.cc-card__phone,
.cc-card__website {
  color: #323232;
  text-decoration: none;
  cursor: pointer;
}

.cc-card:hover .cc-card__hover-text,
.cc-card:hover .cc-card__button,
.cc-card:hover .cc-card__website {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
  color: #323232;
  font-size: 14px;
  text-decoration: none;
}

.cc-card:hover .cc-card__phone {
  opacity: 1;
  max-height: 200px;
  color: #323232;
  font-size: 14px;
  text-decoration: none;
}

.cc-card:hover .cc-card__text {
  margin-bottom: 10px;
  color: #323232;
}

.cc-card:hover .cc-card__phone {
  color: #323232;
}

.cc-card__hover-text {
  margin-bottom: 0;
}
.cc-card:hover .cc-card__hover-text {
  margin-bottom: 16px;
}

.cc-card:hover .cc-card__button {
  padding: 10px 5px;
  text-align: center;
}

.cc-card__button:hover {
  background-color: #4eadce;
  color: #fff !important;
  text-align: center;
  border-radius: 50px;
  padding: 10px 5px;
}

.cc-card:hover .cc-card__text {
  padding-left: 30px;
  background-image: url("../images/geo-icon.svg");
  background-repeat: no-repeat;
  min-height: 24px;
  background-position-y: center;
  display: flex;
  align-items: center;
}

.cc-card:hover .cc-card__phone,
.cc-card:hover .cc-card__website {
  padding-left: 30px;
  background-image: url("../images/phone-icon.svg");
  background-repeat: no-repeat;
  min-height: 24px;
  background-position-y: center;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cc-card:hover .cc-card__website {
  background-image: url("../images/earth-icon.svg");
  background-size: 20px;
  background-position-x: 3px;
}

.cc-card:nth-child(3n + 1):hover {
  background-color: #d2f4f8; /* Голубой фон для 1-й, 4-й, 7-й и т.д. */
}

.cc-card:nth-child(3n + 2):hover {
  background-color: #fce5df; /* Красный фон для 2-й, 5-й, 8-й и т.д. */
}

.cc-card:nth-child(3n):hover {
  background-color: #fce8b5; /* Желтый фон для 3-й, 6-й, 9-й и т.д. */
}

.cc-card:nth-child(3n + 1):hover .cc-card__title1,
.cc-card:nth-child(3n + 1):hover .cc-card__title2,
.cc-card:nth-child(3n + 1):hover .cc-card__hover-text {
  color: #284376;
}

.cc-card:nth-child(3n + 2):hover .cc-card__title1,
.cc-card:nth-child(3n + 2):hover .cc-card__title2,
.cc-card:nth-child(3n + 2):hover .cc-card__hover-text,
.cc-card:nth-child(3n):hover .cc-card__title1,
.cc-card:nth-child(3n):hover .cc-card__title2,
.cc-card:nth-child(3n):hover .cc-card__hover-text {
  color: #e94f26;
}

/* ---------- Кнопка «Показать ещё» ---------- */
.cc-show-more {
  display: block;
  margin: 30px auto 0;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #4eadce;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 18px;
  font-family: "Ubuntu", sans-serif;
}

/* ---------- Мобильные брейкпоинты ---------- */
@media (max-width: 1024px) {
  .cc-card {
    flex: 1 1 calc(33.333% - 20px);
  }
}
@media (max-width: 768px) {
  .cc-card {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 500px) {
  .cc-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Форма обратной связи */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  color: #011627;
  border: 1px solid #d4d4d4;
  background-color: transparent;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  height: 50px;
  font-family: "Montserrat";
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  height: 85px;
  padding: 10px;
}

.wpcf7-form .wpcf7-submit {
  color: #fff;
  background-color: #f6511d;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 400;
  cursor: pointer;
  width: 160px;
  height: 50px;
  border: none;
  display: block;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #011627;
  opacity: 0.5;
}

.wpcf7-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><polygon fill="%23011627" points="0,0 10,0 5,5"/></svg>')
    no-repeat right 10px center;
  background-size: 10px;
}

.form-container {
  position: absolute;
  width: 380px;
  left: 50%;
  top: 205px;
  height: 569px;
  z-index: 1001;
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  min-height: min-content;
}

.smart-captcha {
  margin-bottom: 10px !important;
}

#rec898668367 .t396__artboard {
    height: 1000px !important;
}

.hidden-fields-container {
  opacity: 0;
  display: none;
}

.form-container .screen-reader-response {
  display: none;
}

.acceptance-form .wpcf7-list-item-label {
  color: #011627;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}
.acceptance-form .wpcf7-list-item-label a {
  color: #ff7038;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}


.wpcf7-response-output {
  position: absolute;
      z-index: 9999;
    bottom: -100px;
    color: #323232;
    background-color: #fff;
    padding: 16px;
    border-radius: 20px;
    font-family: 'Montserrat';
}

@media (max-width: 960px) {
  .form-container {
    left: 15px;
    top: 60%;
    width: calc(100% - 30px);
    box-sizing: border-box;
  }
}

/* Секция Пластиковая карта */
.map-sect_plastic-card-section {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgb(246, 246, 246);
  
}

.map-sect_section-title {
  color: #011627;
  font-size: 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
}

.map-sect_section-subtitle {
  color: #4e4f4f;
  font-size: 16px;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 20px;
}

.map-sect_content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.map-sect_addresses-list {
  flex: 0 0 40%;
}

.map-sect_addresses-list ul {
  list-style: none;
  padding: 0;
}

.map-sect_addresses-list li {
  color: #4e4f4f;
  font-size: 16px;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.map-sect_addresses-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  background-color: #f6511d;
  border-radius: 2px;
}

.map-sect_addresses-list .map-sect_phone a {
  display: block;
      color: #4e4f4f;
    font-size: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 700;
    border-radius: 0px 0px 0px 0px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    text-decoration: none;
}

.map-sect_addresses-list .map-sect_phone a:hover {
  color: #f6511d;
}

.map-sect_map-wrapper {
  flex: 0 0 60%;
  height: 400px;
  max-width: 664px;
}

.map-sect_map-wrapper > * {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map-sect_map-placeholder {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666666;
}

@media (max-width: 1200px) {
  .map-sect_plastic-card-section {
    padding: 0 15px;
  }
  .map-sect_content-wrapper {
    flex-direction: column;
    min-height: 600px;
  }

  .map-sect_addresses-list {
    flex: 1;
  }

  .map-sect_map-wrapper {
    flex: 1;
    margin-top: 20px;
    height: 100%;
  }
  .map-sect_map-placeholder {
    min-height: 100%;
  }

  .map-sect_map-placeholder iframe {
    min-height: 100% !important;
  }
}

@media (max-width: 478px) {
html body #rec898668361 .t396__carrier, html body #rec898668361 .t396__filter, html body #rec898668361 .t396__artboard {
    height: 2136px !important;
}}

