.contact-hero {
  background: var(--navy);
  padding: 9rem 4rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(82,151,255,0.13) 0%, transparent 65%);
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(white 1px, transparent 1px), linear-gradient(90deg, white 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(82, 151, 255, 0.15);
  border: 1px solid rgba(82, 151, 255, 0.3);
  color: #7ab3ff;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s ease 0.1s both;
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.contact-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s ease 0.2s both;
}
.contact-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #7ab3ff 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  animation: fadeUp 0.7s ease 0.35s both;
}

/* ─── MAIN LAYOUT ─── */
.contact-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 4rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

/* ─── LEFT INFO PANEL ─── */
.contact-info {
  position: sticky;
  top: 8rem;
}
.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.info-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.info-heading em {
  font-style: italic;
  color: var(--blue);
}
.info-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(24, 95, 165, 0.08), rgba(82, 151, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.info-item-text p {
  font-size: 0.85rem;
  color: var(--muted);
}
.info-item-text a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.info-item-text a:hover {
  text-decoration: underline;
}
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}
.response-badge p {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.response-badge strong {
  color: var(--green);
}

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 3rem;
}
.form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}
.required-star {
  color: #ef4444;
  margin-left: 2px;
}
input, textarea, select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  transition: all 0.25s;
  outline: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.1);
}
input::placeholder, textarea::placeholder {
  color: #b0b8c8;
}
textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a99' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.submit-btn:hover::after {
  opacity: 1;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 31, 60, 0.2);
}
.submit-btn span {
  position: relative;
  z-index: 1;
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error states */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.show {
  display: block;
}
.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}
.form-success h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.form-error {
  display: none;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #dc2626;
  margin-top: 1rem;
}
.form-error.show {
  display: block;
}

/* Disclaimer */
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.6;
}
.form-disclaimer a {
  color: var(--blue);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }

/* ─── RESPONSIVE ─── */
@media(max-width: 900px) {
  .contact-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
  .contact-hero { padding: 6.5rem 1.25rem 3rem !important; }
  .contact-hero h1 { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  .contact-body { padding: 2.5rem 1.25rem 4rem !important; grid-template-columns: 1fr !important; }
  .contact-info { position: static !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .contact-form-wrap { padding: 1.75rem 1.25rem !important; }
  input, textarea, select { font-size: 16px !important; }
  .submit-btn { padding: 1rem; font-size: 0.9rem; }
}

/* ── Universal Mobile Safety Net ── */
@media(max-width: 768px) {
  img { max-width: 100%; height: auto; }
  * { word-break: break-word; box-sizing: border-box; }
  .cta-btns { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .cta-btns a { text-align: center; width: 100%; }
}
@media(max-width: 480px) {
  h1, h2 { word-break: break-word; hyphens: auto; }
  .wrap { padding-left: 1rem !important; padding-right: 1rem !important; }
}
