/* Подключение шрифта, если он ещё не загружен */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

        /* ===== Дизайн-токены ===== */
        :root {
            --color-primary: rgb(255, 51, 89);
            --color-secondary: rgb(169, 144, 149);
            --color-white: rgb(255, 255, 255);
            
            --font-paytone: 'Paytone One', sans-serif;
            --font-anek: 'Anek Latin', sans-serif;
            
            --spacing-padding-top-10: 10px;
            --spacing-padding-right-30: 30px;
            --spacing-padding-bottom-10: 10px;
            --spacing-padding-left-30: 30px;
            --spacing-gap-10: 10px;
        }

        /* ===== Сброс и базовые стили ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
          scroll-behavior: smooth;
        }

        body {
            font-family: sans-serif; 
            background: #f5f5f5;
            min-height: 100vh;
            background-color:#fff;
            background:radial-gradient(1100px 520px at 78% -8%, rgb(255, 233, 238) 0%, rgba(255, 233, 238, 0) 60%), linear-gradient(rgb(255, 246, 242) 0%, rgb(250, 248, 246) 420px);
            font-family: var(--font-anek);
            font-size: 14px;
            width:100vw;
            overflow-x:hidden;
        }

        /* ===== Компонент "frame-2131339236" ===== */
        .frame {
            display: flex;
            flex-direction: row;
            align-items: flex-start;   /* cross: start */
            justify-content: flex-start; /* main: start */
            gap: 0;
            width: 1309px;
            height: 108px;
            background: transparent;   /* у корневого фрейма фон не задан */
        }
        /* ===== Текстовый элемент "8-800-000-00-00" ===== */
        .phone {
            color: var(--color-secondary);
            font-family: var(--font-anek);
            font-size: 25px;
            font-weight: 500;
        }

        /* ===== Вложенный фрейм "frame-2131339230" ===== */
        .button-frame {
            background-color: var(--color-primary);
            border-radius: 30px;
            display: flex;
            flex-direction: row;
            align-items: center;       /* cross: center */
            justify-content: center;   /* main: center */
            gap: var(--spacing-gap-10);
            padding: var(--spacing-padding-top-10) 
                     var(--spacing-padding-right-30) 
                     var(--spacing-padding-bottom-10) 
                     var(--spacing-padding-left-30);
            width: 192px;
            height: 45px;
        }

        /* Текст внутри кнопки */
        .button-text {
            background-color: var(--color-white);
            font-family: var(--font-anek);
            font-size: 14px;
            font-weight: 700;
            text-align: left;
            width: 132px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 5px;
        }


.container{
    width:1100px;
    margin:auto;
    font-family: var(--font-anek);
    font-size:14px;
  
    z-index:10;
    position:relative;
}


.toperdiv {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top:30px;
    background:url('/wp-content/themes/kissmyhost/assets/images/girltop.png') no-repeat top center;
    padding-bottom:130px;
}

.toperdiv .container{
    display:flex;
    justify-content:space-between;
}

.branddiv {
    display: flex;
    flex-direction: column;
}

a{
    color:var(--color-primary);
}

h2{
    color: var(--color-primary);
    font-family: var(--font-paytone);
    font-size:50px;
    text-align:center;
    padding-bottom:30px;
}

.brand {
    color: var(--color-primary);
    font-family: var(--font-paytone);
    font-size: 60px;
    font-weight: 400;
    margin-top:-10px;
    line-height:70px;
    cursor: pointer;
}

.subtitle {
     color: var(--color-secondary);
    font-family: var(--font-anek);
    font-size: 20px;
    font-weight: 500;
}

.toperdivright{
    display:flex;
        flex-direction: column;
    align-items: flex-end;
    gap:10px;
    cursor:pointer;
}

.phone {
    margin-left: auto;           /* Прижимает телефон и кнопку к правому краю */
}

.reqbutton {
    padding:10px 30px;
    display:inline-block;
    color:#fff;
    background:var(--color-primary);
    font-family: var(--font-anek);
    font-size: 14px;
    width:auto;
    text-decoration:none;
    border-radius: 10px;
}

.displamer .container .text{
    width:700px;
    padding:0 0 50px 0;
    font-size:18px;
}

.linetop3{
    padding-bottom:120px;
     
}

.linetop3 .list-vds .child-card{

}

