/* Contact page. Scoped so homepage and Services styles stay unchanged. */

.gs-contact {
  --bg: #fbfaf7;
  --ink: #17151d;
  --muted: #696174;
  --purple: #24104f;
  --orange: #f66327;
  --orange-text: #cc4127;
  --line: #e7e1d8;
  --font: Inter, Arial, sans-serif;
  --hand: Gaegu, cursive;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

.gs-contact .skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  color: var(--purple);
}

.gs-contact .skip-link:focus {
  top: 16px;
}

.gs-contact .container {
  width: min(720px, calc(100% - 56px));
  margin: 0 auto;
}

.gs-contact :focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.gs-contact .contact-hero {
  padding: 70px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    linear-gradient(#f7f5f3 1px, transparent 1px),
    linear-gradient(90deg, #f7f5f3 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0;
}

.gs-contact .hand {
  margin: 0 0 18px;
  color: var(--orange-text);
  font: 700 34px/1.15 var(--hand);
}

.gs-contact .hand-apos {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.68em;
  letter-spacing: 0;
}

.gs-contact h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.gs-contact .hero-lead {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.6;
}

.gs-contact .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 0;
}

.gs-contact .hero-actions .primary,
.gs-contact .hero-actions .secondary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.gs-contact .hero-actions .primary {
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
}

.gs-contact .hero-actions .primary:hover {
  border-color: #392164;
  background: #392164;
}

.gs-contact .hero-actions .secondary {
  border: 1px solid #c7bbd9;
  background: #fff;
  color: var(--purple);
}

.gs-contact .hero-actions .secondary:hover {
  border-color: var(--purple);
}

.gs-contact .contact-section {
  padding: 48px 0 64px;
}

.gs-contact .contact-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
}

.gs-contact .contact-form-col {
  min-width: 0;
  padding-right: 48px;
}

.gs-contact .contact-form {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  scroll-margin-top: 96px;
}

.gs-contact .form-intro {
  display: grid;
  gap: 12px;
  margin: 0 0 2px;
  text-align: left;
}

