/* Contact page */

.page-contact main {
  overflow-x: hidden;
}

.page-contact .site-header__cta-link[aria-current="page"] {
  color: var(--color-brars-orange);
}

/* —— Hero —— */
.contact-hero {
  color: var(--color-off-white);
  overflow: hidden;
  padding: calc(var(--site-header-clearance) + 32px) 0 64px;
  position: relative;
}

@media (min-width: 1025px) {
  .contact-hero {
    padding-bottom: 96px;
  }
}

.contact-hero__bg {
  background: var(--color-section-purple);
  height: calc(100% + var(--site-header-clearance));
  left: 0;
  position: absolute;
  right: 0;
  top: calc(-1 * var(--site-header-clearance));
  z-index: 0;
}

.contact-hero__mandala {
  animation: product-mandala-spin 51s linear infinite;
  inset: -10% -20% auto auto;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
  width: min(520px, 70vw);
  z-index: 1;
}

.contact-hero__mandala img {
  display: block;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero__mandala {
    animation: none;
  }
}

.contact-hero__inner {
  align-items: start;
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1025px) {
  .contact-hero__inner {
    gap: 64px;
    grid-template-columns: 1fr 1fr;
  }
}

.contact-hero__copy {
  text-align: center;
}

@media (min-width: 1025px) {
  .contact-hero__copy {
    text-align: left;
  }
}

.contact-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 12px;
  opacity: 0.85;
  text-transform: uppercase;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -1.44px;
  line-height: 0.85;
  margin: 0 0 20px;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .contact-hero__title {
    font-size: 4.5rem;
    letter-spacing: -2px;
    margin-bottom: 24px;
  }
}

.contact-hero__lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 auto 32px;
  max-width: 36ch;
  opacity: 0.92;
}

@media (min-width: 1025px) {
  .contact-hero__lead {
    font-size: 1.25rem;
    margin: 0 0 36px;
    max-width: none;
  }
}

.contact-hero__details {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 auto 32px;
  max-width: 420px;
  padding: 0;
  text-align: left;
}

@media (min-width: 1025px) {
  .contact-hero__details {
    margin: 0 0 36px;
    max-width: none;
  }
}

.contact-hero__detail {
  align-items: flex-start;
  background: rgba(255, 246, 235, 0.08);
  border: 1px solid rgba(255, 246, 235, 0.16);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
}

.contact-hero__detail-icon {
  align-items: center;
  color: var(--color-brars-orange);
  display: flex;
  flex-shrink: 0;
  font-size: 1.25rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.contact-hero__detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-hero__detail span:last-child,
.contact-hero__detail a {
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.contact-hero__detail a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-hero__detail a:hover {
  color: var(--color-brars-orange);
}

.contact-hero__social {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1025px) {
  .contact-hero__social {
    align-items: flex-start;
  }
}

.contact-hero__social-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin: 0;
  text-transform: uppercase;
}

.contact-hero__social-links {
  display: flex;
  gap: 12px;
}

.contact-hero__social-links a {
  align-items: center;
  background: var(--color-almost-black);
  border-radius: 10px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: background 0.2s ease;
  width: 44px;
}

.contact-hero__social-links a:hover {
  background: var(--color-brars-orange);
}

.contact-hero__social-links img {
  display: block;
  height: 20px;
  width: auto;
}

/* —— Form —— */
.contact-hero__form-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-hero__form {
  background: var(--color-section-tan);
  border-radius: 24px;
  box-sizing: border-box;
  color: var(--color-almost-black);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  padding: 24px 20px;
  width: 100%;
}

@media (min-width: 769px) {
  .contact-hero__form {
    gap: 20px;
    padding: 36px 32px;
  }
}

@media (min-width: 1025px) {
  .contact-hero__form {
    padding: 40px;
  }
}

.contact-hero__form-intro {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.18px;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 1025px) {
  .contact-hero__form-intro {
    font-size: 1.25rem;
  }
}

.contact-hero__form-status {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.contact-hero__form-status.is-success {
  color: #1a7a3a;
}

.contact-hero__form-status.is-error {
  color: var(--color-brars-red);
}

.contact-hero__form input,
.contact-hero__form select,
.contact-hero__form textarea {
  background: var(--color-off-white);
  border: none;
  border-radius: 12px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.32px;
  padding: 16px 20px;
  width: 100%;
}

.contact-hero__form input,
.contact-hero__form select {
  height: 52px;
}

.contact-hero__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-hero__form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media (max-width: 768px) {
  .contact-hero__form-row {
    flex-direction: column;
  }
}

.contact-hero__form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='8' viewBox='0 0 4 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 1.5L3.25 4L0.75 6.5' stroke='%235c1010' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 20px center;
  background-repeat: no-repeat;
  color: var(--color-almost-black);
  cursor: pointer;
  text-align: left;
}

.contact-hero__form-select:invalid {
  color: rgba(35, 31, 32, 0.55);
}

.contact-hero__form-consent {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 10px;
  letter-spacing: -0.14px;
  line-height: 1.35;
  text-align: left;
}

.contact-hero__form-consent input {
  flex-shrink: 0;
  height: auto;
  margin-top: 3px;
  padding: 0;
  width: auto;
}

.contact-hero__form-consent a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.contact-hero__form .btn {
  align-self: flex-start;
}
