/* Contact Template Styles */
:root { --brand-blue: #1b50b3; --brand-sky: #52ade5; --ink: #1f2a44; --muted: #6b7280; --bg: #f6f8fb; }

.contact-hero { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 80px 20px; background: radial-gradient(1200px 600px at 50% 0%, #2a5bd9 0%, #1b50b3 40%, #0f2a7a 100%); color: #fff; }
.contact-hero-inner { max-width: 1200px; margin: 0 auto; }
.contact-hero h1 { font-size: 48px; font-weight: 800; margin: 0 0 10px; }
.contact-hero p { font-size: 18px; opacity: .9; margin: 0; }

.contact-main { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: #fff; padding: 60px 20px; }
.contact-container { max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

/* Steps */
.contact-steps h2 { color: var(--brand-blue); font-size: 32px; margin: 0 0 8px; font-weight: 800; }
.contact-steps p { color: var(--muted); margin: 0 0 18px; }
.steps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.steps-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: #eaf2ff; color: var(--brand-blue); display: grid; place-items: center; font-weight: 800; }
.step-copy h4 { margin: 0 0 4px; color: var(--ink); font-size: 16px; }
.step-copy p { margin: 0; color: #344055; font-size: 14px; }

/* Card */
.contact-card { background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.08); overflow: visible; }
.card-header { display: flex; gap: 14px; align-items: center; background: #f3f6fd; padding: 16px 18px; border-bottom: 1px solid #e7ecf5; border-radius: 14px 14px 0 0; }
.card-icon { width: 36px; height: 36px; border-radius: 8px; background: #eaf2ff; color: var(--brand-blue); display: grid; place-items: center; font-size: 18px; }
.card-header p { margin: 0; color: #3b4b66; }

/* Contact Form Container Styling */
.universal-form {
  padding: 20px;
}

/* Contact page specific styles only - form components handled by universal CSS */

/* ── Form Response Modal ───────────────────────────────────────── */
.cc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 60, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cc-modal-backdrop.cc-modal-open {
  opacity: 1;
  pointer-events: all;
}
.cc-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(15, 25, 60, 0.22);
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
.cc-modal-backdrop.cc-modal-open .cc-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Icon circle */
.cc-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  flex-shrink: 0;
}
.cc-modal.cc-modal--success .cc-modal-icon {
  background: #e8f8f0;
  color: #16a34a;
  animation: cc-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.cc-modal.cc-modal--error .cc-modal-icon {
  background: #fef2f2;
  color: #dc2626;
  animation: cc-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
@keyframes cc-pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Heading & body */
.cc-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #1f2a44;
  margin: 0 0 10px;
  line-height: 1.25;
}
.cc-modal-body {
  font-size: 15px;
  color: #4b5563;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Close button */
.cc-modal-close-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.cc-modal-close-x:hover {
  background: #e5e7eb;
  color: #1f2a44;
}

/* CTA button */
.cc-modal-btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}
.cc-modal-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cc-modal.cc-modal--success .cc-modal-btn {
  background: linear-gradient(135deg, #1b50b3 0%, #52ade5 100%);
  color: #fff;
}
.cc-modal.cc-modal--error .cc-modal-btn {
  background: #f3f4f6;
  color: #1f2a44;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-hero h1 { font-size: 38px; }
  .cc-modal { padding: 36px 24px 28px; }
  .cc-modal-title { font-size: 20px; }
}
