/* =========================================================
   SAFFERGURU — CONTACT PAGE STYLESHEET
   Page-specific styles only. Shared tokens, resets, header,
   footer, buttons, cards, animations, .feature-card and the
   .faq-item/.faq-visual accordion styles all come from
   assets/css/base.css — loaded before this file.

   1. Contact Info Cards
   2. Contact Form + Visual Split
   3. FAQ (solo column variant)
   4. Responsive
   ========================================================= */

/* ---------- 1. CONTACT INFO CARDS ----------
   Reuses .feature-card / .feature-icon from base.css (Why Choose
   section) so the premium border-flow + cursor-light treatment
   carries over automatically; only the grid and the extra text
   rows below the title are page-specific. */

/* The header is fixed globally. Keep it above the contact hero and reserve
   space for it so the hanging logo can never appear clipped in this section. */
.site-header {
  top: 0 !important;
  z-index: 1100;
  transform: none !important;
}
.site-header .logo {
  top: 0 !important;
}
.hero--about {
  height: auto;
  min-height: clamp(260px, 30vw, 360px);
  max-height: none;
}
.hero--about .hero-inner {
  display: block;
  min-height: 0;
  text-align: left;
  padding-block: calc(var(--logo-h) + 20px) clamp(24px, 4vh, 44px);
}
.hero--about .hero-copy {
  max-width: 640px;
  min-width: 0;
}
.hero--about .hero-text {
  margin-top: 12px;
  max-width: 460px;
  font-size: clamp(15px, 0.9vw, 18px);
  line-height: 1.6;
}
.hero--about .hero-title--page {
  margin-top: 16px;
  max-width: 100%;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  overflow-wrap: anywhere;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  background: rgba(7, 27, 52, 0.38);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover, .breadcrumb span[aria-current] { color: #fff; }
.breadcrumb i { width: 13px; height: 13px; opacity: .55; }
@media (max-width: 560px) {
  .hero--about { min-height: 420px; }
  .hero--about .hero-title--page { font-size: 34px; line-height: 1.13; }
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.contact-cards-grid .feature-card {
  min-height: 200px;
  align-items: flex-start;
}
.contact-card-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 22px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.3s ease;
}
a.contact-card-link:hover {
  color: var(--primary);
}
.contact-card-note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(30, 41, 59, 0.55);
}

/* ---------- 2. CONTACT FORM + VISUAL SPLIT ---------- */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 56px);
}

.contact-form-card {
  padding: clamp(28px, 3.2vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
}
.contact-form-card .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(91, 61, 245, 0.14);
  border-radius: 999px;
  background: rgba(91, 61, 245, 0.055);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.contact-form-sub {
  margin-top: 14px;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(30, 41, 59, 0.6);
}

.cf-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cf-field {
  display: block;
}
.cf-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.cf-label i {
  color: var(--primary);
  font-style: normal;
}
.cf-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--light);
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--ink);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.cf-input::placeholder {
  color: rgba(30, 41, 59, 0.4);
}
.cf-input:focus {
  outline: none;
  border-color: #bda8ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.14);
}
.cf-input.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}
.cf-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='rgba(30,41,59,0.45)'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.293l3.71-4.06a.75.75 0 111.08 1.04l-4.25 4.65a.75.75 0 01-1.08 0l-4.25-4.65a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.cf-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  font-family: inherit;
}
.cf-form .btn {
  margin-top: 4px;
}
.cf-status {
  margin: 0;
  min-height: 18px;
  font-size: 12.5px;
  font-weight: 600;
}
.cf-status.is-success {
  color: #16a34a;
}
.cf-status.is-error {
  color: #dc2626;
}

/* the visual panel reuses .faq-visual / .faq-trust / .faq-float
   from base.css as-is; no extra rules needed here beyond making
   sure it matches the form card's height on desktop. */
#contact-form .faq-visual {
  min-height: 100%;
}

/* ---------- 3. FAQ (solo column variant) ----------
   Home's #faq uses a two-column .faq-layout (list + .faq-visual);
   this page already spent its visual on the contact split above,
   so the FAQ here is a single centered column reusing the same
   .faq-item/.faq-question/.faq-answer accordion styling. */
.faq-list--solo {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- 4. RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  #contact-form .faq-visual {
    min-height: 320px;
  }
  .contact-split {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
}