.gs-contact .form-intro h2 {
  margin: 0;
  color: var(--purple);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.gs-contact .form-intro p {
  margin: 0;
  color: #3d3648;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.gs-contact .form-intro .form-reply {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.gs-contact .contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gs-contact .contact-trap input {
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.gs-contact .form-row.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.gs-contact .contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.gs-contact .contact-form input,
.gs-contact .contact-form select,
.gs-contact .contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #d9d5df;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.4 var(--font);
}

.gs-contact .contact-form input,
.gs-contact .contact-form select {
  height: 58px;
  padding: 0 16px;
}

.gs-contact .contact-form textarea {
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.gs-contact .contact-form input::placeholder,
.gs-contact .contact-form textarea::placeholder,
.gs-contact .contact-form select:invalid {
  color: #77717f;
}

.gs-contact .contact-form input:focus,
.gs-contact .contact-form select:focus,
.gs-contact .contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(36, 16, 79, 0.12);
}

.gs-contact .contact-form [aria-invalid="true"] {
  border-color: #7f1d1d;
}

.gs-contact .field-error {
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.gs-contact .field-error:empty {
  display: none;
}

.gs-contact .form-footer {
  display: flex;
  align-items: center;
  padding-top: 2px;
}

.gs-contact .form-footer .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 3px;
  background: var(--purple);
  color: #fff;
  font: 600 16px/1 var(--font);
  cursor: pointer;
}

.gs-contact .form-footer .primary:hover {
  background: #392164;
}

.gs-contact .form-footer .primary:disabled {
  cursor: progress;
  opacity: 0.72;
}

.gs-contact .form-status {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.gs-contact .form-status:empty {
  display: none;
}

.gs-contact .form-status a {
  color: var(--orange-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gs-contact .contact-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.gs-contact .aside-intro {
  display: grid;
  gap: 6px;
}

.gs-contact .aside-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.gs-contact .aside-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.5;
}

.gs-contact .contact-email {
  max-width: 100%;
  color: var(--orange-text);
  font: 700 26px/1.15 var(--hand);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.gs-contact .contact-email:hover,
.gs-contact .contact-email:focus-visible {
  color: var(--purple);
}

.gs-contact .aside-reach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.gs-contact .contact-phone-row {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  min-width: 0;
}

.gs-contact .contact-phone {
  color: var(--purple);
  font-size: 16px;
  font-weight: 450;
  text-decoration: none;
}

.gs-contact .contact-phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gs-contact .contact-whatsapp {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #0d6b56;
  text-decoration: none;
}

.gs-contact .contact-whatsapp svg {
  width: 18px;
  height: 18px;
}

.gs-contact .contact-whatsapp:hover {
  color: #075e54;
}

.gs-contact .presence-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #c7bbd9;
  border-radius: 3px;
  background: transparent;
  color: var(--purple);
  font: 600 14px/1 var(--font);
  cursor: pointer;
}

.gs-contact .presence-chat svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.gs-contact .presence-chat:hover {
  border-color: var(--purple);
  background: #fff;
}

.gs-contact .chat-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.gs-contact .chat-status[hidden] {
  display: none;
}

.gs-contact .chat-status a {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gs-contact .aside-locations {
  width: 100%;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.gs-contact .aside-locations h3 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.gs-contact .location-lines {
  display: grid;
  gap: 14px;
}

.gs-contact .location-lines p {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--purple);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.gs-contact .location-flag {
  display: block;
  width: auto;
  height: 12px;
  margin-top: 3px;
  border: 0;
  border-radius: 0;
}

.gs-contact .location-lines small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
}

.gs-contact .contact-faq {
  padding: 64px 0 72px;
  scroll-margin-top: 96px;
  background-color: #f0ebf7;
  background-image:
    linear-gradient(rgb(36 16 79 / 0.0315) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 16 79 / 0.0315) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0;
}

.gs-contact .section-kicker {
  margin: 0 0 12px;
  color: var(--orange-text);
  font: 700 29px/1.2 var(--hand);
  text-align: center;
}

.gs-contact .contact-faq h2 {
  margin: 12px 0 28px;
  color: #24104f;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.gs-contact .faq-list,
.gs-contact .contact-faq details,
.gs-contact .contact-faq summary,
.gs-contact .contact-faq details p {
  text-align: left;
}

.gs-contact .contact-faq details {
  border-top: 1px solid rgba(36, 16, 79, 0.16);
}

.gs-contact .contact-faq details:last-child {
  border-bottom: 1px solid rgba(36, 16, 79, 0.16);
}

.gs-contact .contact-faq summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  color: #24104f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.gs-contact .contact-faq summary::-webkit-details-marker {
  display: none;
}

.gs-contact .faq-num {
  flex: 0 0 28px;
  margin-top: 0.15em;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.gs-contact .faq-q {
  flex: 1;
  min-width: 0;
}

.gs-contact .faq-chevron {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.18em;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gs-contact .contact-faq details[open] .faq-chevron {
  transform: rotate(180deg);
}

.gs-contact .contact-faq details p {
  margin: 0;
  padding: 0 30px 18px 40px;
  color: #3d3648;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.7;
}

body.gs-contact #stcm-icon {
  display: none !important;
}


@media (max-width: 860px) {
  .gs-contact .contact-split {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 56px));
  }

  .gs-contact .contact-form-col {
    padding-right: 0;
  }

  .gs-contact .contact-aside {
    margin-top: 36px;
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .gs-contact .contact-email {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .gs-contact .contact-hero {
    padding-top: 44px;
  }

  .gs-contact h1 {
    font-size: 38px;
  }

  .gs-contact .hero-lead {
    max-width: 560px;
    font-size: 16px;
  }

  .gs-contact .form-intro h2 {
    font-size: 24px;
  }

  .gs-contact .form-row.two {
    grid-template-columns: 1fr;
  }

  .gs-contact .form-footer,
  .gs-contact .form-footer .primary {
    width: 100%;
  }

  .gs-contact .contact-faq {
    padding: 44px 0;
  }

  .gs-contact .contact-faq h2 {
    font-size: 28px;
  }

  .gs-contact .contact-faq summary {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .gs-contact .container,
  .gs-contact .contact-split {
    width: min(1080px, calc(100% - 32px));
  }

  .gs-contact .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gs-contact .hero-actions .primary,
  .gs-contact .hero-actions .secondary {
    width: 100%;
  }

  .gs-contact .hand,
  .gs-contact .section-kicker {
    font-size: 28px;
  }

  .gs-contact .contact-email {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-contact .contact-form input,
  .gs-contact .contact-form select,
  .gs-contact .contact-form textarea,
  .gs-contact .form-footer .primary,
  .gs-contact .presence-chat,
  .gs-contact .faq-chevron {
    transition: none;
  }

  .gs-contact .contact-faq details[open] .faq-chevron {
    transform: rotate(180deg);
  }
}