.list-vds{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.list-vds .child-card{
    display: flex;
    flex:1;
    flex-direction: column;
    background: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgb(239, 232, 227);
    box-shadow: rgba(120, 40, 60, 0.3) 0px 18px 40px -32px;
}

.list-vds .child-first-card{
    padding:25px 0 25px 80px;
    background:transparent;
    box-shadow:none;
    text-align:right;
    font-size:16px;
}

.list-vds .child-first-card h2{
    color:var(--color-primary);
    font-size:30px;
    text-align:right;
}

.vds-header{
    display:flex;
    justify-content:space-between;
    height:50px;
}

.child-card__image img{
    width:120px;
    max-height:50px;
}

.list-vds .child-first-card h2 span{
    font-family: var(--font-paytone);
    font-size:50px;
    line-height:30px;
}

.vds-field-rate{
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: rgb(242, 41, 91);
    line-height: 1;
}

.list-vds .info{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.vds-button a{
    padding:10px 30px;
    display:inline-block;
    color:#fff;
    background:var(--color-primary);
    font-family: var(--font-anek);
    font-size: 14px;
    width:auto;
    text-decoration:none;
    border-radius: 30px 30px 30px 0;
}

.loverobo{
    z-index: 2;
    position: absolute;
    left: 50%;
    margin-left: 252px;
    top: 200px;
    mix-blend-mode: multiply;
}

.loverobo img{
      width: 280px;
}

.girlleft{
    z-index:5;
    position:absolute;
    left:0;
    top: 820px;
mix-blend-mode: multiply;
}


footer .container{
    padding:40px 0;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
}

.footermenu{
    display:flex;
    gap:20px;
}

.innercontent .container{
    padding:50px;
    background:#fff;
    box-shadow: 0 0 110px rgba(239, 171, 154, 0.3);
    border-radius:10px;
    display: flex;
    flex-direction: column;
    gap:30px;
}


h1{
    color: var(--color-primary);}
    
h2 {
    color: var(--color-primary);
    font-family: var(--font-anek);
    font-size: 32px;
    text-align: left;
    padding-bottom: 10px;
    padding-top: 40px;
}

h3{
    font-size: 22px;
    text-align: left;
    padding-bottom: 10px;
    padding-top: 40px;
}

.hidden{
    display:none;
}

.innercontent ul{
    padding-left:30px;
}

.innercontent .info{
    margin-top:30px;
}

.innercontent .info .row{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom: 1px solid rgba(169,144,149,0.2);
}

.innercontent .container.container_horizontal{
    flex-direction:row;
}

.widesection{
    width:70%
}

.divider{
    width:1px;
    background: rgba(169,144,149,0.2);
}

@media (max-width: 768px) {
    .container{
        width:auto;
        padding:0 20px;
    }
    
    .displamer .container .text{
        width:auto;
    }
    
    .list-vds {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        flex-direction: column;
    }
    
    .list-vds .child-card {
        width: 100%;
    }
    
    .loverobo{
        display:none;
    }
    
    .branddiv .subtitle{
        font-size: 20px;
    }
    .branddiv .brand{
        font-size: 55px;
    }
    
    .toperdiv .container{
        flex-direction: column;
        padding:0;
        margin:0;
        padding-left:20px;
    }
    
    .linetop3{
        padding-bottom: 40px;
    }
    
    .toperdiv {
        display: flex;
        align-items: flex-start;
        width: 100%;
        padding-top: 150px;
        background: url(/wp-content/themes/kissmyhost/assets/images/girltopmob.png) no-repeat top left;
        padding-bottom: 30px;
    }

    .toperdivright {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 10px;
        cursor: pointer;
        align-items: flex-end;
        top: -120px;
        right: -20px;
    }
    
    .girlleft {
        z-index: 5;
        position: absolute;
        left: 0;
        top: 1840px;
        mix-blend-mode: multiply;
    }
   .girlleft img{
        width: 250px;
    }
    
    .innercontent .container{
        padding:30px 20px;
        background:#fff;
        box-shadow: 0 0 110px rgba(239, 171, 154, 0.3);
        border-radius:20px;
        display: flex;
        flex-direction: column;
        gap:30px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .innercontent .container.container_horizontal {
        flex-direction: column;
    }
    
    .widesection{
        width:100%;
    }
}


/* ===== Форма авторизации ===== */
.auth-section {
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 50px 5px 50px 5px;
  box-shadow: 0 0 110px rgba(239, 171, 154, 0.3);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.auth-title {
  font-family: var(--font-paytone);
  color: var(--color-primary);
  font-size: 32px;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-family: var(--font-anek);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 500;
  padding-left: 10px;
}

.auth-input {
  font-family: var(--font-anek);
  font-size: 16px;
  color: var(--color-secondary);
  background: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: 30px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 51, 89, 0.15);
}

.auth-input::placeholder {
  color: rgba(169, 144, 149, 0.6);
}

.auth-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-anek);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.auth-submit:hover {
  background: #e0203a; /* чуть темнее основного */
}

.auth-links {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-anek);
  font-size: 14px;
}

.auth-links a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.auth-links a:hover {
  border-bottom-color: var(--color-primary);
}

/* Адаптивность */
@media (max-width: 768px) {
  .auth-section {
    padding: 30px 20px;
  }

  .auth-card {
    padding: 30px 20px;
    border-radius: 30px 5px 30px 5px;
  }

  .auth-title {
    font-size: 26px;
  }

  .auth-input {
    padding: 12px 18px;
    font-size: 15px;
  }

  .auth-submit {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* ===== Модальное окно ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border-radius: 50px 5px 50px 5px;
  box-shadow: 0 0 110px rgba(239, 171, 154, 0.5);
  padding: 50px 40px;
  width: 90%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--color-primary);
}

.modal-title {
  font-family: var(--font-paytone);
  color: var(--color-primary);
  font-size: 28px;
  text-align: center;
  margin: 0 0 30px;
  line-height: 1.2;
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callback-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.callback-label {
  font-family: var(--font-anek);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 500;
  padding-left: 10px;
}

.callback-input,
.callback-textarea {
  font-family: var(--font-anek);
  font-size: 16px;
  color: var(--color-secondary);
  background: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: 30px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.callback-textarea {
  border-radius: 20px;
  min-height: 80px;
}

.callback-input:focus,
.callback-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 51, 89, 0.15);
}

.callback-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-anek);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.callback-submit:hover {
  background: #e0203a;
}

