/* ============================================
   CONTACT PAGE
   Layout mirrors the reference; teal site palette.
   ============================================ */

/* ===== HERO ===== */
.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(14,124,124,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 5% 100%, rgba(77,212,212,.10) 0%, transparent 60%),
    var(--dark);
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple2);
  margin-bottom: 22px;
}
.contact-hero-title {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--white);
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-indicator span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--purple2), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 30%;
  background: var(--cyan);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: translateY(-100%); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* ===== INFO BAR ===== */
.contact-info-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.contact-info-item h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple2);
  margin-bottom: 14px;
}
.contact-info-item a,
.contact-info-item p {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  transition: color .25s;
  word-break: break-word;
}
.contact-info-item a:hover { color: var(--cyan); }

/* ===== MAP + FORM SPLIT ===== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.contact-map {
  position: relative;
  min-height: 640px;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-directions-btn {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--grad2);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(14,124,124,.4);
  transition: transform .2s, box-shadow .2s;
}
.map-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14,124,124,.55);
}

/* Form panel */
.contact-form-panel {
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 72px 6%;
}
.contact-form-inner { width: 100%; max-width: 560px; }
.dark-eyebrow { color: var(--purple); margin-bottom: 16px; }
.contact-form-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  color: #0b1220;
  line-height: 1.05;
  margin-bottom: 20px;
}
.contact-form-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.cf-group { display: flex; flex-direction: column; }
.cf-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.cf-group label span { color: var(--pink); }
.cf-group input,
.cf-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: #0b1220;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.cf-group input:focus,
.cf-group textarea:focus {
  outline: none;
  border-color: var(--purple2);
  box-shadow: 0 0 0 3px rgba(26,172,172,.15);
}
.cf-submit {
  align-self: flex-start;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Success state */
.cf-success { text-align: center; padding: 30px 0; }
.cf-success-icon { font-size: 54px; color: var(--purple2); margin-bottom: 16px; }
.cf-success h4 { font-size: 22px; font-weight: 800; color: #0b1220; margin-bottom: 10px; }
.cf-success p { font-size: 15px; color: #4b5563; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-map { min-height: 420px; order: 2; }
  .contact-form-panel { order: 1; padding: 56px 24px; }
  .contact-form-inner { max-width: 100%; }
}
@media (max-width: 500px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-item a, .contact-info-item p { font-size: 18px; }
  .contact-hero { min-height: 56vh; padding: 130px 0 60px; }
}
