﻿/* =========================
   Contact Us Page - HOS
========================= */

.hos-contact-page {
  margin: 0 0 52px;
}

  .hos-contact-page .page-body {
    display: block;
  }

/* =========================
   Shared Buttons
========================= */

.hos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

  .hos-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
  }

.hos-btn--primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.18);
}

  .hos-btn--primary:hover {
    background: #14803c;
    border-color: #14803c;
    color: #fff;
  }

.hos-btn--secondary {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  color: #15396b;
}

  .hos-btn--secondary:hover {
    border-color: #fff;
    background: #fff;
    color: #0b5cab;
  }

/* =========================
   Hero
========================= */

.hos-contact-hero {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 34%), linear-gradient(135deg, #0f4aa3 0%, #0c62c9 100%);
  color: #fff;
  margin: 0 0 28px;
}

.hos-contact-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hos-contact-hero__content,
.hos-contact-hero__panel {
  min-width: 0;
}

.hos-contact-hero__eyebrow,
.hos-contact-sectionHead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.92;
  margin-bottom: 12px;
}

.hos-contact-hero__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
}

.hos-contact-hero__subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.94);
}

.hos-contact-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hos-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hos-topic-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

  .hos-topic-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-1px);
  }

.hos-contact-hero__panel {
  display: grid;
  gap: 14px;
}

.hos-contact-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

  .hos-contact-stat strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #fff;
  }

  .hos-contact-stat span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
  }

/* =========================
   Intro Cards
========================= */

.hos-contact-cards {
  max-width: 1240px;
  margin: 0 auto 30px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hos-contact-card,
.hos-contact-formWrap,
.hos-contact-sideCard,
.hos-faq-item {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 42, 84, 0.06);
}

.hos-contact-card {
  padding: 24px 22px;
}

.hos-contact-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf3ff 0%, #f4f9ff 100%);
  font-size: 24px;
  margin-bottom: 14px;
}

.hos-contact-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
  color: #15396b;
}

.hos-contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #556274;
}

/* =========================
   Main Layout
========================= */

.hos-contact-main {
  max-width: 1240px;
  margin: 0 auto 34px;
  padding: 0 20px;
}

.hos-contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.hos-contact-formWrap {
  padding: 30px;
}

.hos-contact-sidebar {
  display: grid;
  gap: 18px;
}

.hos-contact-sideCard {
  padding: 24px 22px;
}

.hos-contact-sideCard--accent {
  background: linear-gradient(180deg, #f5fbff 0%, #eef7ff 100%);
  border-color: #d8e9fb;
}

.hos-contact-sideCard h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.2;
  color: #15396b;
}

.hos-contact-sideCard p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #556274;
}

.hos-contact-sideCard__mini {
  margin-top: 12px !important;
  color: #2f4a68;
}

.hos-contact-sectionHead {
  margin-bottom: 22px;
}

.hos-contact-sectionHead--center {
  text-align: center;
}

.hos-contact-sectionHead h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  color: #15396b;
}

.hos-contact-sectionHead p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5a6778;
}

/* =========================
   Form
========================= */

.hos-contact-form {
  display: grid;
  gap: 18px;
}

.hos-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hos-field {
  display: block;
}

  .hos-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #183a68;
  }

.hos-field__hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #6d7887;
}

.hos-input,
.hos-textarea,
.hos-select {
  width: 100%;
  border: 1px solid #d8e3ef;
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
  padding: 10px 15px;
  font-size: 15px;
  line-height: 1.4;
  color: #1c2e45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hos-textarea {
  resize: vertical;
  min-height: 180px;
}

  .hos-input:focus,
  .hos-textarea:focus,
  .hos-select:focus {
    outline: none;
    border-color: #0c62c9;
    box-shadow: 0 0 0 4px rgba(12, 98, 201, 0.12);
  }

.hos-contact-form__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.hos-contact-form__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #667382;
  max-width: 520px;
}

.hos-contact-submit {
  min-width: 190px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a 0%, #14923f 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

  .hos-contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.26);
    filter: brightness(1.02);
  }

.field-validation-error,
.validation-summary-errors,
.message-error {
  color: #b42318;
}

.hos-contact-alert {
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hos-contact-alert--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #b7ebc8;
}

.hos-contact-alert--error {
  background: #fff2f0;
  color: #b42318;
  border: 1px solid #f6c7c2;
}

/* =========================
   Sidebar Lists
========================= */

.hos-contact-list,
.hos-checkList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

  .hos-contact-list li,
  .hos-checkList li {
    position: relative;
    padding-left: 0;
    color: #556274;
    font-size: 15px;
    line-height: 1.7;
  }

  .hos-contact-list strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7a8c;
    margin-bottom: 2px;
  }

  .hos-contact-list span,
  .hos-contact-list a {
    color: #15396b;
    text-decoration: none;
    word-break: break-word;
  }

    .hos-contact-list a:hover {
      text-decoration: underline;
    }

  .hos-checkList li {
    padding-left: 26px;
  }

    .hos-checkList li::before {
      content: "✓";
      position: absolute;
      top: 1px;
      left: 0;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #eaf7ef;
      color: #16924a;
      font-size: 12px;
      font-weight: 800;
      line-height: 18px;
      text-align: center;
    }

/* =========================
   FAQ
========================= */

.hos-contact-faq {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.hos-faq-list {
  display: grid;
  gap: 14px;
}

.hos-faq-item {
  overflow: hidden;
}

  .hos-faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 56px 20px 22px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #173963;
  }

    .hos-faq-item summary::-webkit-details-marker {
      display: none;
    }

    .hos-faq-item summary::after {
      content: "+";
      position: absolute;
      right: 22px;
      top: 50%;
      transform: translateY(-50%);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #eef5fc;
      color: #0d5dbd;
      font-size: 20px;
      font-weight: 700;
      line-height: 28px;
      text-align: center;
    }

  .hos-faq-item[open] summary::after {
    content: "–";
  }

.hos-faq-item__content {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #556274;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {
  .hos-contact-hero__inner,
  .hos-contact-main__grid {
    grid-template-columns: 1fr;
  }

  .hos-contact-hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hos-contact-cards {
    grid-template-columns: 1fr;
  }

  .hos-contact-hero__panel {
    grid-template-columns: 1fr;
  }

  .hos-contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hos-contact-hero__inner {
    padding: 34px 16px;
  }

  .hos-contact-cards,
  .hos-contact-main,
  .hos-contact-faq {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hos-contact-formWrap,
  .hos-contact-sideCard,
  .hos-contact-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .hos-contact-hero__title {
    font-size: 34px;
  }

  .hos-contact-sectionHead h2 {
    font-size: 30px;
  }

  .hos-contact-form__footer,
  .hos-contact-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hos-contact-submit,
  .hos-btn {
    width: 100%;
    min-width: 0;
  }

  .hos-faq-item summary {
    font-size: 17px;
    padding: 18px 50px 18px 18px;
  }

  .hos-faq-item__content {
    padding: 0 18px 18px;
  }
}
