/* ==========================================================================
   Adv. Nisar Ghatte — Chamber Contact & Consultation Stylesheet (contact.css)
   Quiet Luxury Legal Architecture • Pure Vanilla CSS • Strict AGENTS.md Compliant
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Base & Hero Foundations
   ------------------------------------------------------------------------- */
.contact-page-main {
  background-color: #faf9f8;
  color: #383639;
}

.contact-hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f8 65%, #f5f4f0 100%);
  border-bottom: 1px solid #e7e5e4;
  padding-top: 3.25rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .contact-hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

.contact-hero-ambient {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(151, 121, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #78716c;
  margin-bottom: 1.25rem;
}

.contact-breadcrumbs a {
  color: #57534e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-breadcrumbs a:hover {
  color: #97792e;
}

.contact-breadcrumbs .current {
  color: #97792e;
  font-weight: 700;
}

/* Bespoke Section Kicker (Matching Home & About Architecture) */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #836926;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, #97792e, #c4a148);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-kicker.justify-center::after,
.text-center .section-kicker::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, #c4a148, #97792e);
  border-radius: 1px;
  flex-shrink: 0;
}

.contact-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1c1a1d;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-hero-title {
    font-size: 3rem;
  }
}

.contact-hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #57534e;
  max-width: 44rem;
}

/* Quick Action Buttons (Matching Home & About Styling, Non-Pill) */
.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-actions-primary-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6875rem 1.35rem;
  border-radius: 0.625rem;
  font-size: 0.84375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-action-btn.primary {
  background: linear-gradient(135deg, #97792e 0%, #b39139 50%, #836926 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(151, 121, 46, 0.35);
}

.contact-action-btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(151, 121, 46, 0.5);
}

.contact-action-btn.whatsapp {
  background: #15803d;
  color: #ffffff;
  border: 1px solid #166534;
  box-shadow: 0 4px 14px rgba(22, 128, 61, 0.25);
}

.contact-action-btn.whatsapp:hover {
  background: #166534;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 128, 61, 0.4);
}

.contact-action-btn.secondary {
  background: #ffffff;
  color: #383639;
  border: 1px solid #d6d3d1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.contact-action-btn.secondary:hover {
  border-color: #97792e;
  color: #97792e;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(151, 121, 46, 0.15);
}

/* -------------------------------------------------------------------------
   2. Core Consultation Hub (Left Dossier Column)
   ------------------------------------------------------------------------- */
.contact-hub-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.dossier-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 1.125rem;
  padding: 1.75rem;
  box-shadow: 0 6px 20px -4px rgba(56, 54, 57, 0.05);
  transition: all 0.25s ease;
}

.dossier-card:hover {
  border-color: #d6d3d1;
  box-shadow: 0 10px 28px -6px rgba(56, 54, 57, 0.09);
}

.dossier-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.dossier-icon-box {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65rem;
  background: rgba(151, 121, 46, 0.09);
  color: #97792e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dossier-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1a1d;
  line-height: 1.25;
}

.dossier-subtitle {
  font-size: 0.75rem;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 0.15rem;
}

.address-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #44403c;
  margin-bottom: 1.25rem;
}

.address-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f5f5f4;
}

.copy-address-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  background: #faf9f8;
  border: 1px solid #e7e5e4;
  font-size: 0.78125rem;
  font-weight: 600;
  color: #57534e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-address-btn:hover {
  background: #f5f4f0;
  border-color: #97792e;
  color: #97792e;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  background: rgba(151, 121, 46, 0.08);
  border: 1px solid rgba(151, 121, 46, 0.25);
  font-size: 0.78125rem;
  font-weight: 700;
  color: #836926;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.directions-link img {
  transition: filter 0.2s ease, transform 0.2s ease;
}

.directions-link:hover {
  background: #97792e;
  border-color: #97792e;
  color: #ffffff;
}

.directions-link:hover img {
  filter: brightness(0) invert(1);
  transform: translateX(2px);
}

/* Phone Matrix List */
.phone-matrix-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #faf9f8;
  border: 1px solid #e7e5e4;
  text-decoration: none;
  transition: all 0.2s ease;
}

.phone-matrix-item:hover {
  border-color: #97792e;
  background: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px -2px rgba(151, 121, 46, 0.1);
}

.phone-number {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  color: #1c1a1d;
  letter-spacing: 0.02em;
}

.phone-desc {
  font-size: 0.75rem;
  color: #78716c;
  margin-top: 0.15rem;
}

.phone-action-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(151, 121, 46, 0.1);
  color: #97792e;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shift Hours */
.shift-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px dashed #e7e5e4;
  font-size: 0.875rem;
}

.shift-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shift-name {
  font-weight: 600;
  color: #57534e;
}

.shift-time {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-weight: 700;
  color: #1c1a1d;
}

