/* ========================================
   Contact page
   Scoped to .page-contact only
   ======================================== */

.page-contact .site-header,
.page-contact .site-header.is-scrolled,
.page-contact .site-header.is-menu-open,
.page-contact .site-header:hover {
  background: var(--white);
  box-shadow: var(--shadow-header);
}

.page-contact .main-nav a,
.page-contact .site-header:hover .main-nav a,
.page-contact .site-header.is-scrolled .main-nav a,
.page-contact .site-header.is-menu-open .main-nav a {
  color: var(--text-muted) !important;
}

.page-contact .main-nav a.active,
.page-contact .main-nav a:hover,
.page-contact .site-header:hover .main-nav a.active,
.page-contact .site-header:hover .main-nav a:hover,
.page-contact .site-header.is-scrolled .main-nav a.active,
.page-contact .site-header.is-scrolled .main-nav a:hover {
  color: var(--primary) !important;
}

.page-contact .lang-item,
.page-contact .site-header:hover .lang-item,
.page-contact .site-header.is-scrolled .lang-item,
.page-contact .site-header.is-menu-open .lang-item {
  color: var(--text-muted);
}

.page-contact .lang-item.is-active,
.page-contact .lang-item:hover {
  color: var(--primary);
}

.page-contact .lang-divider {
  background: var(--border-lang);
}

.page-contact .icon-btn img,
.page-contact .nav-chevron {
  filter: brightness(0) saturate(100%);
  opacity: 0.65;
}

.page-contact .nav-toggle span {
  background: var(--text-muted);
  box-shadow: none;
}

.page-contact .ct-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 80px);
  box-sizing: border-box;
}

/* ---------- Hero ---------- */
.page-contact .ct-hero {
  position: relative;
  padding-top: var(--header-h);
  height: calc(var(--header-h) + 400px);
  overflow: visible;
  background: transparent;
}

.page-contact .ct-hero__media {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  height: 780px;
  pointer-events: none;
  z-index: 0;
}

.page-contact .ct-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.page-contact .ct-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 32%,
    rgba(255, 255, 255, 0.72) 68%,
    #ffffff 100%
  );
  pointer-events: none;
}

.page-contact .ct-hero .ct-wrap {
  position: relative;
  z-index: 1;
  padding-top: 196px;
}

.page-contact .ct-hero h1 {
  margin: 0;
  padding-left: 32px;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: 0.06em;
}

/* ---------- Panel card ---------- */
.page-contact .ct-panel {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  padding-bottom: 88px;
  background: transparent;
}

.page-contact .ct-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(17, 40, 80, 0.05);
  box-shadow: 0 16px 48px rgba(17, 40, 80, 0.07);
  padding: 48px 56px 64px;
}

.page-contact .ct-intro {
  text-align: center;
}

.page-contact .ct-card__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.page-contact .ct-intro__desc {
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
}

/* ---------- CEO + follow ---------- */
.page-contact .ct-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  text-align: left;
}

.page-contact .ct-ceo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 36px 28px 32px;
  background:
    linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  border: 1px solid rgba(17, 117, 252, 0.08);
  border-radius: 16px;
}

.page-contact .ct-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(17, 40, 80, 0.05);
  box-shadow: 0 10px 24px rgba(17, 40, 80, 0.05);
  box-sizing: border-box;
}

.page-contact .ct-ceo .ct-qr {
  width: 280px;
  height: 280px;
  padding: 12px;
}

.page-contact .ct-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-contact .ct-ceo__role {
  display: inline-flex;
  align-items: center;
  margin: 18px 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--primary);
  background: rgba(17, 117, 252, 0.08);
}

.page-contact .ct-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--primary);
}

.page-contact .ct-mail img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.page-contact .ct-mail:hover {
  color: var(--primary-hover);
}

.page-contact .ct-aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.page-contact .ct-follow,
.page-contact .ct-address {
  padding: 28px 28px 30px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
  border: 1px solid rgba(17, 40, 80, 0.06);
  box-sizing: border-box;
}

.page-contact .ct-follow__title,
.page-contact .ct-address__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
}

.page-contact .ct-follow .ct-extra__eyebrow,
.page-contact .ct-address .ct-extra__eyebrow {
  margin-bottom: 8px;
}

.page-contact .ct-follow__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-contact .ct-follow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  text-align: center;
  min-width: 0;
}

