/* About page. Loaded after the global styles so this layout wins. */

.about-page {
  color: #3c4450;
}

.about-page h1,
.about-page h2,
.about-page h4,
.about-page h5,
.about-page h6 {
  color: #171a1f;
}

.about-page .as1 img {
  opacity: 1 !important;
  transition: none;
}

.about-page .as1 {
  width: min(1140px, calc(100% - 48px));
  margin: 108px auto 0;
  min-height: 340px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.about-page .as1-left,
.about-page .as1-right {
  position: relative;
  width: 280px;
  height: 280px;
}

.about-page .as1-left-img1,
.about-page .as1-right-img1 {
  display: block;
  width: 280px;
  height: 280px;
  max-width: none;
  object-fit: contain;
}

.about-page .as1-left-img2,
.about-page .as1-right-img2 {
  position: absolute;
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(23, 26, 31, 0.08));
}

.about-page .as1-left-img2 {
  top: 8px;
  right: -6px;
  left: auto;
}

.about-page .as1-right-img2 {
  top: 22px;
  left: -10px;
}

.about-page .as1-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 8px;
  text-align: center;
}

.about-page .as1-center-h1 {
  width: 100%;
  max-width: 620px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}

.about-page .as1-accent {
  color: #1e63b8;
}

.about-page .as1-center-p {
  width: 100%;
  max-width: 520px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4d5562;
  text-align: center;
}

.about-page .as2 {
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: none;
  height: auto !important;
  margin: 80px auto 0 !important;
  padding: 44px 44px 36px !important;
  border-radius: 24px;
  background:
    radial-gradient(900px 240px at 0% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    #1e63b8;
  color: #fff;
  box-shadow: 0 16px 40px rgba(30, 99, 184, 0.16);
  box-sizing: border-box;
}

.about-page .as2 h2,
.about-page .as2 h3 {
  color: #fff;
}

.about-page .as2-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0 !important;
}

.about-page .as2-head {
  display: flex;
    flex-direction: column;
    max-width: 90%;
    align-items: start;
}

.about-page .as2-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.about-page .as2-head p,
.about-page .as2-col p,
.about-page .as2-principle p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.about-page .as2-columns {
  display: flex;
    flex-direction: column;
    margin-top: 20px;
    max-width: 90%;
  align-items: start;
}

.about-page .as2-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  margin-bottom: 30px;
}

.about-page .as2-lead,
.about-page .as2-turn,
.about-page .as2-principle-lead {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about-page .as2-lead {
  font-size: 17px;
  line-height: 1.55;
}

.about-page .as2-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.about-page .as2-principle {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  height: 100%;
  margin: 0;
  padding: 56px 20px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.about-page .as2-principle-icon {
  position: relative;
  width: 88px;
  height: 88px;
}

.about-page .as2-principle-icon img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 88px;
  height: auto;
  max-width: none;
  margin: 0;
  display: block;
}

.about-page .as2-principle-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.about-page .as2-principle h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-page .as2-principle p {
  font-size: 15px;
  line-height: 1.6;
}

.about-page .as3 {
  width: min(1120px, calc(100% - 32px));
  margin: 88px auto 0;
  gap: 28px;
}

.about-page .as3-top {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-page .as3-top-h,
.about-page .as4-topd h1,
.about-page .as5 h1,
.about-page .as6-h {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px) !important;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-page .as3-top-p,
.about-page .as4-topd-p,
.about-page .as5-inner > div > p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #4d5562;
}

.about-page .as3-down {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.about-page .as3-down-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 22px 18px 18px;
  gap: 12px;
  height: 100%;
}

.about-page .as3-down-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.about-page .as3-down-card p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: #4d5562;
}

.about-page .as3-down-card-imgcon,
.about-page .as3-down-card-imgcon2 {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
}

.about-page .as3-down-card img,
.about-page .as4-card img {
  width: 44px;
  height: 44px;
  display: block;
}

.about-page .as3-down-buton {
  margin-top: 4px;
  height: 36px;
  width: auto;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #1e63b8;
  color: #1e63b8;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.about-page .as3-down-buton:hover {
  background: #1e63b8;
  color: #fff;
}

.about-page .as4 {
  margin-top: 72px;
  background: #f4f7fb;
}

.about-page .as4-inner {
  width: min(1120px, calc(100% - 32px));
  padding-top: 64px;
  padding-bottom: 64px;
  gap: 28px;
}

.about-page .as4-topd {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  max-width: 680px;
}

.about-page .as4-topd-h,
.about-page .as4-topd-p {
  flex: none;
}

