* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    max-width:100%;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;

    min-height: 100svh;

    background: url('img/bg.jpg') center / cover no-repeat;
}


/* HERO */
.hero {
    position:relative;
    height:100vh;
    width:100%;
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
    padding-top:2%;
    padding-right:6%;
}

/* ФОН */
.hero-bg {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 25%;
    top:0;
    left:0;
    z-index:1;
}

/* КАРТОЧКА */
.quiz-card {
    position:relative;
    z-index:10;
    padding:22px;
    border-radius:22px;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(246, 245, 245, 0.7),
        0 20px 40px rgba(18, 18, 18, 0.1);
    border:1px solid rgba(255,255,255,1.5);
    max-width: 420px;
  padding: 40px;
  margin: auto 0;
  
}


/* quiz-box — стекло */
.quiz-box {
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-radius:18px;
    padding:20px;
    margin-top:16px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 20px 40px rgba(0,0,0,0.45);
    border:1px solid rgba(255,255,255,0.9);
    width:calc(100% + 20px);
    margin-left:-10px;
    background:rgba(255,255,255,0.6); /* чуть добавлено для читаемости, но можно убрать */
}

/* HEADER */
.card-header {
    text-align:center;
    margin-bottom:16px;
}
.logo {
    font-size:19px;
    letter-spacing:1px;
    color:#7c6746;
    margin-bottom:10px;
}
.logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 18px;
}

.card-header h1 {
    font-size:24px;
    line-height:1.35;
    font-weight:600;
    margin-bottom:10px;
}
.objects {
    font-size:15px;
    color:#666;
}
.contact-btn {
    text-decoration: none; /* 👈 убирает подчёркивание */
}
.option-btn {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}


/* КНОПКИ */
.option-btn {
    width:100%;
    background:white;
    border:none;
    border-radius:12px;
    padding:15px;
    font-size:16px;
    margin-bottom:12px;
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(7, 7, 7, 0.7);
    transition:all .2s;
    margin-bottom: 10px;
}
.option-btn:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,0,0,0.12);
}



/* Прогресс */
.progress-container {
    height:5px;
    background:rgba(0,0,0,0.15);
    border-radius:3px;
    margin-bottom:10px;
    overflow:hidden;
}
.progress-bar {
    height:100%;
    background:#0066cc;
    width:0;
    transition:width 0.4s ease;
}
.progress-text {
    text-align:center;
    font-size:14px;
    color:#555;
    margin-bottom:16px;
    font-weight:500;
}

/* Заголовок вопроса */
.quiz-box h2 {
    text-align:center;
    font-size:20px;
    margin-bottom:18px;
    font-weight:600;
}

/* Календарь */
.date-picker {
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:18px;
}
.date-btn {
    width:100%;
    background:white;
    border:none;
    border-radius:12px;
    padding:15px;
    font-size:16px;
    text-align:left;
    box-shadow:0 4px 10px rgba(7,7,7,0.7);
    cursor:pointer;
}
.date-btn:hover {
    transform:translateY(-2px);
}

/* Кнопка "Не знаю" и "Отправить" */
.alt-btn, .submit-btn {
    width:100%;
    padding:14px;
    background:transparent;
    border:1px solid #777;
    color:#333;
    border-radius:12px;
    font-size:16px;
    margin-top:8px;
    cursor:pointer;
}
.submit-btn {
    background:#0066cc;
    color:white;
    border:none;
}

/* Преимущества и футер */
.benefits {
    font-size:14px;
    margin-top:25px;
    color:#444;
    line-height:1.7;
}
.proof {
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #ddd;
    font-size:13px;
    color:#2c2a2a;
    text-align:center;
}

/* Контактные кнопки */
.contact-buttons {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
    margin-bottom:20px;
}
.contact-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  
    position: relative;
    overflow: hidden;
  
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
    gap: 25px;
    margin-top: 10px;
  }
  


/* Твои текущие медиа-запросы (оставляем как есть) */
/* Только мобильные — карточка ниже от верха */
@media (max-width: 768px) {
    .hero {
      justify-content: center;
      align-items: flex-start;
      padding-top: 120px;            /* ← основной параметр — регулируй от 80 до 160px */
      padding-right: 16px;
      padding-left: 16px;
      padding-bottom: 60px;
    }
  
    
  
    .quiz-box {
      margin-top: 0;
    }
  }
  
  /* SMALL MOBILE */
  @media (max-width: 430px) {
    .quiz-card {
      max-width: 330px;
      padding: 20px;
    }
    .card-header h1 {
      font-size: 20px;
      line-height: 1.3;
    }
    .option-btn {
      padding: 13px;
      font-size: 15px;
    }
  }
/* Зелёная кнопка "Применить даты" */

  
  /* Ошибка на кнопках дат */
  .date-btn.form-error {
    border: 2px solid #dc3545 !important;
    color: #dc3545;
    background: #fff5f5;
  }

  
.logo {
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
}

.logo img {
    width:38px;
    height:35px;
    margin-right:5px;
    margin-bottom:7px;
    
}
.logo img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(20%) saturate(500%) hue-rotate(10deg);
}


.form-trust {
    font-size:14px;
    margin-top:20px;
    color:#444;
    line-height:1.6;
}
.options {
    margin-bottom:15px;
}

.form-trust {
    margin-top:20px;
}
.progress-steps {
    display:flex;
    gap:6px;
    margin-top:15px;
}

.progress-steps .step {
    flex:1;
    height:6px;
    background:#e5e5e5;
    border-radius:10px;
    transition: all 0.3s ease;
}

.progress-steps .step.active {
    background:#25D366;
}
#quizContent {
    transition: all 0.25s ease;
}

.fade-out {
    opacity:0;
    transform: translateY(10px);
}


.fade-in {
    opacity:1;
    transform: translateY(0);
    transition: all 0.25s ease;
}

  
  .icon-circle img {
    width:32px;
    height:32px;
}
  


.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
    
}

/* TELEGRAM */
.telegram {
    background: linear-gradient(135deg, #0088cc, #00aaff, #0088cc);
    animation: tgFlow 5s ease infinite;
    
}

/* WHATSAPP */
.whatsapp {
    background: linear-gradient(135deg, #25D366, #2eea7a, #25D366);
    animation: waFlow 5s ease infinite;
}

@keyframes waFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes tgFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
  

.whatsapp .icon-circle {
    color:#25D366;
}

.telegram .icon-circle {
    color:#229ED9;
}

a {
    color: inherit !important;
    text-decoration: none !important;
}
.date-btn {
    color: #000 !important;
    font-weight: 600;
}
.option-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.contact-btn {
    color: #fff !important;
}
.contact-btn:visited,
.contact-btn:active,
.contact-btn:focus {
    color: #fff !important;
}
