/* ===================================================
   GCV — Contact Page Styles
   =================================================== */

/* ── Hero Section ── */
.gcv-contact-hero {
  background: linear-gradient(135deg, #8634A0 0%, #4A1A6B 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gcv-contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.gcv-contact-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.gcv-contact-hero__title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.gcv-contact-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 540px;
  margin: 0 auto 0;
  line-height: 1.65;
}

/* ── Info Cards Row ── */
.gcv-contact-info-row {
  background: #fff;
  border-bottom: 1px solid var(--gcv-accent-border, #E8D4F0);
}

.gcv-contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--gcv-accent-border, #E8D4F0);
  transition: background 0.2s;
}

.gcv-contact-info-card:last-child {
  border-right: none;
}

.gcv-contact-info-card:hover {
  background: var(--gcv-surface-tint, #F4ECF7);
}

.gcv-contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8634A0, #6C2882);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.gcv-contact-info-card h6 {
  font-weight: 700;
  color: var(--gcv-n800, #1F2937);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.gcv-contact-info-card p {
  font-size: 0.875rem;
  color: var(--gcv-n500, #6B7280);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .gcv-contact-info-card {
    border-right: none;
    border-bottom: 1px solid var(--gcv-accent-border, #E8D4F0);
    padding: 1.5rem 1rem;
  }
  .gcv-contact-info-card:last-child {
    border-bottom: none;
  }
}

/* ── Main Content Section ── */
.gcv-contact-body {
  padding: 3.5rem 0 4rem;
  background: var(--gcv-n50, #FAFAFC);
}

/* ── Form Card ── */
.gcv-contact-form-card {
  background: #fff;
  border: 1px solid var(--gcv-accent-border, #E8D4F0);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 24px rgba(134,52,160,0.07);
  height: 100%;
}

.gcv-contact-form-card__title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gcv-n800, #1F2937);
  margin-bottom: 0.4rem;
}

.gcv-contact-form-card__sub {
  font-size: 0.875rem;
  color: var(--gcv-n500, #6B7280);
  margin-bottom: 1.75rem;
}

/* Form controls */
.gcv-contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gcv-n700, #374151);
  margin-bottom: 0.4rem;
}

.gcv-contact-form-card .form-control {
  border: 1.5px solid var(--gcv-n200, #E5E7EB);
  border-radius: 8px;
  font-size: 0.925rem;
  padding: 0.65rem 0.9rem;
  color: var(--gcv-n800, #1F2937);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gcv-n50, #FAFAFC);
}

.gcv-contact-form-card .form-control:focus {
  border-color: #8634A0;
  box-shadow: 0 0 0 3px rgba(134,52,160,0.12);
  background: #fff;
}

.gcv-contact-form-card .form-control.is-invalid {
  border-color: var(--gcv-error, #DC2626);
}

.gcv-contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Input with icon prefix */
.gcv-input-group {
  position: relative;
}

.gcv-input-group .gcv-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gcv-n400, #9CA3AF);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.gcv-input-group textarea ~ .gcv-input-icon {
  top: 0.85rem;
  transform: none;
}

.gcv-input-group .form-control {
  padding-left: 2.6rem;
}

/* Submit button */
.gcv-contact-submit-btn {
  background: linear-gradient(135deg, #8634A0, #6C2882);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(134,52,160,0.30);
}

.gcv-contact-submit-btn:hover {
  opacity: 0.90;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(134,52,160,0.38);
  color: #fff;
}

.gcv-contact-submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  .gcv-contact-submit-btn {
    width: 100%;
  }
}

/* Success alert */
.gcv-contact-success {
  border-radius: 10px;
  font-size: 0.9rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
}

/* ── Map Card ── */
.gcv-contact-map-card {
  background: #fff;
  border: 1px solid var(--gcv-accent-border, #E8D4F0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(134,52,160,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gcv-contact-map-card__header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--gcv-accent-border, #E8D4F0);
}

.gcv-contact-map-card__title {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gcv-n800, #1F2937);
  margin-bottom: 0.25rem;
}

.gcv-contact-map-card__address {
  font-size: 0.875rem;
  color: var(--gcv-n500, #6B7280);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.gcv-contact-map-card__address i {
  color: #8634A0;
  margin-top: 2px;
  flex-shrink: 0;
}

.gcv-contact-map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  flex: 1;
}

@media (max-width: 575.98px) {
  .gcv-contact-map-card iframe {
    height: 240px;
  }
}

/* ── Responsive tweaks ── */
@media (max-width: 767.98px) {
  .gcv-contact-body {
    padding: 2rem 0 3rem;
  }

  .gcv-contact-form-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .gcv-contact-hero {
    padding: 4rem 1rem 3rem;
  }
}

@media (min-width: 768px) {
  .gcv-contact-form-col,
  .gcv-contact-map-col {
    display: flex;
    flex-direction: column;
  }
}