.callback-note {
  font-family: var(--font-anek);
  color: var(--color-secondary);
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    border-radius: 30px 5px 30px 5px;
  }

  .modal-title {
    font-size: 24px;
  }

  .callback-input,
  .callback-textarea {
    padding: 12px 18px;
    font-size: 15px;
  }

  .callback-submit {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* ===== Переключатель ===== */
.view-switcher {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: flex-end;
}

.view-btn {
  font-family: var(--font-anek);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 24px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Табличный режим (блочная вёрстка) ===== */
.list-vds.table-view {
  gap: 0;
}

/* Скрываем информационный блок */
.list-vds.table-view .child-first-card {
  display: none;
}

/* Показываем заголовки */
.list-vds.table-view .table-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 2px solid var(--color-primary);
  font-family: var(--font-anek);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Скрываем заголовки по умолчанию */
.table-header {
  display: none;
}

/* Карточки превращаются в строки */
.list-vds.table-view .child-card {
  width: 100%;
  flex-direction: row;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(169,144,149,0.2);
  gap: 15px;
  flex-wrap: wrap;
}

.list-vds.table-view .child-card:last-child {
  border-bottom: none;
}

/* Убираем лишние отступы у info */
.list-vds.table-view .info {
  display: contents; /* чтобы элементы встали в общий поток */
}

.list-vds.table-view .row {
  border-bottom: none;
  padding: 0;
  flex: none;
}

.row span:nth-child(2){
  text-align: right;
}

/* Внутри info теперь не нужны ряды с заголовками, т.к. есть шапка */
.list-vds.table-view .text-title {
  display: none; /* скрываем повторяющиеся названия полей */
}

/* Сетка колонок для карточки-строки */
.list-vds.table-view .child-card {
  display: grid;
  grid-template-columns: 100px 50px 80px 90px 130px 90px 70px 60px 50px 80px 80px 120px;
  align-items: center;
  gap: 10px;
}

/* Адаптируем содержимое под сетку */
.list-vds.table-view .vds-header {
  display: contents; /* лого и рейтинг становятся отдельными ячейками */
}

.list-vds.table-view .child-card__image {
  order: 1;
}

.list-vds.table-view .vds-field-rate {
  order: 2;
  font-size: 20px;
  color: var(--color-primary);
  font-family: var(--font-paytone);
  text-align: center;
}

/* Распределяем поля по колонкам */
.list-vds.table-view .vds-field-location { order: 3; }
.list-vds.table-view .vds-field-since    { order: 4; }
.list-vds.table-view .vds-field-serverloc{ order: 5; }
.list-vds.table-view .vds-field-isp      { order: 6; }
.list-vds.table-view .vds-field-sup      { order: 7; }
.list-vds.table-view .vds-field-drives   { order: 8; }
.list-vds.table-view .vds-field-ssl      { order: 9; }
.list-vds.table-view .vds-field-free     { order: 10; }
.list-vds.table-view .vds-field-startprice{ order: 11; }
.list-vds.table-view .vds-button         { order: 12; }

/* Стилизация текста в ячейках */
.list-vds.table-view .vds-field-location,
.list-vds.table-view .vds-field-since,
.list-vds.table-view .vds-field-serverloc,
.list-vds.table-view .vds-field-isp,
.list-vds.table-view .vds-field-sup,
.list-vds.table-view .vds-field-drives,
.list-vds.table-view .vds-field-ssl,
.list-vds.table-view .vds-field-free,
.list-vds.table-view .vds-field-startprice {
  font-size: 13px;
  color: var(--color-secondary);
  text-align: center;
}

/* Кнопка в таблице */
.list-vds.table-view .vds-button a {
  padding: 6px 14px;
  font-size: 12px;
  white-space: nowrap;
}

/* Шапка таблицы — сетка должна совпадать */
.list-vds.table-view .table-header {
  display: grid;
  grid-template-columns: 100px 50px 80px 90px 130px 90px 70px 60px 50px 80px 80px 120px;
  gap: 10px;
  align-items: center;
  padding: 15px 20px;
}

.list-vds.table-view .table-header span {
  text-align: center;
  font-size: 12px;
}

/* Мобильная адаптация: горизонтальный скролл */
@media (max-width: 768px) {
  .list-vds.table-view {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  .list-vds.table-view .table-header,
  .list-vds.table-view .child-card {
    grid-template-columns: 80px 40px 60px 80px 110px 80px 60px 50px 40px 70px 70px 100px;
    min-width: 900px;
  }
}



/*--------  НОВЫЙ ДИЗ ----------*/
/* Основной контейнер */
.top3 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 32px 8px;
}

/* Заголовок */
.top3__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;

}

.top3__header h2{
    padding:0;
}

.top3__mascot {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.top3__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.top3__subtitle {
  font-size: 14.5px;
  color: #8a8580;
  font-weight: 600;
}

/* Сетка карточек */
.top3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Карточка */
.card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #efe8e3;
  box-shadow: rgba(120, 40, 60, 0.3) 0px 18px 40px -32px;
}

.card--featured {
  border: 1.5px solid #f2295b;
  box-shadow: rgba(242, 41, 91, 0.5) 0px 30px 60px -34px;
}

/* Шапка карточки */
.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__badge {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1ece8;
  color: #56504c;
}

.card__badge--first {
  background: #f2295b;
  color: #ffffff;
}

.card__rating {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #15171c;
}

.card__rating--accent {
  color: #f2295b;
}

/* Блок провайдера */
.card__provider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.card__provider-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  background: #f4efeb;
  color: #56504c;
}

