/* ── Contact Page ── */

/* ── Hero ── */
.contact-hero {
  background: #1a0a2e;
  padding: 90px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 60%, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.contact-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 14px;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-hero p {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

/* ── Main Layout ── */
.contact-main {
  background: #fdf4ff;
  padding: 80px 40px 100px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

/* ── Info Panel ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.info-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #1e0a2e;
  margin-bottom: 14px;
  line-height: 1.25;
}

.info-block p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #4c1d95;
  line-height: 1.8;
}

.info-block p strong {
  color: #1e0a2e;
}

.reasons-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a855f7;
  margin-bottom: 18px;
}

.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #f3e8ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.reason-item:hover .reason-icon {
  background: #a855f7;
  color: white;
}

.reason-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e0a2e;
  margin-bottom: 3px;
}

.reason-item p {
  font-size: 0.86rem;
  color: #6b21a8;
  line-height: 1.6;
  margin: 0;
}

/* Socials */
.contact-socials {
  display: flex;
  flex-direction: column;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4c1d95;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  background: white;
  border: 1px solid #e9d5ff;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  max-width: 220px;
}

.social-link i {
  font-size: 1rem;
  color: #a855f7;
  transition: color 0.2s ease;
}

.social-link:hover {
  background: #a855f7;
  color: white;
  border-color: #a855f7;
  transform: translateX(4px);
}

.social-link:hover i { color: white; }

/* ── Form Card ── */
.contact-form-card {
  background: white;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 16px 50px rgba(107, 33, 168, 0.1);
  border: 1px solid #f3e8ff;
}

.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #1e0a2e;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: #4c1d95;
  letter-spacing: 0.02em;
}

.req { color: #c026d3; }
.optional { font-weight: 400; color: #a78bca; font-size: 0.78rem; }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e9d5ff;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #1e0a2e;
  background: #fdf4ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a855f7' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fdf4ff;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-submit-btn {
  width: 100%;
  padding: 15px;
  background: #db2777;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.3);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.contact-submit-btn:hover {
  background: #be185d;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(219, 39, 119, 0.4);
}

.contact-submit-btn:active { transform: translateY(0); }

.form-footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: #a78bca;
  margin-top: 14px;
}

/* ── Thank You State ── */
.contact-thankyou {
  text-align: center;
  padding: 20px 0;
  animation: thankYouIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes thankYouIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.contact-thankyou .ty-icon {
  font-size: 3.5rem;
  margin-bottom: 18px;
  display: block;
}

.contact-thankyou h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #1e0a2e;
  margin-bottom: 12px;
}

.contact-thankyou p {
  font-family: 'Lora', serif;
  font-size: 0.97rem;
  color: #4c1d95;
  line-height: 1.75;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info {
    gap: 32px;
  }

  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .social-link { max-width: none; }
}

@media (max-width: 600px) {
  .contact-hero { padding: 60px 20px 50px; }
  .contact-main { padding: 50px 20px 70px; }

  .contact-form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}