/* ===============================
   CONTACTS PAGE — SOFTFLOW STYLE
=============================== */

.contacts-wrapper {
  padding: 140px 20px 160px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
 padding-top: 100px; /* ← ключевая строка */
  padding-bottom: 120px;
}

/* мягкий шампань-фон */
/*.contacts-wrapper::before {
  content: "";
  position: absolute;
  inset: -120px -100vw;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 236, 210, 0.35) 0%,
      rgba(255, 246, 235, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
}*/


body {
  background: url("assets/hero-bg-softflow.jpg") center top / cover no-repeat;
}
.hero-stars {
    position: fixed;
    inset: 0;
    background-image: url("assets/stars.png");
    background-size: cover;
    background-position: center;
    pointer-events: none;

    opacity: 0.85;
     filter:
        brightness(1.8)
        contrast(1.4)
        drop-shadow(0 0 10px rgba(255,255,255,0.9))
        drop-shadow(0 0 25px rgba(255,240,200,0.7));

    animation: starGlow 4s ease-in-out infinite;
}

@keyframes starGlow {
    0% {
        opacity: 0.55;
        filter: drop-shadow(0 0 6px rgba(255,255,255,0.6))
                brightness(1.5);
        transform: scale(1);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 14px rgba(255,255,255,0.9))
                brightness(2);
        transform: scale(1.015);
    }

    100% {
        opacity: 0.55;
        filter: drop-shadow(0 0 4px rgba(255,255,255,0.4))
                brightness(1.5);
        transform: scale(1);
    }
}

.hero::before {
z-index: 1;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 12, 30, 0.15) 0%,
        rgba(20, 12, 30, 0.25) 100%
    );
    pointer-events: none;
}


.contacts-wrapper h1 {
  text-align: center;
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  color: var(--choco);
  margin-bottom: 60px;
  text-shadow:
    0 0 12px rgba(255, 220, 170, 0.45);
}

.contact-block {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  padding: 36px 42px;
  margin-bottom: 40px;
  box-shadow:
    0 0 18px rgba(255, 220, 170, 0.35),
    0 0 40px rgba(255, 210, 160, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-block:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 26px rgba(255, 230, 180, 0.55),
    0 0 60px rgba(255, 220, 170, 0.35);
}

.contact-block h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--choco);
}

.contact-block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
}

.telegram-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 36px;
  font-weight: 600;
  text-decoration: none;
  color: #4b2f23;
  background: linear-gradient(
    135deg,
    #f5d7a6,
    #fff2dc,
    #e6c58c
  );
  box-shadow:
    0 0 18px rgba(255, 220, 160, 0.6),
    inset 0 0 8px rgba(255,255,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.telegram-btn:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 28px rgba(255, 235, 190, 0.9),
    inset 0 0 14px rgba(255,255,255,0.9);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid rgba(200, 170, 130, 0.35);
  font-family: inherit;
  font-size: 15px;
  background: rgba(255,255,255,0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(255, 210, 160, 0.45);
}


@media (max-width: 640px) {
  .contacts-wrapper h1 {
    font-size: 44px;
  }

  .contact-block {
    padding: 28px;
  }
}

.footer {
  position: relative;
  z-index: 10;
  background: rgba(255, 245, 235, 0.95);
}
