/* ============================================================
   National Shield Pro - Contact Hero & Inquiry Section
   100% Pixel-Matched to Figma Reference (media_1795179549387_17e47217.jpg)
   ============================================================ */

.contact-hero-wrap {
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  padding-top: 3.25rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--color-slate-200);
  overflow: hidden;
}

/* Container */
.contact-hero-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ============================================================
   TOP HERO HEADER: Copy on Left, HQ Building on Right
   ============================================================ */
.contact-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

.contact-hero-copy {
  flex: 1 1 55%;
  max-width: 620px;
}

.contact-hero-visual {
  flex: 1 1 45%;
  max-width: 510px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Kicker Pill */
.contact-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 9999px;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-kicker-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.contact-kicker-pill svg {
  color: #059669;
  flex-shrink: 0;
}

/* Title */
.contact-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.contact-title-accent {
  color: #047857;
}

/* Description */
.contact-hero-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.75rem 0;
  max-width: 530px;
}

/* Badges Row */
.contact-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.2s ease;
}

.contact-pill-item:hover {
  color: #047857;
}

.contact-pill-item svg {
  color: #059669;
  flex-shrink: 0;
}

.contact-pill-divider {
  width: 1px;
  height: 18px;
  background-color: #cbd5e1;
}

/* HQ Facade Graphic */
.contact-hq-card {
  position: relative;
  width: 100%;
  max-width: 510px;
  overflow: visible;
  animation: hqAmbientFloat 8s ease-in-out infinite;
}

@keyframes hqAmbientFloat {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 14px 28px rgba(4, 120, 87, 0.12));
  }
  50% {
    transform: translateY(-4px);
    filter: drop-shadow(0 20px 38px rgba(4, 120, 87, 0.18));
  }
}

.contact-hq-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.contact-hq-card:hover {
  animation-play-state: paused;
}

.contact-hq-card:hover .contact-hq-img {
  transform: translateY(-2px) scale(1.015);
  filter: drop-shadow(0 22px 42px rgba(4, 120, 87, 0.22));
}

/* ============================================================
   LOWER SECTION: 2-Column Cards Grid
   Left: "Send an Enquiry" Card
   Right: Stacked "Corporate Details" & "Existing Platform Users"
   ============================================================ */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Left Form Card */
.contact-form-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  padding: 2.25rem 2.5rem;
  position: relative;
}

.contact-form-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.015em;
}

.contact-form-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 1.75rem 0;
  line-height: 1.5;
}

/* Form Row (2-column inputs) */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

/* Input Wrap */
.contact-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-input-icon {
  position: absolute;
  left: 1rem;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.contact-field {
  width: 100%;
  height: 46px;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0f172a;
  transition: all 0.2s ease;
}

.contact-field::placeholder {
  color: #94a3b8;
}

.contact-field:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  outline: none;
}

.contact-input-wrap:focus-within .contact-input-icon {
  color: #047857;
}

/* Select Styling */
.contact-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-color: #ffffff;
}

.contact-select-chevron {
  position: absolute;
  right: 1rem;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s ease;
}

.contact-input-wrap:focus-within .contact-select-chevron {
  color: #047857;
  transform: rotate(180deg);
}

/* Textarea */
.contact-textarea-wrap {
  position: relative;
  margin-bottom: 1.35rem;
}

.contact-textarea-wrap .contact-input-icon {
  top: 1rem;
}

.contact-textarea {
  width: 100%;
  height: 105px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0f172a;
  resize: vertical;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.contact-textarea::placeholder {
  color: #94a3b8;
}

.contact-textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  outline: none;
}

.contact-textarea-wrap:focus-within .contact-input-icon {
  color: #047857;
}

/* Submit Button */
.contact-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 48px;
  background-color: #044e39;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(4, 78, 57, 0.2);
}

.contact-btn-submit:hover {
  background-color: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 78, 57, 0.32);
}

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

.contact-btn-submit svg {
  transition: transform 0.25s ease;
}

.contact-btn-submit:hover svg {
  transform: translateX(3px) translateY(-1px);
}

/* Right Stacked Cards */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background-color: #f3faf6;
  border: 1px solid #dcf2e6;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.07);
}

/* Card Header */
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.contact-card-badge {
  width: 42px;
  height: 42px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

.contact-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Corporate Details Table */
.contact-details-table {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-details-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact-detail-label {
  font-weight: 700;
  color: #0f172a;
  width: 125px;
  flex-shrink: 0;
}

.contact-detail-value {
  color: #334155;
  font-weight: 400;
}

.contact-detail-link {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.contact-detail-link:hover {
  color: #065f46;
  text-decoration: underline;
}

/* Existing Users Card */
.existing-users-desc {
  font-size: 0.84375rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.existing-users-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 44px;
  background-color: #ffffff;
  border: 1.5px solid #047857;
  border-radius: 8px;
  color: #047857;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.existing-users-btn:hover {
  background-color: #047857;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.22);
}

.existing-users-btn svg {
  transition: transform 0.25s ease;
}

.existing-users-btn:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .contact-hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .contact-hero-copy {
    max-width: 100%;
  }
  
  .contact-hero-visual {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-hero-wrap {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

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

  .contact-details-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-detail-label {
    width: auto;
  }

  .contact-pills-row {
    gap: 0.75rem;
  }

  .contact-pill-divider {
    display: none;
  }
}
