/* ==========================================================================
   Sunny Days Therapy - Contact Page
   ========================================================================== */

.sds-contact-hero {
  background: linear-gradient(135deg, #E8EEF6 0%, #DEE5F0 100%);
  padding: 120px 40px 70px;
}

.sds-contact-hero__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sds-contact-hero__top {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.sds-contact-hero__left {
  display: flex;
  flex-direction: column;
}

.sds-contact-hero__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sds-contact-hero__title {
  font-family: Sora, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0;
  line-height: 1.1;
}

.sds-contact-hero__subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  max-width: 420px;
}

.sds-contact-hero__detail {
  margin: 0;
  font-size: 15px;
  color: #333;
}

.sds-contact-hero__detail a {
  color: #0A2E5C;
  text-decoration: none !important;
  font-weight: 600;
}

.sds-contact-hero__detail a:hover {
  color: #2970C5;
}

.sds-contact-hero__link {
  margin: 30px 0 0;
}

.sds-contact-hero a.sds-contact-hero__link,
.sds-contact-hero__link a {
  display: inline-block;
  background: #2970C5 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: Inter, sans-serif !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}

.sds-contact-hero__link a:hover {
  background: #7caff6 !important;
  color: #ffffff !important;
}

/* Form card */
.sds-contact-hero__form {
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.sds-contact-hero__form .sds-contact-card,
.sds-contact-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 12px 40px rgba(10, 46, 92, 0.1);
  max-width: 100%;
}

.sds-contact-card__header {
  margin-bottom: 20px;
}

.sds-contact-card__title {
  font-family: Sora, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 6px;
  text-align: left;
}

.sds-contact-card__subtitle {
  margin: 0;
  font-size: 14px;
  color: #777;
}

.sds-contact-hero .sds-form {
  max-width: 100%;
}

.sds-contact-hero .sds-form__input,
.sds-contact-hero .sds-form__textarea {
  border: 1px solid #D5DDE7;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.sds-contact-hero .sds-form__input:focus,
.sds-contact-hero .sds-form__textarea:focus {
  outline: none;
  border-color: #2970C5;
  box-shadow: 0 0 0 3px rgba(41, 112, 197, 0.12);
}

.sds-form__input-icon {
  position: relative;
}

.sds-form__input-icon .sds-form__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A6B8;
  display: flex;
  pointer-events: none;
}

.sds-form__input-icon .sds-form__input {
  padding-left: 42px;
}

.sds-form__field--counter {
  position: relative;
}

.sds-form__counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #99A5B4;
}

.sds-contact-hero .sds-form__actions {
  width: 100%;
}

.sds-contact-hero button.sds-form__submit,
.sds-contact-hero .sds-form__submit--full {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  background: #2970C5 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  font-family: Inter, sans-serif !important;
  cursor: pointer;
  box-sizing: border-box;
}

.sds-contact-hero button.sds-form__submit:hover,
.sds-contact-hero .sds-form__submit--full:hover {
  background: #7caff6 !important;
  color: #ffffff !important;
}

.sds-contact-card__legal {
  margin: 14px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
  line-height: 1.5;
}

.sds-contact-card__legal a {
  color: #2970C5;
  text-decoration: underline !important;
}

.sds-contact-hero .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Topic cards in one row of three columns below the hero info */
.sds-contact-hero__topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #C8DCF0;
}

.sds-contact-hero__topic-title {
  font-family: Sora, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0A2E5C;
  margin: 0 0 10px;
}

.sds-contact-hero__topic-text {
  font-size: 12px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.sds-contact-hero__topic-link {
  margin: 10px 0 0;
}

.sds-contact-hero__topic-link a {
  color: #2970C5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.sds-contact-hero__topic-link a:hover {
  text-decoration: underline !important;
}

/* Location */
.sds-contact-location {
  background: #FFFFFF;
  padding: 80px 40px;
}

.sds-contact-location__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.sds-contact-location__map-graphic {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.sds-contact-location__map-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.sds-contact-location__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2970C5;
  margin-bottom: 10px;
}

.sds-contact-location__title {
  font-family: Sora, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 24px;
  line-height: 1.2;
}

.sds-contact-location__hq {
  font-family: Sora, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 8px;
}

.sds-contact-location__address {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 16px;
}

.sds-contact-location__note {
  font-size: 14px;
  line-height: 1.65;
  color: #777;
  margin: 0;
}

/* FAQ */
.sds-contact-faq {
  background: #FFFFFF;
  padding: 40px 40px 90px;
}

.sds-contact-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.sds-contact-faq__intro {
  max-width: 320px;
}

.sds-contact-faq__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2970C5;
  margin-bottom: 10px;
}

.sds-contact-faq__title {
  font-family: Sora, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 16px;
  line-height: 1.15;
}

.sds-contact-faq__text {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.sds-contact-faq__text a {
  color: #2970C5;
  text-decoration: underline !important;
}

.sds-contact-faq__list {
  display: flex;
  flex-direction: column;
}

.sds-contact-faq__item {
  border-bottom: 1px solid #E6EBF2;
}

.sds-contact-faq__item:first-child {
  border-top: 1px solid #E6EBF2;
}

.sds-contact-faq__question {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0A2E5C;
  position: relative;
  user-select: none;
}

.sds-contact-faq__question::-webkit-details-marker {
  display: none;
}

.sds-contact-faq__question::after {
  content: '▾';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #0A2E5C;
  transition: transform 0.2s ease;
}

.sds-contact-faq__item[open] .sds-contact-faq__question::after {
  transform: translateY(-50%) rotate(-180deg);
}

.sds-contact-faq__answer {
  padding: 0 0 18px;
}

.sds-contact-faq__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.sds-contact-faq__answer a {
  color: #2970C5;
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .sds-contact-hero__top,
  .sds-contact-location__container,
  .sds-contact-faq__container {
    grid-template-columns: 1fr;
  }

  .sds-contact-faq__intro {
    max-width: none;
    width: 100%;
  }

  .sds-contact-hero__form {
    max-width: none;
    justify-self: stretch;
  }

  .sds-contact-hero__left,
  .sds-contact-hero__info,
  .sds-contact-hero__subtitle {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 900px) and (min-width: 600px) {
  .sds-contact-hero__topics {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 599px) {
  .sds-contact-hero__topics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sds-contact-hero,
  .sds-contact-location,
  .sds-contact-faq {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sds-contact-hero {
    padding-top: 40px;
  }

  .sds-contact-hero__title {
    font-size: 24px;
  }

  .sds-contact-location__title,
  .sds-contact-faq__title {
    font-size: 20px;
  }

  .sds-contact-faq__container {
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
    gap: 32px;
  }

  .sds-contact-faq__intro,
  .sds-contact-faq__list {
    max-width: none;
    width: 100%;
  }
}
