/* ALO v5.4: visual system restricted to the Contact page. */

body.page-id-12 .alo-contact-page-v54 {
  --alo-contact-deep: #082238;
  --alo-contact-navy: #12355b;
  --alo-contact-gold: #d6a62f;
  --alo-contact-gold-light: #efc55a;
  --alo-contact-paper: #f4f7f9;
  background: var(--alo-contact-paper);
}

body.page-id-12 .alo-v53-contact {
  padding: 54px 0 44px;
  border: 0;
  background: var(--alo-contact-paper);
}

body.page-id-12 .alo-v53-contact .alo-contact-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 56px;
  padding: 54px;
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(214, 166, 47, 0.2), transparent 38%),
    linear-gradient(145deg, var(--alo-contact-deep), var(--alo-contact-navy));
  box-shadow: 0 26px 60px rgba(8, 34, 56, 0.18);
  color: #fff;
}

body.page-id-12 .alo-v53-contact .alo-contact-column > h2,
body.page-id-12 .alo-v53-contact .alo-section-intro {
  color: #fff;
}

body.page-id-12 .alo-v53-contact .alo-section-intro {
  color: #d7e2eb;
}

body.page-id-12 .alo-v53-contact .alo-contact-info {
  gap: 10px;
}

body.page-id-12 .alo-v53-contact .alo-contact-info > p {
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.page-id-12 .alo-v53-contact .alo-contact-info strong,
body.page-id-12 .alo-v53-contact .alo-contact-info a {
  color: #fff;
}

body.page-id-12 .alo-v53-contact .alo-opening-notice {
  margin-bottom: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 197, 90, 0.3);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
}

body.page-id-12 .alo-v53-contact .alo-opening-notice p {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #d7e2eb;
  font-size: 13px;
  line-height: 1.55;
}

body.page-id-12 .alo-v53-contact .alo-opening-notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--alo-contact-gold-light);
}

body.page-id-12 .alo-v53-contact .alo-contact-form {
  min-height: 0;
  padding: 26px;
  border: 0;
  border-radius: 21px;
  background: #fff;
  box-shadow: none;
  color: #0f172a;
}

body.page-id-12 .alo-v53-contact .alo-contact-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

body.page-id-12 .alo-v53-contact .alo-contact-form .alo-cf7-field:has(textarea),
body.page-id-12 .alo-v53-contact .alo-contact-form .alo-cf7-acceptance,
body.page-id-12 .alo-v53-contact .alo-contact-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

body.page-id-12 .alo-v53-contact .alo-contact-form textarea,
body.page-id-12 .alo-v53-contact .alo-contact-form .wpcf7-textarea {
  min-height: 100px;
}

body.page-id-12 .alo-section-map {
  padding: 28px 0 72px;
  background: var(--alo-contact-paper);
}

body.page-id-12 .alo-section-map .alo-map-link {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 34, 56, 0.1);
}

@media (max-width: 980px) {
  body.page-id-12 .alo-v53-contact .alo-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page-id-12 .alo-v53-contact {
    padding-top: 20px;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-grid {
    width: min(100% - 36px, 1180px);
    gap: 34px;
    padding: 40px 28px 28px;
  }
}

@media (max-width: 599px) {
  body.page-id-12 .alo-v53-contact {
    padding-bottom: 0;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-grid {
    width: 100%;
    margin: 0;
    padding: 44px 16px 16px;
    border-radius: 0;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-info > p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-form {
    padding: 20px 16px;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  body.page-id-12 .alo-v53-contact .alo-contact-form .alo-cf7-field,
  body.page-id-12 .alo-v53-contact .alo-contact-form .alo-cf7-acceptance,
  body.page-id-12 .alo-v53-contact .alo-contact-form .wpcf7-response-output {
    grid-column: 1;
  }

  body.page-id-12 .alo-section-map {
    padding: 24px 14px 52px;
  }
}