.card__provider-icon--gradient {
  background: linear-gradient(135deg, #f2295b, #ff6e8a);
  color: #ffffff;
}

.card__provider-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.card__provider-desc {
  font-size: 13px;
  color: #8a8580;
  font-weight: 600;
}

/* Детали */
.card__details {
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card__detail-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid #f0ebe7;
}

.card__detail-term {
  font-size: 14px;
  color: #8a8580;
  font-weight: 400;
}

.card__detail-desc {
  font-size: 14px;
  font-weight: 300;
  text-align: right;
  margin: 0;
}

.card__detail-desc--positive {
  color: #1e9e63;
}

/* Футер */
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
 /* border-top: 1px solid #f0ebe7;*/
}

.card__price-label {
  font-size: 12px;
  color: #8a8580;
  font-weight: 600;
}

.card__price-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

/* Кнопки */
.btn {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  font-family: Manrope, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 11px;
  background: #15171c;
  text-decoration:none;
}

.btn--primary {
  background: #f2295b;
}

.btn--secondary {
  background: #15171c;
}

/* --- новые/обновлённые классы для этого блока --- */

/* кнопка сравнения */
.card__compare-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-family: Manrope, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0;
  margin-bottom: 14px;
  color: #9a938e;
}

.card__compare-checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ffffff;
  background: #ffffff;
  border: 1.5px solid #d9d2cc;
}

