/* ==============================================================================
   HOLYGATE — Contact Us & Enquiry Page Styles
   ============================================================================== */

.contact-hero {
  background: linear-gradient(135deg, #0c3023 0%, #164e37 60%, #103d2b 100%);
  color: #fffdf8;
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(22, 78, 55, 0.2);
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 233, 164, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dceab5;
  margin-bottom: 16px;
}

.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: #fffdf8;
}

.contact-hero h1 em {
  color: #f6d878;
  font-style: italic;
}

.contact-hero p {
  font-size: 14px;
  line-height: 1.65;
  color: #c9dbcb;
  margin: 0 auto;
  max-width: 580px;
}

/* Quick Channels Strip */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -36px;
  position: relative;
  z-index: 5;
}

.channel-card {
  background: #ffffff;
  border: 1.5px solid #e2e6dc;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 10px 30px rgba(16, 61, 43, 0.08);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(16, 61, 43, 0.14);
  border-color: #164e37;
}

.channel-card.featured-whatsapp {
  border-color: #25d366;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-whatsapp { background: #25d366; color: #fff; }
.icon-phone { background: #164e37; color: #fff; }
.icon-email { background: #c72f2f; color: #fff; }

.channel-status-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.channel-status-pill.online {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.channel-status-pill.fast {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.channel-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 6px;
  color: #0f3d29;
}

.channel-val {
  font-size: 15px;
  font-weight: 700;
  color: #164e37;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.channel-card p {
  font-size: 11.5px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0 0 16px;
  flex: 1;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-whatsapp-live {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #20ba5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-live:hover {
  background: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-phone-call {
  background: #164e37;
  color: #ffffff;
  border: 1px solid #164e37;
}

.btn-phone-call:hover {
  background: #0f3d29;
  transform: translateY(-2px);
}

.btn-email-link {
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.btn-email-link:hover {
  background: #c72f2f;
  color: #ffffff;
  border-color: #c72f2f;
}

/* Main Form Section */
.contact-main-section {
  padding: 60px 0 80px;
  background: #fffdf8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Form Container */
.enquiry-card {
  background: #ffffff;
  border: 1.5px solid #e1e5dc;
  border-radius: 14px;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: 0 12px 36px rgba(22, 78, 55, 0.06);
}

.enquiry-header {
  margin-bottom: 26px;
}

.enquiry-header h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: #164e37;
  margin: 0 0 8px;
}

.enquiry-header p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.form-group label span {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #1f2937;
  background: #fafaf9;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #164e37;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 78, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  min-height: 48px;
  background: var(--forest);
  color: #ffffff;
  border: 1.5px solid var(--forest);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 6px 18px rgba(22, 78, 55, 0.22);
}

.form-submit-btn:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(199, 47, 47, 0.3);
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status-msg {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 8px;
  padding: 14px 16px;
  display: none;
}

.form-status-msg.success {
  display: block;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.form-status-msg.error {
  display: block;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

/* Contact Info Aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-info-box {
  background: #f9f8f4;
  border: 1px solid #e7e5dc;
  border-radius: 12px;
  padding: 26px 24px;
}

.aside-info-box h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: #164e37;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.5;
}

.info-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d9dcd2;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #164e37;
  margin-top: 2px;
}

.info-item b {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 2px;
}

/* Direct WhatsApp Box in Aside */
.whatsapp-direct-banner {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(7, 94, 84, 0.25);
}

.whatsapp-direct-banner h4 {
  font-size: 17px;
  font-family: var(--serif);
  margin: 0 0 8px;
  color: #ffffff;
}

.whatsapp-direct-banner p {
  font-size: 12px;
  line-height: 1.5;
  color: #e0f2f1;
  margin: 0 0 16px;
}

.whatsapp-btn-aside {
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn-aside:hover {
  background: #ffffff;
  color: #075e54;
  transform: translateY(-2px);
}

/* Floating WhatsApp Button (Global) */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.18);
  background: #20ba5a;
  color: #ffffff !important;
}

.floating-whatsapp svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: #ffffff;
  display: block;
}

@media (max-width: 900px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}
