/* =====================================================
   CONTACT PAGE — REVALABS.AI
   Dedicated styles for contact.html
   ===================================================== */

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border-black);
  color: var(--text-on-black);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

footer h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

footer ul {
  list-style: none;
}

footer a {
  color: var(--text-muted-on-black);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.9375rem;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom-inner {
  border-top: 1px solid var(--border-black);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* ── CONTACT PAGE LAYOUT ── */
.contact-page-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 60%, #061020 100%);
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* ── VIDEO BACKGROUND ── */
.contact-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.contact-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 32, 0.72);
  z-index: 1;
  pointer-events: none;
}

/* ── ANIMATED BACKGROUND CANVAS ── */
#contact-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ── FLOATING ORBS ── */
.contact-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}

.contact-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  animation: orb-drift-1 12s ease-in-out infinite;
}

.contact-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  animation: orb-drift-2 15s ease-in-out infinite;
}

.contact-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: orb-drift-3 18s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, -40px) scale(1.08); }
  66%       { transform: translate(-30px, 30px) scale(0.94); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-50px, -60px) scale(1.1); }
  70%       { transform: translate(30px, 20px) scale(0.92); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(40px, -50px) scale(1.12); }
}

/* ── GRID LINES OVERLAY ── */
.contact-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── MAIN CONTENT AREA ── */
.contact-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

/* ── LEFT COLUMN ── */
.contact-left {
  color: var(--white);
  max-width: 100%;
  box-sizing: border-box;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
}

