/* ============================================
   CONTACT PAGE STYLES — contact.css
   Requires theme.css to be loaded first.
   ============================================ */

/* ── Poppins (used in contact form + FAQ) ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ════════════════════════════════════
   HERO  (identical to other pages)
════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(480px, 55vw, 713px);
  overflow: hidden;
  background: #1a0505;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.75);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(180, 60, 0, 0.30) 0%,
    rgba(20, 5, 5, 0.55) 100%
  );
}

.hero__content {
  position: absolute;
  bottom: clamp(40px, 8%, 100px);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  text-align: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.21;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.50);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════ */
.contact-section {
  padding-block: clamp(48px, 6vw, 80px);
}

.contact-section__inner {
  max-width: 1196px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.contact-section__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(23px, 3.5vw, 35px);
  font-weight: 700;
  color: var(--color-crimson);
  text-align: center;
  margin-bottom: 8px;
}

.contact-section__subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #717171;
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* ════════════════════════════════════
   CONTACT CARD
════════════════════════════════════ */
.contact-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 0 60px 30px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 491px 1fr;
  overflow: hidden;
  min-height: 667px;
}

/* ── Left crimson panel ── */
.contact-info {
  background: var(--color-crimson);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.contact-info::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  bottom: -70px;
  right: -70px;
  pointer-events: none;
}

.contact-info::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  bottom: 60px;
  right: -20px;
  pointer-events: none;
}

.contact-info__title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.contact-info__tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #C9C9C9;
  margin-bottom: 56px;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
}

.contact-info__socials {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 48px;
  position: relative;
  z-index: 1;
}

.contact-info__social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.contact-info__social-btn--dark {
  background: #1B1B1B;
  color: var(--color-white);
}

.contact-info__social-btn--light {
  background: var(--color-white);
  color: #1B1B1B;
}

.contact-info__social-btn:hover {
  transform: scale(1.15);
}

/* ── Right form panel ── */
.contact-form-panel {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #8D8D8D;
  line-height: 20px;
}

/* Underline inputs */
.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #8D8D8D;
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #8D8D8D;
  font-weight: 500;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--color-crimson);
}

.form-textarea {
  resize: none;
  min-height: 80px;
  line-height: 1.6;
}

/* Subject radios */
.form-subject__label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 20px;
  display: block;
  margin-bottom: 10px;
}

.subject-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.subject-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-ink);
  line-height: 20px;
  user-select: none;
}

.subject-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 1.5px solid #8D8D8D;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.subject-option input[type="radio"]:checked {
  background: var(--color-ink);
  border-color: var(--color-ink);
}

/* Submit */
.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.form-submit {
  padding: 15px 48px;
  background: var(--color-crimson);
  color: var(--color-white);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.12);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-submit:hover {
  background: var(--color-crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(178, 34, 34, 0.35);
}

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

/* Feedback */
.form-message {
  display: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 6px;
}

.form-message.success {
  display: block;
  background: rgba(34, 139, 34, 0.10);
  color: #226b22;
  border: 1px solid rgba(34, 139, 34, 0.25);
}

.form-message.error {
  display: block;
  background: rgba(178, 34, 34, 0.08);
  color: var(--color-crimson);
  border: 1px solid rgba(178, 34, 34, 0.20);
}

/* ════════════════════════════════════
   FAQ SECTION
════════════════════════════════════ */
.faq-section {
  padding-block: clamp(48px, 6vw, 80px);
}

.faq-section__inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.faq-section__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(23px, 3.5vw, 35px);
  font-weight: 700;
  color: var(--color-crimson);
  text-align: center;
  margin-bottom: 8px;
}

.faq-section__subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #4B4B4B;
  text-align: center;
  line-height: 1.5;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.faq-item {
  background: rgba(217, 217, 217, 0.76);
  border-radius: 11px;
  overflow: hidden;
}

.faq-item__btn {
  width: 100%;
  min-height: 101px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-item__btn:hover {
  background: rgba(178, 34, 34, 0.06);
}

.faq-item__question {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #4B4B4B;
  line-height: 1.4;
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #4B4B4B;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 32px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #717171;
  line-height: 1.7;
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info {
    border-radius: 10px 10px 0 0;
  }

  .contact-info__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 70vw;
    min-height: 320px;
  }

  .hero__headline {
    font-size: clamp(28px, 8vw, 42px);
  }

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

  .subject-options {
    gap: 12px;
  }

  .form-submit-row {
    justify-content: center;
  }

  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__btn {
    min-height: 80px;
    padding: 0 20px;
  }
}