/* ==========================================================================
   Smili Phone - Clean, Refined & Modern Contact Page
   File: assets/css/contact-enhanced.css
   ========================================================================== */

/* Hero Banner - Clean & Focused */
.contact-hero-wrap {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #0c1524 0%, #152238 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.contact-hero-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0;
  line-height: 1.5;
}

.contact-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.dispatch-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

.contact-live-pill.closed .dispatch-pulse {
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* 4 Main Contact Channels */
.contact-channels-section {
  padding: 2.5rem 0 1.5rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.channel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.channel-card.highlight {
  border-color: rgba(240, 176, 64, 0.5);
  background: #fffdf9;
}

.channel-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c1524;
  flex-shrink: 0;
}

.channel-card.highlight .channel-icon {
  background: #fef3c7;
  color: #b45309;
}

.channel-card-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0c1524;
  margin: 0;
}

.channel-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.channel-action {
  margin-top: auto;
}

.channel-action .btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.7rem 1rem;
}

/* Two Column Layout: Equal Height Workspace Grid */
.contact-split-section {
  padding: 1.5rem 0 3.5rem;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch; /* Forces equal height for both columns */
}

/* Fast Inquiry Desk Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.form-tag {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.contact-form-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0c1524;
  margin: 0 0 0.35rem;
}

.contact-form-card .desc {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: auto;
}

.contact-input-full {
  grid-column: span 2;
}

.contact-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
}

.contact-input-group input,
.contact-input-group select,
.contact-input-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.94rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.contact-input-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-input-group input:focus,
.contact-input-group select:focus,
.contact-input-group textarea:focus {
  outline: none;
  border-color: #f0b040;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(240, 176, 64, 0.15);
}

.btn-form-submit {
  width: 100%;
  padding: 0.88rem 1.25rem;
  background: #0c1524;
  color: #f0b040;
  border: 1px solid #f0b040;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  margin-top: 1.2rem;
}

.btn-form-submit:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.form-response-alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-response-alert.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-response-alert.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Visit & Location Showcase - Equal Height Flex Container */
.location-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.location-photo-wrap {
  position: relative;
  height: 180px;
  background: #0c1524;
  flex-shrink: 0;
}

.location-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(12, 21, 36, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.location-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0c1524;
  margin: 0 0 0.4rem;
}

.location-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1rem;
}

/* Clean Parking Guide Box */
.clean-parking-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  margin-bottom: auto; /* Pushes the buttons row neatly to bottom */
}

.clean-parking-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0c1524;
  margin-bottom: 0.5rem;
}

.clean-parking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.clean-parking-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #475569;
}

.clean-parking-list .perk-dot {
  color: #f0b040;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.location-buttons-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.location-buttons-row .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
}

/* Clean FAQ Accordion */
.contact-faq-clean {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 3.5rem 0;
}

.faq-clean-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-clean-head {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-clean-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0c1524;
  margin: 0 0 0.4rem;
}

.faq-clean-head p {
  color: #64748b;
  font-size: 0.98rem;
  margin: 0;
}

.clean-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.clean-acc-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.clean-acc-item.active {
  border-color: #f0b040;
  box-shadow: 0 4px 14px rgba(240, 176, 64, 0.08);
}

.clean-acc-btn {
  width: 100%;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0c1524;
  cursor: pointer;
  text-align: left;
}

.clean-acc-btn .acc-chev {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.clean-acc-item.active .acc-chev {
  transform: rotate(180deg);
  color: #f0b040;
}

.clean-acc-body {
  padding: 0 1.3rem 1.1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  display: none;
}

.clean-acc-item.active .clean-acc-body {
  display: block;
}

/* Map Section */
.contact-map-clean {
  padding: 3rem 0;
}

.contact-map-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .contact-inputs-grid {
    grid-template-columns: 1fr;
  }
  .contact-input-full {
    grid-column: span 1;
  }
  .location-buttons-row {
    flex-direction: column;
  }
}