.contact-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.contact-heading {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.contact-heading .highlight {
  background: linear-gradient(110deg,
    #7eb8ff 0%,
    #a78bfa 40%,
    #c4b5fd 70%,
    #93c5fd 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(140, 160, 255, 0.35));
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* ── MAP CONTAINER ── */
.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
  position: relative;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
  /* Removed dark theme filter for standard light Google Maps theme */
}

/* ── NAV LINKS ── */
.contact-nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.contact-nav-link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.contact-nav-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── RIGHT COLUMN — FORM CARD ── */
.contact-right {
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}

/* ── FORM CARD — GLASSMORPHISM ── */
.contact-form-card {
  background: rgba(8, 16, 36, 0.45);
  border: 1px solid rgba(120, 160, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 8px 32px rgba(0,0,0,0.38),
    0 24px 64px rgba(0,0,0,0.28),
    0 0 0 1px rgba(80,120,255,0.07),
    0 0 60px rgba(59,100,246,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 0 0 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 12px 40px rgba(0,0,0,0.42),
    0 32px 80px rgba(0,0,0,0.3),
    0 0 0 1px rgba(96,130,255,0.12),
    0 0 80px rgba(59,100,246,0.12);
}

/* Form header — refined cosmic gradient */
.contact-form-header {
  background: linear-gradient(135deg,
    rgba(6, 14, 38, 0.95) 0%,
    rgba(15, 35, 90, 0.9) 50%,
    rgba(30, 60, 140, 0.85) 100%
  );
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  border-bottom: 1px solid rgba(100, 140, 255, 0.1);
}

.contact-form-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(96,130,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-header-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(160, 190, 255, 0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-form-header-icon {
  width: 34px;
  height: 34px;
  background: rgba(96, 130, 255, 0.15);
  border: 1px solid rgba(96, 130, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-header h2 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0;
}

.contact-form-header p {
  font-size: 0.82rem;
  color: rgba(180, 200, 255, 0.6);
  margin-top: 0.4rem;
}

/* Form body */
.contact-form-body {
  padding: 2rem 2rem 0;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-field {
  margin-bottom: 1rem;
}

.contact-field:last-of-type {
  margin-bottom: 1.5rem;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(120, 160, 255, 0.2);
  border-radius: 0;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: #ffffff;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.contact-input:focus,
.contact-textarea:focus {
  border-bottom-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 2px 0 0 rgba(96, 165, 250, 0.25);
  background: transparent;
}

.contact-textarea {
  resize: none;
  min-height: 80px;
}

/* Submit button — cosmic gradient */
.contact-submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg,
    rgba(15, 40, 100, 0.95) 0%,
    rgba(40, 80, 200, 0.9) 60%,
    rgba(60, 100, 220, 0.85) 100%
  );
  color: #fff;
  border: 1px solid rgba(96, 140, 255, 0.25);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 4px 20px rgba(40, 80, 200, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 32px rgba(40, 80, 200, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}

.contact-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error messages */
.contact-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #16a34a;
  text-align: center;
  font-family: var(--font-body);
}

.contact-error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #dc2626;
  text-align: center;
  font-family: var(--font-body);
}

/* ── FLOATING PARTICLES (CSS-only dots) ── */
.contact-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.5);
  pointer-events: none;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) translateX(var(--drift, 40px)) scale(0.5); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 3rem;
  }

  .contact-map-wrap iframe {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding: 2rem 1rem 2rem;
  }

  .contact-heading {
    font-size: 1.75rem;
  }
  
  /* Fix horizontal overflow */
  .contact-page-wrapper {
    overflow-x: hidden;
    width: 100%;
  }
  
  .contact-content {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .contact-left,
  .contact-right {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .contact-form-card {
    max-width: 100%;
  }
  
  .contact-form-body {
    padding: 1.5rem 1rem 0;
  }
  
  .contact-form-header {
    padding: 1.5rem 1rem;
  }
}

/* ── MAP SECTION ── */
.contact-map-section {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.contact-map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.contact-map-eyebrow svg {
  stroke: var(--accent-blue);
  flex-shrink: 0;
}

.contact-map-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-blue);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.contact-map-address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.contact-map-address-item {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
}

.contact-map-address-dot {
  color: #bbb;
  font-size: 1rem;
  line-height: 1;
}

.contact-map-inner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.08),
    0 16px 48px rgba(0,0,0,0.06);
}

.contact-map-wrap {
  overflow: hidden;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
}

@media (max-width: 600px) {
  .contact-map-wrap iframe {
    height: 280px;
  }
}

/* ── CAREERS SECTION ── */
.contact-careers-section {
  position: relative;
  z-index: 2;
  width: 100%;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 55%),
    #f4f7ff;
  padding: 0;
  overflow: hidden;
}

.contact-careers-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-careers-inner {
  position: relative;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-height: 500px;
}

.contact-careers-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.contact-careers-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.contact-careers-content {
  flex: 1;
  text-align: left;
  padding: 5rem 4rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-careers-tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.contact-careers-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy-blue);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.contact-careers-highlight {
  background: linear-gradient(110deg, #3B82F6 0%, #6366f1 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-careers-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.8;
  max-width: 100%;
  margin: 0 0 2rem 0;
}

.contact-careers-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: transparent;
  color: var(--accent-blue);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-careers-cta:hover {
  background: rgba(59, 130, 246, 0.07);
  border-color: rgba(59, 130, 246, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.15);
}

@media (max-width: 600px) {
  .contact-careers-section {
    padding: 4rem 1.5rem;
  }

  .contact-careers-inner {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .contact-careers-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .contact-careers-image img {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .contact-careers-content {
    text-align: center;
    padding: 2rem 1rem;
  }

  .contact-careers-desc {
    max-width: 580px;
    margin: 0 auto 2rem;
  }

  .contact-map-wrap iframe {
    height: 240px;
  }
  
  /* Fix careers section overflow */
  .contact-careers-section {
    overflow-x: hidden;
    width: 100%;
  }
  
  .contact-careers-inner {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* ── FLOATING LABEL FIELDS ── */
.fl-field {
  position: relative;
  margin-bottom: 1.4rem;
}

.contact-form-row .fl-field {
  margin-bottom: 0;
}

.fl-input {
  width: 100%;
  padding: 1.4rem 0 0.4rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: #ffffff;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.fl-input::placeholder {
  color: transparent;
}

.fl-textarea {
  resize: none;
  min-height: 80px;
  padding-top: 1.6rem;
  line-height: 1.6;
}

/* Label — sits inside the field by default */
.fl-label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
              font-size 0.22s cubic-bezier(0.4,0,0.2,1),
              color 0.22s;
}

/* Floated state — triggered by focus or non-empty value */
.fl-input:focus ~ .fl-label,
.fl-input:not(:placeholder-shown) ~ .fl-label {
  transform: translateY(-1rem) scale(0.78);
  font-size: 0.78rem;
  color: rgba(140, 180, 255, 0.9);
}

/* Focus border + glow */
.fl-input:focus {
  border-bottom-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 2px 0 0 rgba(96, 165, 250, 0.22);
}

/* Textarea label offset */
.fl-field-textarea .fl-label {
  top: 1.1rem;
}

.fl-field-textarea .fl-input:focus ~ .fl-label,
.fl-field-textarea .fl-input:not(:placeholder-shown) ~ .fl-label {
  transform: translateY(-1.1rem) scale(0.78);
  color: rgba(140, 180, 255, 0.9);
}

/* ══════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════ */
.contact-faq-section {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}

.contact-faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Header */
.contact-faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-faq-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.contact-faq-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-blue);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.contact-faq-highlight {
  background: linear-gradient(110deg, #3B82F6 0%, #6366f1 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-faq-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* List */
.contact-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each item */
.faq-item {
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  outline: none !important;
  box-shadow: none !important;
}

.faq-question:focus,
.faq-question:focus-visible,
.faq-question:active {
  outline: none !important;
  box-shadow: none !important;
}

.faq-question:hover .faq-q-text,
.faq-question:focus-visible .faq-q-text {
  color: var(--accent-blue);
}

.faq-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.5);
  letter-spacing: 0.06em;
  min-width: 28px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.faq-item.open .faq-num {
  color: var(--accent-blue);
}

.faq-q-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-blue);
  flex: 1;
  line-height: 1.5;
  transition: color 0.2s;
}

/* +/- icon */
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* horizontal bar */
.faq-icon::before {
  width: 10px;
  height: 1.5px;
}

/* vertical bar */
.faq-icon::after {
  width: 1.5px;
  height: 10px;
}

.faq-item.open .faq-icon {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: rotate(45deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: #ffffff;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  padding: 0 0 1.5rem 2.5rem;
}

.faq-answer p strong {
  color: var(--navy-blue);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-faq-section {
    padding: 4rem 1.25rem;
  }

  .faq-answer p {
    padding-left: 0;
  }

  .faq-num {
    display: none;
  }
}