.about-page .as4-cards {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-page .as4-card {
  height: 100%;
  min-height: 220px !important;
  max-height: none !important;
  gap: 12px;
  padding: 22px 20px;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-page .as4-cards a:hover .as4-card {
  border-color: #c5d4ea;
  box-shadow: 0 12px 28px rgba(23, 26, 31, 0.06);
  transform: translateY(-2px);
}

.about-page .as4-card h4 {
  margin: 0;
  font-size: 18px;
}

.about-page .as4-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4d5562;
}

.about-page .as4-card-img,
.about-page .as4-card-imgs {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
}

.about-page .as4-button {
  margin-top: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #1e63b8;
  font-weight: 600;
  cursor: pointer;
}

.about-page .as4-button:hover {
  background: #174f94;
  color: #fff;
  border-color: #174f94;
}

.about-page .as5 {
  margin-top: 88px;
}

.about-page .as5-inner {
  width: min(1120px, calc(100% - 32px));
  gap: 22px;
}

.about-page .as5-cards {
  gap: 16px;
  padding: 4px 2px 8px;
}

.about-page .as5-card {
  flex-basis: 320px;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  background: #fff;
}

.about-page .as5-card-img {
  align-items: center;
  gap: 12px;
}

.about-page .as5-card-img img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.about-page .as5-card-img-p {
  margin: 0;
}

.about-page .as5-card-img-p h6 {
  margin: 0;
  font-size: 15px;
}

.about-page .as5-card-img-p p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.about-page .as5-card-p {
  margin: 0;
  color: #3c4450;
  line-height: 1.55;
}

.about-page .as5-bottom1,
.about-page .as5-bottom2 {
  width: 44px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
}

.about-page .as5-bottom1 {
  background: #e4e4e4;
  color: #4b5563;
}

.about-page .as5-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.about-page .as5-arrow-left {
  transform: rotate(135deg);
  margin-left: 3px;
}

.about-page .as5-arrow-right {
  transform: rotate(-45deg);
  margin-right: 3px;
}

.about-page .as6 {
  margin: 88px auto 0;
}

.about-page .as6-inner {
  width: min(820px, calc(100% - 32px));
  gap: 18px;
}

.about-page .as6-h {
  text-align: center;
}

.about-page .as6-cards {
  width: 100%;
  gap: 10px;
}

.about-page .as6-card {
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  background: #fff;
}

.about-page .as6-card-question {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
}

.about-page .as6-card-question h5 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.about-page .as6-chevron {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-right: 2px solid #1e63b8;
  border-bottom: 2px solid #1e63b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: none;
}

.about-page .as6-card.active .as6-chevron {
  transform: rotate(-135deg);
}

.about-page .as6-card-toggle {
  max-height: 0;
  padding: 0 28px 0 16px;
  color: #4d5562;
  line-height: 1.65;
  overflow: hidden;
}

.about-page .as6-card.active .as6-card-toggle {
  max-height: none;
  padding-bottom: 16px;
  overflow: visible;
}

.about-page .as6-card-toggle a {
  color: #1e63b8;
}

.about-contact {
  width: min(680px, calc(100% - 32px));
  margin: 72px auto 96px;
}

.about-contact-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(23, 26, 31, 0.05);
  padding: 40px 36px 32px;
}

.about-contact-card h2 {
  margin: 0;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-contact-byline {
  margin: 10px auto 28px;
  max-width: 460px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #4d5562;
}

.about-field {
  margin-bottom: 8px;
}

.about-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #171a1f;
}

.about-field label span {
  font-size: 12px;
  font-weight: 500;
  color: #8b93a0;
}

.about-field label span.is-required {
  color: #1e63b8;
}

.about-field input,
.about-field textarea {
  width: 100%;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  background: #fff;
  color: #171a1f;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.about-field input {
  height: 48px;
}

.about-field textarea {
  min-height: 150px;
  resize: vertical;
}

.about-field input:focus,
.about-field textarea:focus {
  border-color: #1e63b8;
  box-shadow: 0 0 0 4px rgba(30, 99, 184, 0.12);
}

.about-field.is-invalid input,
.about-field.is-invalid textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1);
}

.about-field.is-valid input,
.about-field.is-valid textarea {
  border-color: #1f9d62;
}

.about-field-error {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c2363a;
}

.about-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #1e63b8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.about-submit:hover {
  background: #174f94;
}

.about-form-success,
.about-form-error {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
}

.about-form-success {
  background: #e8f7ef;
  color: #14663e;
  border: 1px solid #b7e4cb;
}

.about-form-error {
  background: #fdecec;
  color: #9f2c2c;
  border: 1px solid #f3c2c2;
}

@media (max-width: 980px) {
  .about-page .as1 {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(680px, calc(100% - 32px));
    margin-top: 92px;
  }

  .about-page .as1-left,
  .about-page .as1-right {
    display: none;
  }

  .about-page .as2 {
    padding: 36px 28px 28px !important;
  }

  .about-page .as2-principles {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .about-page .as3-down {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-page .as2-head,
  .about-page .as2-columns {
    grid-template-columns: 1fr;
  }

  .about-page .as2-head {
    gap: 12px;
    align-items: start;
  }
}

@media (max-width: 800px) {
  .about-page .as4-cards {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .about-page .as4-card {
    min-height: 0 !important;
    max-height: none !important;
  }
}

@media (max-width: 640px) {
  .about-page .as2 {
    width: min(1120px, calc(100% - 32px)) !important;
    margin-top: 40px !important;
    padding: 28px 18px 20px !important;
    border-radius: 18px;
  }

  .about-page .as2-inner {
    gap: 24px;
  }

  .about-page .as2-principle {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 2px 14px;
    padding: 46px 16px 16px;
  }

  .about-page .as2-principle-icon,
  .about-page .as2-principle-icon img {
    width: 72px;
  }

  .about-page .as2-principle-icon {
    height: 72px;
  }

  .about-page .as2-principle h3 {
    font-size: 20px;
  }

  .about-page .as3-down {
    grid-template-columns: 1fr;
  }

  .about-page .as3,
  .about-page .as5,
  .about-page .as6 {
    margin-top: 56px;
  }

  .about-contact {
    margin-top: 48px;
    margin-bottom: 64px;
  }

  .about-contact-card {
    padding: 28px 18px 22px;
  }

  .about-contact-card h2 {
    font-size: 30px;
  }
}
