/* Contact page — modern layout (matches about / accreditations theme) */

.contact-page {
  padding-top: 4.25rem;
  background: #f9f9f9;
  min-height: 100vh;
  overflow-x: clip;
}

.contact-page__container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.contact-page-hero {
  position: relative;
  min-height: 280px;
  max-height: 420px;
  overflow: hidden;
  background: #014d33;
}

.contact-page-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.contact-page-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  background: linear-gradient(180deg, rgba(1, 30, 20, 0.25) 0%, rgba(1, 77, 51, 0.92) 100%);
  color: #ffffff;
}

.contact-page-hero__label {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7af28;
  margin-bottom: 0.75rem;
}

.contact-page-hero__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.75rem;
  max-width: 28rem;
}

.contact-page-hero__lead {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.contact-page__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .contact-page__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.contact-page__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid #f7af28;
  backdrop-filter: blur(8px);
}

.contact-page__stat-num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.contact-page__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
}

/* Main content */
.contact-main {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.75rem;
  }
}

/* Form card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-form-card:hover {
  border-color: rgba(1, 102, 68, 0.2);
  box-shadow: 0 16px 40px rgba(1, 102, 68, 0.08);
}

.contact-form-card__head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.contact-form-card__label {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #016644;
  margin-bottom: 0.75rem;
}

.contact-form-card__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 600;
  color: #014d33;
  margin: 0 0 0.5rem;
}

.contact-form-card__intro {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3f4947;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #016644;
}

.contact-form__label span {
  color: #c0392b;
  margin-left: 0.15rem;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #1a1c1c;
  background: #f9f9f9;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #6b7280;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #016644;
  box-shadow: 0 0 0 3px rgba(1, 102, 68, 0.1);
  background: #ffffff;
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

@media (min-width: 1024px) {
  .contact-form__textarea {
    min-height: 160px;
  }
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #016644;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}

.contact-form__submit:hover {
  background: #014d33;
  transform: translateY(-2px);
  gap: 0.75rem;
}

.contact-form__note {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #3f4947;
  margin: 0.875rem 0 0;
}

.contact-form__note a {
  color: #016644;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__note a:hover {
  color: #014d33;
}

.contact-form__success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  background: #e8f5ef;
  border: 1px solid rgba(1, 102, 68, 0.2);
  border-left: 3px solid #016644;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #014d33;
}

.contact-form__success.is-visible {
  display: block;
}

/* Info sidebar */
.contact-info-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.contact-info-card__head {
  padding: clamp(1.75rem, 3vw, 2rem);
  background: linear-gradient(135deg, #014d33 0%, #016644 55%, #01875a 100%);
  color: #ffffff;
  border-bottom: 3px solid #f7af28;
}

.contact-info-card__label {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7af28;
  margin-bottom: 0.75rem;
}

.contact-info-card__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.contact-info-card__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-info-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #e8f5ef;
  color: #016644;
}

.contact-info-item__icon .material-symbols-outlined {
  font-size: 1.25rem;
}

.contact-info-item__body strong {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #016644;
  margin-bottom: 0.25rem;
}

.contact-info-item__body a,
.contact-info-item__body span {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #3f4947;
}

.contact-info-item__body a {
  color: #014d33;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info-item__body a:hover {
  color: #016644;
}

.contact-info-extra {
  padding: 1.25rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.contact-info-extra__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #014d33;
  margin: 0 0 0.5rem;
}

.contact-info-extra__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #3f4947;
  margin: 0 0 1rem;
}

.contact-info-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.contact-info-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #3f4947;
}

.contact-info-points .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: #f7af28;
  margin-top: 0.05rem;
}

.contact-info-hours {
  margin-top: auto;
  padding: 1.125rem 1.25rem;
  background: #f9f9f9;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #f7af28;
}

.contact-info-hours strong {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #016644;
  margin-bottom: 0.5rem;
}

.contact-info-hours p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #3f4947;
  margin: 0;
}

.contact-page .nav-link--active {
  color: #014d33;
}

.contact-page-hero__lead,
.contact-form-card__intro,
.contact-info-card__text,
.contact-info-extra__text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