.page-contact .ct-follow__qr {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1;
  padding: 8px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(17, 40, 80, 0.05);
  box-shadow: 0 8px 20px rgba(17, 40, 80, 0.04);
  box-sizing: border-box;
}

.page-contact .ct-follow__qr img,
.page-contact .ct-follow__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
}

.page-contact .ct-follow__item span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-light);
  white-space: nowrap;
}

.page-contact .ct-address {
  margin-top: 0;
  background:
    linear-gradient(180deg, #fcfaf6 0%, #f7f3ea 100%);
  border-color: rgba(200, 146, 42, 0.14);
}

.page-contact .ct-address .ct-extra__eyebrow {
  color: #b8860b;
}

.page-contact .ct-address p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
}

.page-contact .ct-divider {
  height: 0;
  margin: 48px 0 40px;
  border: 0;
  border-bottom: 1px dashed rgba(17, 40, 80, 0.12);
  background: none;
}

/* ---------- Business team ---------- */
.page-contact .ct-biz {
  text-align: center;
  padding: 40px 36px 44px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  border: 1px solid rgba(17, 117, 252, 0.08);
}

.page-contact .ct-biz__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.page-contact .ct-biz__title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
}

.page-contact .ct-biz__desc {
  margin: 0 auto 40px;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
}

.page-contact .ct-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 28px;
  align-items: stretch;
}

.page-contact .ct-people__rule {
  grid-column: 1 / -1;
  height: 0;
  margin: 28px 0 12px;
  border: 0;
  border-bottom: 1px dashed #E6E6E6;
}

.page-contact .ct-person {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  height: 100%;
  min-width: 0;
}

.page-contact .ct-person__avatar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 4px #fff,
    0 8px 20px rgba(17, 40, 80, 0.12);
}

.page-contact .ct-person__card {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 58px 18px 28px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 40, 80, 0.05);
  box-shadow: 0 12px 28px rgba(17, 40, 80, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-contact .ct-person__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17, 40, 80, 0.08);
}

.page-contact .ct-person__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b3d7a, var(--primary));
}

.page-contact .ct-person__name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
}

.page-contact .ct-person__role {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--primary);
  background: rgba(17, 117, 252, 0.08);
}

.page-contact .ct-person .ct-mail {
  margin-bottom: 18px;
  font-size: 13px;
}

.page-contact .ct-person .ct-mail img {
  width: 15px;
  height: 15px;
}

.page-contact .ct-person .ct-qr {
  width: 168px;
  height: 168px;
  padding: 8px;
  background: #f7fafd;
  border-radius: 12px;
  box-sizing: border-box;
}

.page-contact .ct-person .ct-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-contact .ct-person__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-light);
}

/* ---------- Extra: careers + complaint side by side ---------- */
.page-contact .ct-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  align-items: stretch;
}

.page-contact .ct-extra__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 36px 28px 40px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
  border: 1px solid rgba(17, 40, 80, 0.06);
}

.page-contact .ct-extra__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.page-contact .ct-extra__col .ct-biz__title {
  margin: 0 0 10px;
  font-size: 26px;
}

.page-contact .ct-extra__desc {
  margin: 0 0 32px;
  max-width: 22em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-contact .ct-extra .ct-person {
  width: 100%;
  max-width: 360px;
}

.page-contact .ct-extra .ct-person__card {
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 40, 80, 0.05);
}

.page-contact .ct-extra__col--complaint .ct-extra__eyebrow {
  color: #b8860b;
}

.page-contact .ct-extra__col--complaint .ct-person__card::after {
  background: #c8922a;
}

