/* Contact page polish layered after the shared portfolio theme. */
main {
  width: min(1320px, calc(100% - 36px));
  padding-bottom: 82px;
}

main .hero {
  width: min(1320px, 100%);
  min-height: 0;
  padding: clamp(86px, 10vw, 150px) clamp(44px, 7vw, 96px) clamp(52px, 7vw, 92px);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  color: #fff;
}

main .hero::before,
main .hero::after,
main .hero__content::before,
main .hero__content::after,
main .hero__background,
main .hero__shade {
  display: none !important;
  content: none !important;
}

main .hero__content {
  width: min(960px, 100%);
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

main .hero h1,
main .form-card h2,
main .side-panel h2,
main .service-area h2,
main .process-section h2,
main .final-cta h2 {
  color: #fff;
  font-family: "Barlow Condensed", "Barlow", "Trebuchet MS", sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 28px rgba(8, 38, 29, 0.72);
}

main .hero h1 {
  max-width: 880px;
  font-size: clamp(3.25rem, 7vw, 7rem);
  line-height: 0.86;
}

main .hero .lede,
main .form-note,
main .service-area p,
main .step-grid p,
main .side-panel p,
main .side-panel li,
main .map-card p,
main .final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 18px rgba(8, 38, 29, 0.68);
}

main .button--secondary,
main .button--on-dark {
  background: var(--gold) !important;
  border-color: rgba(255, 195, 107, 0.78) !important;
  color: var(--green-950) !important;
  box-shadow: 0 16px 38px rgba(255, 195, 107, 0.24);
}

main .quick-contact a,
main .quick-contact div,
main .form-card,
main .side-panel,
main .service-area,
main .process-section,
main .final-cta,
main .map-card,
main .step-grid article {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 30px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #fff;
}

main .quick-contact a,
main .quick-contact div,
main .form-card,
main .side-panel,
main .service-area,
main .process-section,
main .final-cta,
main .map-card,
main .step-grid article {
  padding: clamp(20px, 3vw, 30px);
}

main .quick-contact span,
main .quick-contact strong,
main .map-card span,
main .map-card strong,
main .step-grid span,
main .step-grid h3,
main label,
main legend {
  color: #fff;
}

main .quick-contact span,
main .map-card span,
main .step-grid span,
main .eyebrow {
  color: var(--gold);
}

main .quick-contact strong,
main .map-card strong {
  text-shadow: 0 2px 18px rgba(8, 38, 29, 0.68);
}

main .contact-layout,
main .service-area {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

main .contact-layout--form-only .form-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

main .service-area--copy-only {
  display: block;
}

main .service-area--copy-only > div {
  max-width: 1080px;
}

main #request-form {
  scroll-margin-top: clamp(170px, 18vw, 230px);
}

main .side-panel {
  align-self: start;
}

main .mini-cta {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  box-shadow: none !important;
}

main .mini-cta a {
  color: #fff;
}

main .service-shortcuts a {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

main .service-shortcuts a:hover {
  border-color: rgba(255, 195, 107, 0.72);
  color: var(--gold);
}

main fieldset {
  border-color: rgba(255, 255, 255, 0.28);
}

main input,
main textarea {
  background: rgba(255, 250, 240, 0.94);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

main .choice-grid label {
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

main .choice-grid label:focus-within {
  border-color: rgba(255, 195, 107, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 195, 107, 0.2);
}

main .choice-grid label:has(input:checked) {
  background: rgba(255, 195, 107, 0.9);
  border-color: rgba(255, 195, 107, 0.96);
  color: var(--green-950);
  box-shadow: 0 14px 34px rgba(8, 38, 29, 0.2);
}

main .choice-grid input {
  accent-color: var(--gold);
}

main .choice-grid label:has(input:checked) input {
  accent-color: var(--green-950);
}

main button {
  background: var(--gold);
  color: var(--green-950);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(255, 195, 107, 0.24);
}

@media (max-width: 700px) {
  main {
    width: min(100% - 20px, 1180px);
  }

  main .hero {
    padding: 58px 8px 34px;
  }

  main .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
}

/* Operation Clean Ridge: final contact overrides after the cleanup layer. */
main .hero h1,
main .form-card h2,
main .service-area h2,
main .process-section h2,
main .final-cta h2 {
  letter-spacing: 0;
}

main .quick-contact a,
main .quick-contact div,
main .form-card,
main .service-area,
main .process-section,
main .final-cta,
main .map-card,
main .step-grid article,
main .mini-cta,
main .choice-grid label {
  border-radius: 8px !important;
}

main .quick-contact a,
main .quick-contact div {
  min-height: 118px;
}

main .quick-contact {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

main .quick-contact span {
  margin-bottom: 20px;
}

main .contact-layout--form-only .form-card {
  max-width: 980px;
  margin-inline: auto;
  justify-self: center;
}

main .form-card {
  padding: clamp(24px, 4vw, 38px);
  background: rgba(8, 38, 29, 0.34) !important;
}

main #request-form {
  gap: 14px;
  scroll-margin-top: clamp(210px, 22vw, 280px);
}

main input,
main textarea {
  border-radius: 8px;
}

main input:focus,
main textarea:focus {
  border-color: rgba(255, 195, 107, 0.72);
  outline: 3px solid rgba(255, 195, 107, 0.24);
  outline-offset: 1px;
}

main fieldset {
  padding: 16px;
  border-radius: 8px;
}

main .choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

main .choice-grid label {
  align-items: center;
  min-height: 44px;
  padding: 9px 10px;
  line-height: 1.25;
}

main .choice-grid input {
  margin-top: 0;
}

main button {
  min-width: 190px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
}

main button:hover,
main button:focus-visible {
  background: #ffd28d;
}

main .step-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--gold);
  font-family: "Barlow Condensed", "Barlow", "Trebuchet MS", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 920px) {
  main .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  main .choice-grid {
    grid-template-columns: 1fr;
  }

  main button {
    width: 100%;
  }
}

/* Liquid Glass final contact polish: visual only, after cleanup overrides. */
main .quick-contact a,
main .quick-contact div,
main .form-card,
main .service-area,
main .process-section,
main .final-cta,
main .map-card,
main .step-grid article,
main .mini-cta,
main .choice-grid label {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05) 38%, rgba(255, 195, 107, 0.08)),
    rgba(18, 46, 42, 0.58) !important;
  box-shadow:
    0 22px 68px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.22) !important;
}

main .button,
main button {
  outline: 1px solid rgba(255, 255, 255, 0.34);
  outline-offset: -1px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.22) !important;
}

main .button--primary,
main button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 48%),
    var(--gold) !important;
}

.site-footer {
  display: grid !important;
  justify-content: stretch !important;
  gap: 6px !important;
  padding: 34px clamp(18px, 5vw, 64px) !important;
  color: #fff;
  background: rgba(8, 38, 29, 0.94) !important;
  text-align: left !important;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}