/* рейтинг */
.card__rating-wrapper {
  margin-left: auto;
  text-align: right;
}

.card__rating {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #15171c;
}

.card__rating--accent {
  color: #f2295b;
}

.card__rating-stars {
  font-size: 11px;
  color: #c9a7ae;
  font-weight: 700;
}

/* бейдж места */
.card__rank-badge {
  font-size: 11px;
  font-weight: 800;
  color: #a39c97;
  background: #f4efeb;
  border-radius: 6px;
  padding: 2px 7px;
}

/* мягкая кнопка */
.btn--soft {
  background: #fff1f4;
  color: #c21f49;
  border-radius: 10px;
  padding: 11px 16px;
}

/* доп. цвет для отсутствующего SSL */
.card__detail-desc--muted {
  color: #a39c97;
}



.hero-section {
  /* общий контейнер, при необходимости добавьте ограничение ширины или отступы */
}

.hero-badge {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #f4d9df;
  color: #c21f49;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 22px 0 0;
}

.hero-description {
  max-width: 480px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #5c6068;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.hero-btn {
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.hero-btn--primary {
  background: #15171c;
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(21, 23, 28, 0.6);
}

.hero-btn--secondary {
  background: #ffffff;
  color: #15171c;
  border: 1px solid #e7e1dc;
}

.hero-btn:hover {
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 38px;
}

.hero-stat-item {
  /* можно добавить выравнивание при необходимости */
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #15171c;
}

.hero-stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #8a8580;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  background: #e7e1dc;
  align-self: stretch; /* чтобы разделитель тянулся на высоту строки */
}

.editor-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-choice__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c21f49;
}

.editor-choice__rank {
  font-size: 12px;
  font-weight: 700;
  color: #a39c97;
}

.numero_uno{
  min-width: 350px;
}

.displamer .container{
    display: flex;
    align-items: flex-end;
    gap: 30px;
    justify-content: space-between;
    padding-bottom:60px;
}


.numero_uno .btn--primary {
    flex: 1;
    text-align: center;
}



/* Панель сравнения */
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px); /* для Safari */
  border-top: 1px solid #efe8e3;
  box-shadow: 0 -12px 32px -22px rgba(0, 0, 0, 0.4);
  font-family: 'Manrope', sans-serif;
}

.compare-bar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Метка "К сравнению" */
.compare-bar__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8580;
  white-space: nowrap;
}

/* Контейнер тегов */
.compare-bar__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 200px;
}

/* Отдельный тег */
.compare-bar__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff1f4;
  color: #c21f49;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 7px 6px 13px;
  border-radius: 999px;
}

/* Текст внутри тега */
.compare-bar__tag-text {
  /* может быть обёрнут в sc-interp, если нужно */
}

/* Кнопка удаления тега (крестик) */
.compare-bar__tag-remove {
  border: 0;
  cursor: pointer;
  background: #f2295b;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.compare-bar__tag-remove:hover {
  background: #d81f4a;
}

/* Кнопка "Очистить" */
.compare-bar__clear-btn {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #8a8580;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 0;
  white-space: nowrap;
}
.compare-bar__clear-btn:hover {
  color: #5c6068;
}

/* Кнопка "Сравнить · N" */
.compare-bar__compare-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 11px;
  color: #ffffff;
  background: #f2295b;
  transition: background 0.2s;
}
.compare-bar__compare-btn:hover {
  background: #d81f4a;
}

/* Текст на кнопке сравнения (если нужна обёртка) */
.compare-bar__compare-text {
  /* может быть пустым, оставлено для унификации */
}

.card__compare-btn .card__compare-checkbox {
  /* стили неактивного чекбокса */
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  margin-right: 6px;
  transition: all 0.2s;
}
.card__compare-btn.active .card__compare-checkbox {
  background-color: #f2295b;
  border-color: #f2295b;
  /* можно добавить иконку галочки псевдоэлементом */
  position: relative;
}
.card__compare-btn.active .card__compare-checkbox::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
}

/* Модальное окно сравнения */
.compare-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.compare-modal.active {
  display: flex;
}

.compare-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.compare-modal__container {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 90vw;
  max-height: 90vh;
  width: 1000px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.compare-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #f0eae4;
}

