/* ============================================================
   CONTACT — loaded only from contact.pug
   ============================================================ */

:root {
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
}

body:has(.contact-page) {
  background: #ffffff;
  color: #0b1b3f;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body:has(.contact-page) * {
  font-family: inherit;
}

body:has(.contact-page) .footer {
  margin-top: 0;
}

.contact-page {
  padding: 8px 40px 40px;
}

.contact-shell {
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 72px 56px;
  background: #f3f6fc;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 245, 0.8);
}

.contact-intro {
  max-width: 36rem;
  margin: 0 0 36px;
}

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: 48px 56px;
}

.contact-main {
  min-width: 0;
  max-width: 520px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 27, 63, 0.04);
  color: #5b6475;
  font-size: 0.72rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-shell h1 {
  margin: 0 0 14px;
  color: #0b1b3f;
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  font-weight: var(--font-semibold);
  line-height: 1;
  letter-spacing: -0.035em;
}

.contact-lede {
  max-width: 40ch;
  margin: 0 0 28px;
  color: #5b6475;
  font-size: 1.02rem;
  font-weight: var(--font-normal);
  line-height: 1.55;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.contact-channel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 27, 63, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.contact-channel:hover {
  color: inherit;
  transform: translateY(-1px);
  border-color: #d7e0ef;
  box-shadow: 0 12px 28px rgba(15, 27, 63, 0.08);
}

.contact-channel:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
}

.contact-channel-icon i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.contact-channel-icon--mail {
  background: #2563eb;
}

.contact-channel-icon--wa {
  background: #25d366;
}

.contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-channel-label {
  color: #8b95a8;
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-channel-body strong {
  color: #0b1b3f;
  font-size: 1rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.contact-channel-hint {
  color: #5b6475;
  font-size: 0.84rem;
  line-height: 1.35;
}

.contact-channel-go {
  display: flex;
  color: #b7c1d1;
}

.contact-channel-go i {
  width: 16px;
  height: 16px;
}

.contact-channel:hover .contact-channel-go {
  color: #2563eb;
}

.contact-follow h2,
.contact-aside h2 {
  margin: 0 0 6px;
  color: #0b1b3f;
  font-size: 1.02rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.02em;
}

.contact-follow-lede {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 64px;
  color: #0b1b3f;
  text-decoration: none;
}

.contact-social:hover {
  color: #0b1b3f;
}

.contact-social:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 14px;
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-social:hover .contact-social-icon {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 27, 63, 0.14);
}

.contact-social-icon i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.contact-social-icon .social-x-icon {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.contact-social--facebook .contact-social-icon {
  background: #1877f2;
}

.contact-social--x .contact-social-icon {
  background: #0f1419;
}

.contact-social--linkedin .contact-social-icon {
  background: #0a66c2;
}

.contact-social--instagram .contact-social-icon {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 52%, #6228d7 100%);
}

.contact-social-name {
  color: #3b4a66;
  font-size: 0.78rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.01em;
  line-height: 1;
}

.contact-aside {
  min-width: 0;
  padding: 22px 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 27, 63, 0.04);
}

.contact-aside h2 {
  margin-bottom: 14px;
}

.contact-help {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.contact-help li,
.contact-help a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #3b4a66;
  font-size: 0.9rem;
  line-height: 1.35;
}

.contact-help a {
  margin: 0 -8px;
  padding: 0 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.contact-help a:hover {
  background: #f3f6fc;
  color: #0b1b3f;
}

.contact-help a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.contact-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef4ff;
  color: #2563eb;
}

.contact-help-icon i {
  width: 15px;
  height: 15px;
}

.contact-help-go {
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex-shrink: 0;
  color: #b7c1d1;
}

.contact-help a:hover .contact-help-go {
  color: #2563eb;
}

.contact-aside-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #eef0f4;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contact-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-shell {
    padding: 56px 40px 48px;
  }

  .contact-body {
    gap: 36px 28px;
  }
}

@media (max-width: 860px) {
  .contact-shell {
    padding: 40px 28px 32px;
  }

  .contact-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-main,
  .contact-aside {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 8px 16px 32px;
  }

  .contact-shell {
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .contact-shell h1 {
    font-size: 2.05rem;
    letter-spacing: -0.03em;
  }

  .contact-lede {
    margin-bottom: 22px;
    font-size: 0.9rem;
  }

  .contact-channels {
    margin-bottom: 28px;
  }

  .contact-channel {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 80px;
    padding: 14px 14px;
  }

  .contact-channel-go {
    display: none;
  }

  .contact-channel-icon {
    width: 40px;
    height: 40px;
  }

  .contact-socials {
    gap: 16px 20px;
  }

  .contact-aside {
    padding: 18px 16px 16px;
  }
}
