/* ═══════════════════════════════════════
   24 Hour Guide — styles.css
   Завантажується після assets/tailwind.css (збірка: npm run build:css у папці 24h).
═══════════════════════════════════════ */

/* ─── Custom styles (load after Tailwind) ─── */
* { font-family: 'Manrope', sans-serif; }
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
  .reveal.d1 { transition-delay: 0.1s; }
  .reveal.d2 { transition-delay: 0.2s; }
  .reveal.d3 { transition-delay: 0.3s; }
  .reveal.d4 { transition-delay: 0.4s; }
  .reveal.visible { opacity: 1; transform: none; }
  .hero-fade { opacity: 0; transform: translateY(24px); animation: hfade 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
  .hero-fade.d1 { animation-delay: 0.15s; }
  .hero-fade.d2 { animation-delay: 0.3s; }
  .hero-fade.d3 { animation-delay: 0.45s; }
  @keyframes hfade { to { opacity: 1; transform: none; } }
  .contact-row:hover { transform: translateX(5px); }
  .contact-row { transition: background 0.2s, transform 0.2s cubic-bezier(0.22,1,0.36,1); }
  .price-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
  .price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
  .what-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
  .what-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
  .cta-btn { transition: opacity 0.2s, transform 0.2s cubic-bezier(0.22,1,0.36,1); }
  .cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }
  .cta-btn:active { transform: scale(0.97); }
  input.lead-input:focus { outline: none; border-color: rgba(255,255,255,0.3) !important; background: rgba(255,255,255,0.09) !important; }
  .lead-input.lead-input--invalid { border-color: #C8102E !important; }
  .lead-input.lead-input--invalid:focus { border-color: #C8102E !important; background: rgba(200,16,46,0.08) !important; }
  .hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  #lead-form-status.lead-form-status--ok { color: rgba(255,255,255,0.65); }
  #lead-form-status.lead-form-status--err { color: #C8102E; }
  .form-btn { transition: opacity 0.2s, transform 0.2s; }
  .form-btn:hover { opacity: 0.88; transform: translateY(-1px); }
  .step-line { flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
  @media (max-width: 768px) {
    .steps-desktop {
      display: flex !important;
      flex-direction: column;
      gap: 28px;
    }
    .steps-desktop > div {
      display: grid;
      grid-template-columns: 44px 1fr;
      column-gap: 20px;
      padding-right: 0 !important;
    }
    .steps-desktop > div > div:first-child {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 0 !important;
      grid-row: 1 / span 2;
    }
    .steps-desktop > div > div:first-child .step-line {
      width: 1px;
      min-height: 32px;
      margin-top: 8px;
      margin-left: 0 !important;
      height: auto;
    }
    .steps-desktop > div:last-child > div:first-child .step-line {
      display: none;
    }
    .steps-desktop > div > h3 { margin-bottom: 6px !important; }
  }