.compare-modal__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #15171c;
  margin: 0;
}

.compare-modal__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #8a8580;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}
.compare-modal__close:hover {
  background: #f5f5f5;
  color: #15171c;
}

.compare-modal__body {
  padding: 0 28px 28px;
  overflow-y: auto;
  flex: 1;
}

.compare-table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table thead th {
  text-align: left;
  padding: 16px 12px;
  font-weight: 700;
  color: #15171c;
  border-bottom: 2px solid #e7e1dc;
  white-space: nowrap;
}
.compare-table thead th:first-child {
  min-width: 160px;
  color: #8a8580;
  font-weight: 600;
}

.compare-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #f5f0eb;
  vertical-align: top;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: #5c6068;
}

/* Выделение лучшего значения (опционально) */
.compare-table .highlight {
  background: #fef2f5;
  font-weight: 700;
}


/* Панель управления рейтингом */
.rating-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  font-family: 'Manrope', sans-serif; /* если ещё не задан глобально */
}

.rating-toolbar__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  margin-right: auto;
  line-height: 1.2;
  padding: 0;
}

/* Поиск */
.rating-toolbar__search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid #eae3de;
  border-radius: 12px;
  padding: 0 14px;
  height: 44px;
  flex: 0 0 auto;
}

.rating-toolbar__search-icon {
  font-size: 15px;
  color: #b7afa9;
  line-height: 1;
  user-select: none;
}

.rating-toolbar__search-input {
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #15171c;
  width: 170px;
}

.rating-toolbar__search-input::placeholder {
  color: #b7afa9;
  font-weight: 500;
}

/* Фильтр по типу (кнопки) */
.rating-toolbar__filter {
  display: flex;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #eae3de;
  padding: 5px;
  border-radius: 12px;
}

.rating-toolbar__filter-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  background: transparent;
  color: #6e726f;
}

.rating-toolbar__filter-btn--active {
  background: #15171c;
  color: #ffffff;
}

.rating-toolbar__filter-btn:hover:not(.rating-toolbar__filter-btn--active) {
  background: #f5f5f5;
}

/* Сортировка */
.rating-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #eae3de;
  border-radius: 12px;
  padding: 0 14px;
  height: 44px;
}

.rating-toolbar__sort-label {
  font-size: 13px;
  font-weight: 700;
  color: #8a8580;
  white-space: nowrap;
}

.rating-toolbar__sort-select {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #15171c;
  cursor: pointer;
  outline: none;
  padding-right: 4px; /* небольшой отступ для стрелки */
}

/* Сообщение об отсутствии результатов */
.no-results {
  grid-column: 1 / -1; /* если .cards-grid – сетка */
  text-align: center;
  font-size: 1.1rem;
  color: #8a8580;
  padding: 3rem 1rem;
  font-weight: 600;
      min-height: 600px;
}

.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-family: 'Manrope', sans-serif; /* если шрифт не задан глобально */
}

.filters-bar__select {
  border: 1px solid #eae3de;
  background: #ffffff;
  border-radius: 12px;
  height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #15171c;
  cursor: pointer;
  outline: none;
  /* для единообразного вида стрелки можно добавить appearance: none */
}

.filters-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid #f2295b;
  background: #fff1f4;
  border-radius: 12px;
  height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #c21f49;
  transition: background 0.15s;
}

.filters-bar__toggle:hover {
  background: #ffe0e8;
}

.filters-bar__toggle-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  background: #f2295b;
}

.filters-bar__range {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #eae3de;
  border-radius: 12px;
  height: 44px;
  padding: 0 16px;
  cursor: default;
}

.filters-bar__range-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #8a8580;
  white-space: nowrap;
}

.filters-bar__range-input {
  width: 130px;
  accent-color: #f2295b;
  cursor: pointer;
}

.filters-bar__reset {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #c21f49;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}

.filters-bar__reset:hover {
  opacity: 0.8;
}
.filters-bar__toggle[aria-pressed="true"] {
  background: #ffe0e8;
  border-color: #c21f49;
}

/* Общие стили кнопки-переключателя */
.filters-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid #eae3de;        /* серая рамка по умолчанию */
  background: #fff;          /* без фона в неактивном */
  border-radius: 12px;
  height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #8a8580;                  /* серый текст */
  transition: all 0.15s;
}

