/*! Draftingware Confidential. Copyright (c) 2024–2026 Draftingware Technologies Pvt. Ltd. All rights reserved. */

/* ── Page wrapper (offsets fixed nav, matches blog-page / legal-page) ── */
.contact-page {
   padding-top: 74px;
}

/* ── Layout ── */
.contact-section {
   background: #f5f5f7;
   padding: 56px 20px 100px;
}

.contact-inner {
   display: flex;
   gap: 80px;
   align-items: flex-start;
}

.contact-left {
   flex: 0 0 380px;
}

.contact-right {
   flex: 1;
}

/* ── Left column ── */
.contact-heading {
   font-size: clamp(40px, 4vw, 56px);
   font-weight: 700;
   letter-spacing: -0.03em;
   line-height: 1.05;
   color: #1d1d1f;
   margin: 8px 0 16px;
}

.contact-sub {
   font-size: 16px;
   color: #6e6e73;
   line-height: 1.6;
   margin-bottom: 40px;
}

.contact-desc {
   font-size: 14px;
   color: #6e6e73;
   line-height: 1.7;
   margin-bottom: 24px;
}

.contact-email {
   display: block;
   font-size: 15px;
   font-weight: 500;
   color: #4b61dd;
   text-decoration: none;
   margin-bottom: 20px;
   transition: opacity 200ms ease;
}

.contact-email:hover {
   opacity: 0.75;
}

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

.contact-social a {
   font-size: 13px;
   color: #1d1d1f;
   text-decoration: none;
   transition: color 200ms ease;
}

.contact-social a:hover {
   color: #4b61dd;
}

/* ── Right column: form ── */
.form-sublabel {
   font-size: 11px;
   font-weight: 500;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #6e6e73;
   margin-bottom: 28px;
}

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

.form-field label {
   display: block;
   font-size: 12px;
   font-weight: 500;
   color: #6e6e73;
   margin-bottom: 6px;
   letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
   width: 100%;
   background: #f5f5f7;
   border: 1px solid rgba(0, 0, 0, 0.1);
   border-radius: 8px;
   padding: 12px 14px;
   font-size: 15px;
   color: #1d1d1f;
   font-family: inherit;
   transition: border-color 200ms ease;
   box-sizing: border-box;
   resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
   color: #aeaeb2;
}

.form-field input:focus,
.form-field textarea:focus {
   outline: none;
   border-color: #4b61dd;
   background: #ffffff;
}

.form-error {
   font-size: 13px;
   color: #c0392b;
   min-height: 18px;
}

#contact-submit {
   align-self: flex-start;
   background: #1d1d1f;
   color: #f5f5f7;
   border: none;
   border-radius: 8px;
   padding: 13px 28px;
   font-size: 14px;
   font-weight: 500;
   font-family: inherit;
   cursor: pointer;
   transition: background 200ms ease;
}

#contact-submit:hover {
   background: #3a3a3c;
}

#contact-submit:disabled {
   opacity: 0.5;
   cursor: not-allowed;
}

#contact-submit:focus-visible {
   outline:        2px solid var(--color-accent-amber);
   outline-offset: 3px;
}

.form-success {
   padding: 32px 0;
   font-size: 16px;
   color: #1d1d1f;
   line-height: 1.6;
}

/* ── FAQ ── */
.faq-section {
   padding: 60px 20px 100px;
   background: #ffffff;
}

.faq-list {
   margin-top: 32px;
   border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
   border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px 0;
   background: none;
   border: none;
   cursor: pointer;
   text-align: left;
   font-size: 16px;
   font-weight: 500;
   color: #1d1d1f;
   font-family: inherit;
   gap: 16px;
   transition: color 200ms ease;
}

.faq-question,
.faq-question span,
.faq-question * {
   color: #1d1d1f !important;
   text-decoration: none;
}

.faq-question:hover,
.faq-question:hover span {
   color: #4b61dd !important;
}

.faq-question:focus-visible {
   outline:        2px solid var(--color-accent-amber);
   outline-offset: 4px;
   border-radius:  2px;
}

.faq-icon {
   font-size: 20px;
   font-weight: 300;
   color: #6e6e73;
   flex-shrink: 0;
   transition: transform 280ms ease;
   line-height: 1;
}

.faq-item.is-open .faq-icon {
   transform: rotate(45deg);
}

.faq-item.is-open .faq-question {
   color: #1d1d1f;
}

.faq-answer {
   max-height: 0;
   overflow: hidden;
   transition: max-height 300ms ease;
}

.faq-answer p {
   padding: 0 0 20px;
   font-size: 15px;
   color: #6e6e73;
   line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
   .contact-inner {
      gap: 48px;
   }
   .contact-left {
      flex: 0 0 300px;
   }
}

@media (max-width: 767px) {
   .contact-section {
      padding: 56px 20px 64px;
   }
   .contact-inner {
      flex-direction: column;
      gap: 40px;
   }
   .contact-left {
      flex: none;
      width: 100%;
   }
   .contact-right {
      width: 100%;
      min-width: 0;
   }
   .contact-form-zone {
      width: 100%;
   }
   .form-field input,
   .form-field textarea {
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
   }
   #contact-submit {
      width: 100%;
      text-align: center;
      box-sizing: border-box;
   }
   .faq-section {
      padding: 40px 20px 64px;
   }
   .faq-question {
      font-size: 15px;
   }
}