.shift-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   3. Right Column: High-Prestige Confidential Inquiry Form
   ------------------------------------------------------------------------- */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 12px 36px -8px rgba(56, 54, 57, 0.06);
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  right: 0;
  height: 4px;
  width: 98%;
  background: linear-gradient(90deg, #97792e 0%, #c4a148 50%, #ffd875 100%);
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

.form-header-title {
  font-family: 'Cinzel', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #1c1a1d;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.form-header-desc {
  font-size: 0.875rem;
  color: #78716c;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #44403c;
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: #dc2626;
  margin-left: 0.15rem;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: #a8a29e;
  pointer-events: none;
  transition: color 0.2s ease;
}

.contact-input {
  width: 100%;
  padding: 0.8125rem 1rem 0.8125rem 2.85rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #1c1a1d;
  background-color: #faf9f8;
  border: 1px solid #d6d3d1;
  border-radius: 0.65rem;
  transition: all 0.2s ease;
  font-family: var(--font-sans, 'Inter', sans-serif);
}

.contact-input.no-icon {
  padding-left: 1rem;
}

.contact-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #97792e;
  box-shadow: 0 0 0 3px rgba(151, 121, 46, 0.12);
}

.contact-input:focus+.input-icon {
  color: #97792e;
}

.phone-prefix-box {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #78716c;
  pointer-events: none;
  padding-right: 0.5rem;
  border-right: 1px solid #d6d3d1;
  line-height: 1;
  transition: all 0.2s ease;
}

.contact-input.phone-input {
  padding-left: 4.4rem;
  letter-spacing: 0.04em;
}

.contact-input.phone-input:focus~.phone-prefix-box {
  color: #97792e;
  border-right-color: #97792e;
}

.contact-input.has-error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.field-error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.35rem;
  display: none;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.field-error-msg.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.char-counter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #78716c;
}

/* Form Action Buttons */
.contact-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9375rem 1.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #1c1a1d 0%, #292524 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #1c1a1d;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(28, 26, 29, 0.15);
  margin-top: 0.5rem;
}

.contact-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #97792e 0%, #836926 100%);
  border-color: #97792e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(151, 121, 46, 0.35);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Alert Boxes */
.form-alert {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: 0.65rem;
  margin-bottom: 1.5rem;
  font-size: 0.84375rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-alert.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-alert.success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

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

.alert-dismiss-btn {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.alert-dismiss-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------------------
   4. Location & Transit Guidance
   ------------------------------------------------------------------------- */
.contact-map-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  background: #ffffff;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  box-shadow: 0 10px 30px -6px rgba(56, 54, 57, 0.08);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Transit Landmark Cards */
.transit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .transit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.transit-card {
  background: #faf9f8;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.transit-card:hover {
  border-color: #97792e;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(151, 121, 46, 0.08);
}

.transit-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(151, 121, 46, 0.08);
  color: #97792e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.transit-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c1a1d;
  margin-bottom: 0.5rem;
}

.transit-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #57534e;
}

/* -------------------------------------------------------------------------
   5. Chamber FAQ Accordion
   ------------------------------------------------------------------------- */
.contact-faq-section {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 0.85rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: #97792e;
  box-shadow: 0 6px 18px -4px rgba(151, 121, 46, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background-color: #faf9f8;
}

.faq-question {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c1a1d;
  padding-right: 1rem;
}

.faq-chevron {
  width: 1.15rem;
  height: 1.15rem;
  color: #97792e;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  border-top: 1px solid #f5f5f4;
  margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   6. Copy Toast Notification
   ------------------------------------------------------------------------- */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: #1c1a1d;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(151, 121, 46, 0.4);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   7. Mobile Refinements
   ------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .contact-hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .contact-hero-title {
    font-size: 1.85rem;
  }

  .contact-quick-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.625rem;
  }

  .contact-actions-primary-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .contact-action-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6875rem 0.6rem;
    font-size: 0.78125rem;
    gap: 0.4rem;
    text-align: center;
  }

  .contact-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: 1rem;
  }

  .form-header-title {
    font-size: 1.35rem;
  }

  .dossier-card {
    padding: 1.25rem;
  }

  .map-embed-wrapper {
    height: 320px;
  }

  .copy-toast {
    right: 1rem;
    left: 1rem;
    bottom: 1.5rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-hero-title {
    font-size: 1.65rem;
  }

  .contact-actions-primary-group {
    gap: 0.375rem;
  }

  .contact-action-btn {
    padding: 0.625rem 0.35rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .contact-form-card {
    padding: 1.25rem 0.85rem;
  }

  .form-header-title {
    font-size: 1.25rem;
  }

  .dossier-card {
    padding: 1.15rem 0.85rem;
  }

  .dossier-title {
    font-size: 1rem;
  }

  .dossier-icon-box {
    width: 2.35rem;
    height: 2.35rem;
  }

  .address-actions {
    /* flex-direction: column; */
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .copy-address-btn,
  .directions-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-input {
    font-size: 0.875rem;
    padding-left: 2.5rem;
  }

  .contact-input.phone-input {
    padding-left: 4.2rem;
  }
}

@media (max-width: 360px) {
  .contact-hero-title {
    font-size: 1.45rem;
  }

  .contact-action-btn {
    padding: 0.55rem 0.25rem;
    font-size: 0.6875rem;
    gap: 0.25rem;
  }

  .contact-form-card {
    padding: 1rem 0.65rem;
  }

  .dossier-card {
    padding: 1rem 0.65rem;
  }
}