/* Иконка по умолчанию скрыта */
.filters-bar__toggle-icon {
  display: none;                   /* галочка не видна */
  /* остальные размеры/цвет можно оставить, они не будут применяться */
}

/* Активное состояние */
.filters-bar__toggle[aria-pressed="true"] {
  background: #fff1f4;
  border-color: #f2295b;
  color: #c21f49;
}

.filters-bar__toggle[aria-pressed="true"] .filters-bar__toggle-icon {
  display: inline-flex;            /* показываем галочку */
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  background: #f2295b;
}

/* Небольшой ховер для обоих состояний */
.filters-bar__toggle:hover {
  opacity: 0.9;
}





/* ===== Секция "Как мы тестируем" ===== */
.method-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 24px;
}

.method-section__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: stretch;
}

.method-section__content h2, .method-section__content h3{
  padding-top:0;
}

.method-section__content h3{
  padding-bottom:0;
}

/* Левая колонка с изображением */
.method-section__image-wrapper {
  border-radius: 22px;
  background: linear-gradient(#ffe9ee, #fff6f2);
  border: 1px solid #f4d9df;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 460px;
}

.method-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  min-height: 460px;
  display: block;
}

/* Правая колонка */
.method-section__content {
  /* дополнительных стилей не требуется */
}

.method-section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.method-section__subtitle {
  font-size: 16px;
  color: #5c6068;
  font-weight: 500;
  max-width: 560px;
  margin: 0 0 28px;
}

/* Сетка карточек */
.method-section__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Одна карточка */
.method-card {
  background: #ffffff;
  border: 1px solid #efe8e3;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.method-card__number {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff1f4;
  color: #f2295b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.method-card__info {
  flex: 1;
}

.method-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.method-card__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5c6068;
  font-weight: 500;
  margin: 0;
}

/* ===== Адаптивность ===== */
@media (max-width: 900px) {
  .method-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .method-section__image-wrapper {
    order: -1; /* картинка сверху, если нужно */
    min-height: auto;
    height: 300px;
  }

  .method-section__image {
    min-height: auto;
    height: 100%;
  }
}

@media (max-width: 600px) {
  .method-section {
    padding: 40px 16px 20px;
  }

  .method-section__title {
    font-size: 26px;
  }

  .method-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .method-card__number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .method-card__title {
    font-size: 16px;
  }

  .method-card__text {
    font-size: 14px;
  }
}

/* ===== FAQ ===== */
.faq-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 24px;
}

.faq-section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.faq-section__subtitle {
  font-size: 16px;
  color: #5c6068;
  font-weight: 500;
  max-width: 560px;
  margin: 0 0 28px;
}

.faq-section__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Элемент списка (details) */
.faq-item {
  background: #ffffff;
  border: 1px solid #efe8e3;
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item[open] {
  /* можно добавить небольшую тень при открытии, если нужно */
}

/* Заголовок вопроса (summary) */
.faq-item__question {
  cursor: pointer;
  list-style: none; /* убираем стандартный треугольник */
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #15171c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Иконка «+» */
.faq-item__icon {
  color: #f2295b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* При открытии меняем плюс на минус (или поворачиваем) */
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg); /* плюс превращается в крестик */
  /* или можно заменить контент через content, но проще rotate */
}

/* Ответ */
.faq-item__answer {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5c6068;
  font-weight: 500;
  margin: 14px 0 0;
}

/* ===== Адаптивность ===== */
@media (max-width: 600px) {
  .faq-section {
    padding: 40px 16px 20px;
  }

  .faq-section__title {
    font-size: 26px;
  }

  .faq-item {
    padding: 16px 18px;
  }

  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__icon {
    font-size: 20px;
  }

  .faq-item__answer {
    font-size: 14px;
  }
}


/* ===== Футер ===== */
.footer {
  margin-top: 48px;
  border-top: 1px solid #efeae6;
  background: #ffffff;
  font-family: 'Manrope', sans-serif;
}

.footer__top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 340px;
}

.footer__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__logo--accent {
  color: #f2295b;
}

.footer__logo--dark {
  color: #15171c;
}

.footer__description {
  font-size: 13.5px;
  line-height: 1.6;
  color: #8a8580;
  font-weight: 500;
  margin: 10px 0 0;
}

.footer__nav {
  display: flex;
  gap: 56px;
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7afa9;
}

.footer__link {
  text-decoration: none;
  color: #4a4e55;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.footer__link:hover {
  color: #15171c;
}

