/* ================================
   CONTACT PAGE — Premium Special Experience
   Animations • Professional • Memorable
================================ */

.contact-page {
  min-height: 100vh;
  padding-bottom: 60px;
}

/* Hero */
.contact-hero {
  text-align: center;
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(201,162,39,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.contact-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  animation: cpFadeDown 0.6s ease-out;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cpFadeUp 0.6s ease-out 0.1s both;
}
.contact-hero p,
.contact-hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
  animation: cpFadeUp 0.6s ease-out 0.2s both;
}

/* Who Is This For */
.contact-who {
  padding: 48px 0 56px;
}
.contact-who .section-head h2 {
  margin-bottom: 8px;
}
.contact-who .section-head p {
  font-size: 17px;
  color: var(--muted);
}
.contact-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.contact-who-card {
  background: linear-gradient(165deg, rgba(26,35,50,0.7) 0%, rgba(15,22,36,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  animation: cpCardIn 0.6s ease-out both;
}
.contact-who-card:nth-child(1) { animation-delay: 0.1s; }
.contact-who-card:nth-child(2) { animation-delay: 0.2s; }
.contact-who-card:nth-child(3) { animation-delay: 0.3s; }
.contact-who-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,79,232,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.contact-who-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.contact-who-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.contact-who-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}
.contact-who-cta {
  display: inline-block;
  text-decoration: none;
}

/* Form section layout */
.contact-form-section {
  padding: 56px 0;
}
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

/* Form panel */
.contact-form-panel {
  background: linear-gradient(165deg, rgba(26,35,50,0.8) 0%, rgba(15,22,36,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
}
.contact-form-panel h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-form-helper {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}
.contact-form-panel .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-panel label {
  display: block;
}
.contact-form-panel label > span:first-child {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(15,22,36,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  transition: all 0.25s ease;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.contact-form-panel input,
.contact-form-panel textarea {
  background-image: none;
  padding-right: 18px;
}
.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  outline: none;
  border-color: rgba(91,79,232,0.5);
  box-shadow: 0 0 0 2px rgba(91,79,232,0.15);
}
.contact-form-panel textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-panel select option {
  background: #0f1624;
  color: #fff;
}
.contact-form-panel .form-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-form-panel .form-actions .btn-primary {
  min-width: 160px;
}
.contact-form-trust {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Reassurance panel */
.contact-reassurance {
  background: linear-gradient(165deg, rgba(26,35,50,0.6) 0%, rgba(15,22,36,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}
.contact-reassurance h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.contact-reassurance ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.contact-reassurance li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  opacity: 0.95;
}
.contact-reassurance li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.contact-reassurance-note {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* Alternative contact */
.contact-alt {
  padding: 56px 0;
}
.contact-alt .section-head h2 {
  margin-bottom: 8px;
}
.contact-alt .section-head p {
  font-size: 17px;
  color: var(--muted);
}
.contact-alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 32px auto 0;
}
.contact-alt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(165deg, rgba(26,35,50,0.6) 0%, rgba(15,22,36,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}
.contact-alt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,79,232,0.3);
  color: var(--accent);
}
.contact-alt-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91,79,232,0.2);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-alt-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-alt-card span {
  font-size: 14px;
  color: var(--muted);
}

/* Final CTA */
.contact-final-cta {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(180deg, rgba(91,79,232,0.06) 0%, transparent 100%);
  border-radius: 24px;
  margin: 0 16px 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.contact-final-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-final-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-final-sub {
  font-size: 15px !important;
  color: var(--text) !important;
  margin-bottom: 20px !important;
  opacity: 0.9;
}
.contact-final-cta .btn {
  display: inline-block;
  text-decoration: none;
}

/* Animations */
@keyframes cpFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cpCardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cpSlideLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes cpSlideRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Subtle floating glow */
.contact-hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,232,0.08) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: cpGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cpGlowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Form validation */
.contact-form-panel .cf-field-error {
  display: block;
  font-size: 13px;
  color: #F59E0B;
  margin-top: 6px;
  min-height: 1.2em;
}
.contact-form-panel .cf-field.has-error input,
.contact-form-panel .cf-field.has-error select {
  border-color: rgba(245,158,11,0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-who-grid { grid-template-columns: 1fr; }
  .contact-form-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-reassurance { position: static; }
  .contact-alt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-hero { padding: 40px 16px 32px; }
  .contact-who { padding: 32px 0 40px; }
  .contact-who-grid { margin-top: 24px; }
  .contact-form-section { padding: 40px 0; }
  .contact-form-panel { padding: 24px 20px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-alt { padding: 40px 0; }
  .contact-final-cta { padding: 40px 20px; margin: 0 12px 32px; }
}
