body.acs-contact-page {
  overflow-x: clip !important;
  background: #fff;
}

.acs-contact-page .rey-siteWrapper,
.acs-contact-page .rey-siteContent,
.acs-contact-page #content {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip;
}

.acs-contact {
  --acs-red: #e63946;
  --acs-black: #101010;
  --acs-text: #242424;
  --acs-muted: #6d6d6d;
  --acs-line: #ececec;
  --acs-soft: #f7f7f7;
  color: var(--acs-text);
  background: #fff;
}

.acs-contact *,
.acs-contact *::before,
.acs-contact *::after {
  box-sizing: border-box;
}

.acs-contact a {
  color: inherit;
  text-decoration: none;
}

.acs-contact-container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.acs-kicker {
  margin: 0 0 13px;
  color: var(--acs-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.acs-contact-hero {
  position: relative;
  min-height: 84vh;
  min-height: 84svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(96px, 12vh, 130px) 0;
  /* Background photo is generated/uploaded by Codex (see AGENT-HANDOFF.md);
     until it exists only the dark gradient layers show. */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .58)),
    radial-gradient(circle at 82% 22%, rgba(230, 57, 70, .34), transparent 30%),
    url('../../uploads/2026/06/acs-contact-hero-bg.webp') center / cover no-repeat,
    #111;
  color: #fff;
}

.acs-contact-hero .acs-contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
}

.acs-contact-hero-copy {
  max-width: 760px;
}

.acs-contact-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.acs-contact-hero p:not(.acs-kicker) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.72;
}

.acs-contact-hero-panel {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.acs-contact-hero-panel span {
  color: var(--acs-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.acs-contact-hero-panel strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.22;
}

.acs-contact-hero-panel a {
  color: rgba(255, 255, 255, .82);
  overflow-wrap: anywhere;
}

.acs-contact-main {
  padding: clamp(56px, 8vw, 92px) 0;
}

.acs-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.acs-contact-info h2,
.acs-contact-form h2,
.acs-contact-paths h2,
.acs-contact-next h2 {
  margin: 0;
  color: #111;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 820;
  letter-spacing: 0;
}

.acs-contact-info > p {
  margin: 18px 0 28px;
  color: var(--acs-muted);
  font-size: 16px;
  line-height: 1.7;
}

.acs-contact-lines {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--acs-line);
  list-style: none;
}

.acs-contact-lines li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--acs-line);
}

.acs-contact-lines strong {
  color: #111;
  font-size: 13px;
  text-transform: uppercase;
}

.acs-contact-lines a,
.acs-contact-lines span {
  color: var(--acs-muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.acs-contact-lines a:hover {
  color: var(--acs-red);
}

.acs-contact-notes {
  margin-top: 28px;
  padding: 24px;
  background: var(--acs-soft);
  border: 1px solid var(--acs-line);
}

.acs-contact-notes h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 18px;
  line-height: 1.25;
}

.acs-contact-notes ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acs-contact-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--acs-muted);
  line-height: 1.55;
}

.acs-contact-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  background: var(--acs-red);
}

.acs-contact-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .08);
}

.acs-contact-form h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 2.5vw, 36px);
}

.acs-contact-alert {
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid;
  font-size: 14px;
  line-height: 1.45;
}

.acs-contact-alert-ok {
  color: #116038;
  background: #eefaf3;
  border-color: #b9e8c9;
}

.acs-contact-alert-err {
  color: #9d1f2a;
  background: #fff2f3;
  border-color: #f2bdc2;
}

.acs-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.acs-contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.acs-contact-form label span {
  display: block;
}

.acs-contact-form i {
  color: var(--acs-red);
  font-style: normal;
}

.acs-contact-form input,
.acs-contact-form select,
.acs-contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 13px;
  outline: none;
  box-shadow: none;
}

.acs-contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.acs-contact-form input:focus,
.acs-contact-form select:focus,
.acs-contact-form textarea:focus {
  border-color: var(--acs-red);
}

.acs-contact-field-full {
  grid-column: 1 / -1;
}

.acs-contact-form button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid var(--acs-red);
  background: var(--acs-red);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.acs-contact-form button:hover,
.acs-contact-form button:focus-visible {
  background: #c92b39;
  border-color: #c92b39;
  transform: translateY(-1px);
}

/* Harden the submit button — Rey/WooCommerce restyle bare <button type="submit"> with
   higher specificity, which can make it blend in. Force the ACS red button. */
.acs-contact .acs-contact-form button[type="submit"] {
  display: inline-flex !important;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--acs-red) !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-transform: uppercase;
  font-weight: 850;
  cursor: pointer;
}

.acs-contact .acs-contact-form button[type="submit"]:hover {
  background: #c92b39 !important;
}

/* Hidden honeypot — keep it out of view and out of the layout/tab order. */
.acs-contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hide the global footer's duplicate "Project inquiry" banner on the Contact page only
   (the page is itself the inquiry form; the banner links back to /contact). */
body.acs-contact-page .acs-footer-inquiry {
  display: none;
}

.acs-form-note {
  margin: 14px 0 0;
  color: var(--acs-muted);
  font-size: 13px;
  line-height: 1.45;
}

.acs-contact-paths {
  padding: clamp(54px, 8vw, 88px) 0;
  background: #f7f7f7;
}

.acs-contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: #ddd;
  border: 1px solid #ddd;
}

.acs-contact-card-grid article {
  min-height: 210px;
  padding: 26px 22px;
  background: #fff;
}

.acs-contact-card-grid h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 20px;
  line-height: 1.22;
}

.acs-contact-card-grid p {
  margin: 0;
  color: var(--acs-muted);
  line-height: 1.62;
}

.acs-contact-next {
  padding: clamp(56px, 8vw, 94px) 0;
  background: #fff;
}

.acs-contact-next .acs-contact-container {
  display: grid;
  grid-template-columns: .72fr minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.acs-contact-next ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acs-contact-next li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 17px 0;
  border-bottom: 1px solid var(--acs-line);
  color: var(--acs-muted);
  line-height: 1.55;
}

.acs-contact-next li:first-child {
  border-top: 1px solid var(--acs-line);
}

.acs-contact-next li span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .acs-contact-hero .acs-contact-container,
  .acs-contact-main-grid,
  .acs-contact-next .acs-contact-container {
    grid-template-columns: 1fr;
  }

  .acs-contact-hero-panel {
    max-width: 420px;
  }

  .acs-contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .acs-contact-container {
    width: min(100% - 28px, 1180px);
  }

  .acs-contact-hero {
    padding-top: 60px;
  }

  .acs-contact-main {
    padding-top: 42px;
  }

  .acs-contact-lines li,
  .acs-contact-fields,
  .acs-contact-card-grid {
    grid-template-columns: 1fr;
  }

  .acs-contact-lines li {
    gap: 8px;
  }

  .acs-contact-form {
    padding: 22px 16px;
    box-shadow: none;
  }

  .acs-contact-card-grid article {
    min-height: auto;
  }
}
