/* ══════════════════════════════════════════
   CONTACT PAGE — Additional Styles
   contact.css
   ══════════════════════════════════════════ */

/* ── Contact Hero ── */
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44vh;
  padding: 8.25rem 0 3.5rem;
  overflow: hidden;
  text-align: center;
}
.contact-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(25, 181, 162, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(100, 164, 234, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 100%);
}
.contact-hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--container-narrow), calc(100% - 3rem));
  margin-inline: auto;
}
.contact-hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.contact-hero__description {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* ── Contact Channels ── */
.section--channels {
  background: var(--bg-base);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.channel-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.85rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  text-align: center;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-card);
}
.channel-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.channel-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.channel-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.channel-card__detail {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Form + Office Grid ── */
.section--form-office {
  background: var(--bg-deep);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.form-office-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: start;
}

/* ── Contact Form ── */
.contact-form-wrap .section__header {
  margin-bottom: 2rem;
}
.contact-form-wrap__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}
.contact-form {
  display: grid;
  gap: 1.25rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form__field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-tertiary);
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c8d7e6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 7rem;
}
.contact-form__actions {
  padding-top: 0.5rem;
}
.contact-form__actions .btn {
  min-width: 14rem;
}
.contact-form__privacy {
  color: var(--text-tertiary);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* ── Office Details Sidebar ── */
.office-details {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.office-details__map {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.office-details__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  color: var(--accent);
  min-height: 12rem;
}
.office-details__map-placeholder span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.office-details__info {
  padding: 2rem;
}
.office-details__info .section__header {
  margin-bottom: 1.75rem;
}
.office-details__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
}
.office-details__block {
  margin-bottom: 1.5rem;
}
.office-details__block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.4rem;
}
.office-details__block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.office-details__badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.office-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-weight: 500;
}
.office-badge svg {
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}
.office-details__cta {
  padding: 1.75rem 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.office-details__cta p {
  color: var(--text-tertiary);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.office-details__cta .btn {
  width: 100%;
}

/* ══════════════════════════════════════════
   RESPONSIVE — Contact Page
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .channels-grid {
    grid-template-columns: 1fr;
  }
  .form-office-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: auto;
    padding: 6.5rem 0 2.75rem;
  }
  .contact-hero__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .section--channels {
    padding: 2.75rem 0;
  }
  .section--form-office {
    padding: 3rem 0;
  }
  .channel-card {
    padding: 1.65rem 1.25rem;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .office-details__info {
    padding: 1.5rem;
  }
  .office-details__cta {
    padding: 1.5rem;
  }
  .contact-form__actions .btn {
    width: 100%;
  }
}