.footer__phone {
  text-decoration: none;
  color: #15171c;
  font-size: 15px;
  font-weight: 700;
}

.footer__btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  background: #f2295b;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.footer__btn:hover {
  background: #d81f4a;
}

/* Нижняя часть футера */
.footer__bottom {
  border-top: 1px solid #f2ede9;
}

.footer__bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 12.5px;
  color: #a39c97;
  font-weight: 600;
}

.footer__privacy {
  font-size: 12.5px;
  color: #a39c97;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.footer__privacy:hover {
  color: #6e6a66;
}

/* Адаптивность */
@media (max-width: 700px) {
  .footer__top {
    flex-direction: column;
  }

  .footer__nav {
    gap: 36px;
    width: 100%;
    justify-content: space-between;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Блок авторизации ===== */
.auth-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Manrope', sans-serif;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #efe8e3;
  border-radius: 22px;
  padding: 40px 32px;
  width: 100%;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.08);
}

.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #15171c;
  margin: 0 0 28px;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 14px;
  font-weight: 700;
  color: #5c6068;
}

.auth-input {
  height: 48px;
  padding: 0 16px;
  border: 1px solid #eae3de;
  border-radius: 12px;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #15171c;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  border-color: #f2295b;
  box-shadow: 0 0 0 3px rgba(242,41,91,0.1);
}

.auth-input::placeholder {
  color: #b7afa9;
  font-weight: 500;
}

.auth-submit {
  margin-top: 8px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f2295b;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.auth-submit:hover {
  background: #d81f4a;
  box-shadow: 0 8px 20px -8px rgba(242,41,91,0.4);
}

/* Текст под формой */
.auth-footer-text {
  margin: 24px 0 0;
  font-size: 13.5px;
  color: #8a8580;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.auth-footer-link {
  color: #f2295b;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.auth-footer-link:hover {
  color: #c21f49;
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 600px) {
  .auth-section {
    padding: 40px 16px 30px;
  }

  .auth-card {
    padding: 32px 20px;
  }

  .auth-title {
    font-size: 24px;
  }

  .auth-input {
    height: 44px;
    font-size: 14px;
  }

  .auth-submit {
    height: 44px;
    font-size: 15px;
  }
}

.sidebar-top-list {
  display: flex;
  flex-direction: column;
  gap: 8px; /* расстояние между элементами */
}

.sidebar-top-list__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #15171c;
  margin: 0; /* отступ перед заголовком */
  letter-spacing: -0.01em;
}

.sidebar-top-list__title:first-child {
  margin-top: 0; /* убираем верхний отступ у первого заголовка */
}

.sidebar-top-list__link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #4a4e55;
  padding: 0;
  transition: color 0.15s;
  display: block;
  
}

.sidebar-top-list__link:hover {
  color: #f2295b;
}

@media (max-width: 768px) {
  /* ----- существующие стили (container, list-vds, toperdiv и т.д.) ----- */

  /* Адаптация displamer */
  .displamer .container {
    flex-direction: column;   /* текст и numero_uno теперь в колонку */
    align-items: stretch;     /* растягиваем по ширине */
    gap: 24px;                /* отступ между блоками, если появится (но numero_uno скрыт) */
    padding-bottom: 40px;
  }

  .numero_uno {
    display: none;            /* скрываем правый блок */
  }
  
  .hero-title{
    font-size:30px;
  }

  /* Уже существующее правило для .text – оставляем */
  .displamer .container .text {
    width: auto;
  }

  /* Дополнительно: улучшаем статистику hero, чтобы переносилась */
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 38px;           /* вертикальный зазор 20px, горизонтальный остаётся 38px */
  }

  /* Опционально: центрируем статистику, если нужно */
  .hero-stat-divider {
    display: none;            /* скрываем разделители на очень узких экранах, можно оставить */
  }
}
@media (max-width: 768px) {
  .card {
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
  }

  .card.collapsed {
    max-height: 200px;          /* ограничение высоты по умолчанию */
  }

  .card.expanded {
    max-height: 2000px;         /* достаточно для любого контента */
  }
  
  .cardswrapp{padding:0;}

.top3__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    align-items: stretch;
}

  .card__toggle-details {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, #ffffff 40%);
    padding: 30px 20px 15px;
    text-align: center;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #f2295b;
    cursor: pointer;
    z-index: 2;
  }

  .card__toggle-details.show {
    display: block;
  }
}