/* ============================================================
   POETIC ADS — Contact Page Styles
   ============================================================ */

/* ── Page Hero ── */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-top: 0.5rem;
}

.page-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ── Contact Section Layout ── */
.contact-section { padding: 4rem 0 7rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ── Contact Info (left) ── */
.contact-info-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s;
}
.contact-item:hover { border-color: rgba(255,140,0,0.3); }

.contact-item-icon {
  font-size: 1.3rem;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-dim);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--orange); }

.contact-promise {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

/* ── Contact Form (right) ── */
.contact-form {
  padding: 2.5rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}

.form-group select option { background: #141414; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

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

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── Q&A Flashcard Section ── */
.qa-flashcard-section {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(135deg, #b84500 0%, #d4620a 25%, #e87818 50%, #d4620a 75%, #b84500 100%);
  overflow: hidden;
}

.qa-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Organic wavy blobs */
.qa-bg-pattern::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -150px; left: -100px;
  background: radial-gradient(ellipse, rgba(100,30,0,0.45) 0%, transparent 65%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobFloat 8s ease-in-out infinite;
}

.qa-bg-pattern::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -100px; right: -80px;
  background: radial-gradient(ellipse, rgba(80,20,0,0.4) 0%, transparent 65%);
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-15px) scale(1.05); }
  66%       { transform: translate(-10px,20px) scale(0.97); }
}

.qa-brand-tag {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  z-index: 3;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

.qa-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.qa-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0,0,0,0.25);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.qa-underline {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.7);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Carousel wrapper */
.qa-carousel {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.qa-slide {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  animation: qaFadeIn 0.4s ease;
}
.qa-slide.active { display: flex; }

@keyframes qaFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Q and A cards */
.qa-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.qa-question p {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
  margin: 0;
  line-height: 1.5;
}

.qa-answer-content { flex: 1; }
.qa-answer-content p {
  color: #222;
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}
.qa-answer-content p + p { margin-top: 0.65rem; }
.qa-answer-content ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}
.qa-answer-content ul li {
  list-style: disc;
  color: #333;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

/* Q/A Badges */
.qa-badge {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220,38,38,0.45);
}

/* Navigation */
.qa-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  position: relative;
  z-index: 2;
}

.qa-prev, .qa-next {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: blur(6px);
  font-family: var(--sans);
}
.qa-prev:hover, .qa-next:hover {
  background: rgba(255,255,255,0.38);
  border-color: rgba(255,255,255,0.75);
  transform: scale(1.08);
}

.qa-dots { display: flex; gap: 0.5rem; align-items: center; }

.qa-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.qa-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* ── FAQ Section (accordion) ── */
.faq-section { padding: 5rem 0; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }

.faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--orange);
  line-height: 1;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--orange); }

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .qa-flashcard-section { padding: 5rem 0; }
}

@media (max-width: 600px) {
  .contact-form { padding: 1.75rem; }
  .qa-brand-tag { font-size: 0.85rem; right: 1.25rem; top: 1.25rem; }
  .qa-title { font-size: 3rem; }
}