.page-contact .ct-extra__col--complaint {
  background:
    linear-gradient(180deg, #fcfaf6 0%, #f7f3ea 100%);
  border-color: rgba(200, 146, 42, 0.14);
}

@media (max-width: 1200px) {
  .page-contact .ct-wrap {
    padding: 0 20px;
  }

  .page-contact .ct-hero {
    height: calc(var(--header-h) + 200px);
    overflow: hidden;
  }

  .page-contact .ct-hero__media {
    top: var(--header-h);
    height: calc(100% + 120px);
  }

  .page-contact .ct-hero__media img {
    object-position: center 28%;
  }

  .page-contact .ct-hero__media::after {
    height: 72%;
  }

  .page-contact .ct-hero .ct-wrap {
    padding-top: 56px;
    text-align: center;
  }

  .page-contact .ct-hero h1 {
    padding-left: 0;
    font-size: 28px;
    letter-spacing: 0.04em;
  }

  .page-contact .ct-panel {
    margin-top: -28px;
    padding-bottom: 56px;
  }

  .page-contact .ct-card {
    padding: 28px 20px 40px;
    border-radius: 14px;
  }

  .page-contact .ct-card__title {
    margin-bottom: 10px;
    padding-bottom: 0;
    font-size: 22px;
    line-height: 1.45;
  }

  .page-contact .ct-intro__desc {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .page-contact .ct-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-contact .ct-ceo {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 28px 20px 24px;
  }

  .page-contact .ct-ceo .ct-qr {
    width: min(180px, 56vw);
    height: min(180px, 56vw);
  }

  .page-contact .ct-ceo__role {
    margin: 14px 0 8px;
    font-size: 13px;
  }

  .page-contact .ct-ceo .ct-mail {
    font-size: 14px;
    word-break: break-all;
  }

  .page-contact .ct-follow,
  .page-contact .ct-address {
    padding: 22px 18px 24px;
  }

  .page-contact .ct-follow__title,
  .page-contact .ct-address__title {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .page-contact .ct-follow__list {
    gap: 10px;
  }

  .page-contact .ct-follow__qr {
    max-width: 110px;
    padding: 6px;
  }

  .page-contact .ct-follow__item span {
    font-size: 13px;
    white-space: normal;
  }

  .page-contact .ct-address {
    margin-top: 0;
  }

  .page-contact .ct-address p {
    font-size: 15px;
    line-height: 1.75;
    word-break: break-word;
  }

  .page-contact .ct-divider {
    margin: 32px 0 28px;
  }

  .page-contact .ct-biz__title {
    font-size: 22px;
  }

  .page-contact .ct-biz__desc {
    margin: 0 auto 28px;
    max-width: 22em;
    padding: 0 4px;
    font-size: 15px;
    line-height: 1.75;
  }

  .page-contact .ct-biz {
    padding: 28px 18px 32px;
  }

  .page-contact .ct-people {
    grid-template-columns: 1fr;
    row-gap: 36px;
    justify-items: center;
  }

  .page-contact .ct-extra {
    gap: 24px 28px;
  }

  .page-contact .ct-extra__col {
    padding: 28px 18px 32px;
  }

  .page-contact .ct-extra__col .ct-biz__title {
    font-size: 22px;
  }

  .page-contact .ct-extra__desc {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .page-contact .ct-people__rule {
    width: 100%;
    margin: 8px 0 4px;
  }

  .page-contact .ct-person {
    width: 100%;
    max-width: 340px;
  }

  .page-contact .ct-person__avatar {
    width: 88px;
    height: 88px;
  }

  .page-contact .ct-person__card {
    padding: 56px 16px 28px;
  }

  .page-contact .ct-person__name {
    font-size: 20px;
  }

  .page-contact .ct-person__role {
    font-size: 15px;
  }

  .page-contact .ct-person .ct-mail {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .page-contact .ct-person .ct-qr {
    width: min(160px, 48vw);
    height: min(160px, 48vw);
  }
}

@media (max-width: 640px) {
  .page-contact .ct-wrap {
    padding: 0 16px;
  }

  .page-contact .ct-hero {
    height: calc(var(--header-h) + 168px);
  }

  .page-contact .ct-hero .ct-wrap {
    padding-top: 44px;
  }

  .page-contact .ct-panel {
    margin-top: -20px;
  }

  .page-contact .ct-card {
    padding: 24px 16px 36px;
  }

  .page-contact .ct-card__title {
    margin-bottom: 8px;
    padding-bottom: 0;
    font-size: 20px;
  }

  .page-contact .ct-intro__desc {
    margin-bottom: 22px;
    font-size: 13px;
  }

  .page-contact .ct-ceo {
    padding: 24px 16px 20px;
  }

  .page-contact .ct-follow__list {
    gap: 8px;
  }

  .page-contact .ct-extra {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact .ct-extra__col .ct-biz__title {
    font-size: 20px;
  }

  .page-contact .ct-follow__qr {
    max-width: 88px;
  }

  .page-contact .ct-follow__item span {
    font-size: 12px;
  }

  .page-contact .header-actions {
    gap: 12px;
  }
}
