.contact-page { background: var(--paper); }
.contact-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(132deg, var(--forest-3) 0%, var(--forest) 58%, #084234 100%); color: var(--paper); }
.contact-hero::before { content: ""; position: absolute; right: -170px; bottom: -260px; width: 620px; height: 620px; border: 1px solid rgba(229,162,42,.15); border-radius: 50%; box-shadow: 0 0 0 24px rgba(229,162,42,.04), 0 0 0 48px rgba(229,162,42,.025); pointer-events: none; }
.contact-hero::after { content: ""; position: absolute; top: 0; right: 44%; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--amber), transparent); opacity: .72; pointer-events: none; }
.contact-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(400px, .82fr); align-items: stretch; gap: clamp(40px, 7vw, 104px); min-height: clamp(500px, 42vw, 650px); }
.contact-hero-copy { display: flex; flex-direction: column; justify-content: center; max-width: 660px; padding: clamp(55px, 7vw, 94px) 0; animation: contactCopyIn .82s var(--ease) both; }
.contact-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; color: rgba(255,255,255,.58); font-size: 11px; }
.contact-breadcrumbs a { transition: color .2s ease; }
.contact-breadcrumbs a:hover, .contact-breadcrumbs a:focus-visible { color: var(--amber); }
.contact-breadcrumbs span:last-child { color: rgba(255,255,255,.88); }
.contact-hero-copy .eyebrow { margin-bottom: 15px; }
.contact-hero-copy h1 { max-width: 690px; margin: 0; color: var(--paper); font-size: clamp(42px, 4.2vw, 69px); font-weight: 800; line-height: .99; letter-spacing: -.06em; text-transform: uppercase; }
.contact-hero-copy h1 span { display: block; color: var(--amber); }
.contact-hero-copy > p:not(.eyebrow) { max-width: 570px; margin: 23px 0 28px; color: rgba(255,255,255,.8); font-size: clamp(14px, .9vw, 17px); line-height: 1.67; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-hero-actions .button { min-height: 52px; }
.contact-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 560px; margin-top: 39px; }
.contact-hero-facts span { display: flex; flex-direction: column; gap: 5px; padding-left: 13px; border-left: 1px solid rgba(229,162,42,.63); }
.contact-hero-facts strong { color: var(--amber); font-size: 20px; line-height: 1; }
.contact-hero-facts small { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 700; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.contact-hero-media { position: relative; isolation: isolate; align-self: center; min-height: 420px; margin: 30px 0; overflow: hidden; animation: contactMediaIn 1s .12s var(--ease) both; }
.contact-hero-media::before { content: ""; position: absolute; inset: 0 0 17px 17px; z-index: 0; border: 1px solid rgba(229,162,42,.65); transform: translate(13px, 13px); }
.contact-hero-media img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 58% center; box-shadow: 0 24px 50px rgba(0,0,0,.24); clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
.contact-hero-caption { position: absolute; right: 22px; bottom: 23px; z-index: 2; max-width: 245px; padding: 16px 18px; border-left: 2px solid var(--amber); background: rgba(2,29,24,.86); box-shadow: 0 16px 30px rgba(2,29,24,.24); backdrop-filter: blur(8px); }
.contact-hero-caption strong, .contact-hero-caption small { display: block; }
.contact-hero-caption strong { color: var(--amber); font-size: 11px; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
.contact-hero-caption small { margin-top: 6px; color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.45; }

.contact-main { padding: clamp(74px, 8vw, 118px) 0; background: linear-gradient(180deg, #fff 0%, #f8faf8 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr); align-items: start; gap: clamp(40px, 7vw, 100px); }
.contact-form-card { position: relative; padding: clamp(30px, 4vw, 50px); border: 1px solid #dfe6e1; background: var(--paper); box-shadow: 0 22px 48px rgba(4,33,26,.08); scroll-margin-top: 154px; }
.contact-form-card::before { content: ""; position: absolute; top: -1px; right: 30px; left: 30px; height: 3px; background: linear-gradient(90deg, var(--amber), #f2b33b, var(--amber)); }
.contact-form-heading { max-width: 620px; margin-bottom: 29px; }
.contact-form-heading .eyebrow, .contact-sidebar-heading .eyebrow, .contact-section-heading .eyebrow { color: var(--amber-dark); }
.contact-form-heading h2, .contact-sidebar-heading h2, .contact-section-heading h2, .contact-process-copy h2 { margin: 0; color: var(--ink); font-size: clamp(29px, 3vw, 47px); font-weight: 800; line-height: 1.04; letter-spacing: -.055em; text-transform: uppercase; }
.contact-form-heading p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-form { display: grid; gap: 18px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d3ddd8; border-radius: 3px; padding: 13px 14px; outline: 0; background: #fbfcfa; color: var(--ink); font-size: 13px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber-dark) 50%), linear-gradient(135deg, var(--amber-dark) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; padding-right: 35px; }
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8a9690; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--amber); background: var(--paper); box-shadow: 0 0 0 3px rgba(229,162,42,.16); }
.contact-form-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-top: 3px; }
.contact-form-footer .button { min-height: 51px; }
.contact-form-footer > span { color: var(--muted); font-size: 11px; }
.contact-form-status { min-height: 20px; margin: 0; color: var(--forest-2); font-size: 12px; font-weight: 700; }
.contact-form-status.form-status--success { color: #176b4a; }
.contact-form-status.form-status--error { color: #a13b2f; }
.contact-sidebar { position: relative; padding: 5px 0 0; }
.contact-sidebar-heading { max-width: 420px; margin-bottom: 29px; }
.contact-sidebar-heading h2 { color: var(--paper); padding: 30px 31px 32px; background: linear-gradient(135deg, var(--forest-3), var(--forest)); box-shadow: 0 14px 30px rgba(4,33,26,.13); }
.contact-sidebar-heading .eyebrow { margin: 0; padding: 28px 31px 0; background: var(--forest-3); }
.contact-detail-list { display: grid; gap: 10px; }
.contact-detail { display: flex; align-items: center; gap: 15px; min-height: 86px; padding: 15px 16px; border: 1px solid #dfe6e1; background: var(--paper); color: var(--ink); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
a.contact-detail:hover, a.contact-detail:focus-visible { border-color: rgba(229,162,42,.72); box-shadow: 0 12px 24px rgba(4,33,26,.08); transform: translateX(4px); }
.contact-detail-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(229,162,42,.48); border-radius: 50%; background: #fff9ed; color: var(--amber-dark); }
.contact-detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail > span:nth-child(2) { min-width: 0; }
.contact-detail small, .contact-detail strong, .contact-detail em { display: block; }
.contact-detail small { margin-bottom: 3px; color: var(--amber-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail strong { overflow-wrap: anywhere; color: var(--ink); font-size: 15px; line-height: 1.2; }
.contact-detail em { margin-top: 4px; color: var(--muted); font-size: 11px; font-style: normal; }
.contact-detail-arrow { margin-left: auto; color: var(--amber-dark); font-size: 20px; line-height: 1; }
.contact-sidebar-note { margin-top: 17px; padding: 22px 23px 24px; border: 1px solid rgba(229,162,42,.26); background: #fffaf0; }
.contact-sidebar-note strong { color: var(--ink); font-size: 14px; }
.contact-sidebar-note p { margin: 9px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.contact-sidebar-note a { color: var(--amber-dark); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-sidebar-note a span { margin-left: 8px; font-size: 17px; vertical-align: -1px; }

.contact-location { padding: clamp(72px, 7.5vw, 108px) 0; background: var(--paper); }
.contact-location-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(42px, 7vw, 105px); }
.contact-location-copy { max-width: 500px; }
.contact-location-copy .eyebrow { color: var(--amber-dark); }
.contact-location-copy h2 { margin: 0; color: var(--ink); font-size: clamp(29px, 3vw, 47px); font-weight: 800; line-height: 1.04; letter-spacing: -.055em; text-transform: uppercase; }
.contact-location-copy > p:not(.eyebrow) { margin: 19px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.contact-location-address { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.contact-location-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid rgba(229,162,42,.48); border-radius: 50%; background: #fff9ed; color: var(--amber-dark); }
.contact-location-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.contact-location-address strong, .contact-location-address small { display: block; }
.contact-location-address strong { color: var(--ink); font-size: 14px; }
.contact-location-address small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.contact-location-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.contact-location-actions .button { min-height: 49px; }
.contact-map-frame { position: relative; min-height: 350px; padding: 0 0 15px 15px; }
.contact-map-frame::before { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 72%; border: 1px solid rgba(229,162,42,.62); pointer-events: none; }
.contact-map-frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 350px; border: 0; box-shadow: 0 20px 42px rgba(4,33,26,.13); filter: saturate(.82) contrast(1.02); }

.contact-services { padding: clamp(75px, 8vw, 112px) 0; background: var(--soft); }
.contact-section-heading { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.contact-section-heading h2 { margin-inline: auto; }
.contact-section-heading > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d5ded9; border-bottom: 1px solid #d5ded9; }
.contact-service-card { display: flex; flex-direction: column; min-height: 205px; padding: 25px 23px 22px; border-left: 1px solid #d5ded9; color: var(--ink); transition: background .25s ease, transform .25s var(--ease), border-color .25s ease; }
.contact-service-card:first-child { border-left: 0; }
.contact-service-card:hover, .contact-service-card:focus-visible { z-index: 1; background: var(--paper); box-shadow: 0 12px 30px rgba(4,33,26,.08); transform: translateY(-5px); }
.contact-service-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 31px; border: 1px solid rgba(229,162,42,.55); border-radius: 50%; color: var(--amber-dark); font-size: 11px; font-weight: 800; }
.contact-service-card > span:nth-child(2) { display: block; }
.contact-service-card strong, .contact-service-card small { display: block; }
.contact-service-card strong { color: var(--ink); font-size: 14px; line-height: 1.25; text-transform: uppercase; }
.contact-service-card small { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-service-arrow { margin-top: auto; align-self: flex-end; color: var(--amber-dark); font-size: 20px; line-height: 1; }

.contact-process { position: relative; overflow: hidden; padding: clamp(76px, 8vw, 112px) 0; background: linear-gradient(125deg, var(--forest-3), var(--forest-2)); color: var(--paper); }
.contact-process::after { content: ""; position: absolute; right: -135px; bottom: -220px; width: 470px; height: 470px; border: 1px solid rgba(229,162,42,.14); border-radius: 50%; box-shadow: 0 0 0 26px rgba(229,162,42,.04), 0 0 0 52px rgba(229,162,42,.02); pointer-events: none; }
.contact-process-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(48px, 8vw, 125px); }
.contact-process-copy .eyebrow { margin-bottom: 14px; }
.contact-process-copy h2 { color: var(--paper); }
.contact-process-copy > p:not(.eyebrow) { max-width: 460px; margin: 22px 0 0; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.75; }
.contact-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.contact-process-card { min-height: 190px; padding: 24px 19px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.045); transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.contact-process-card:hover, .contact-process-card:focus-within { border-color: rgba(229,162,42,.67); background: rgba(229,162,42,.08); transform: translateY(-4px); }
.contact-process-card > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-size: 10px; font-weight: 800; }
.contact-process-card h3 { margin: 22px 0 10px; color: var(--paper); font-size: 14px; line-height: 1.35; text-transform: uppercase; }
.contact-process-card p { margin: 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.65; }

@keyframes contactCopyIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes contactMediaIn { from { opacity: 0; transform: translateX(22px) scale(1.03); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 1040px) {
  .contact-hero-inner { grid-template-columns: minmax(0, .96fr) minmax(330px, .8fr); gap: 48px; }
  .contact-hero-copy h1 { font-size: clamp(39px, 4.5vw, 60px); }
  .contact-grid { gap: 48px; }
  .contact-process-inner { gap: 50px; }
  .contact-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-service-card:nth-child(3) { border-left: 0; border-top: 1px solid #d5ded9; }
  .contact-service-card:nth-child(4) { border-top: 1px solid #d5ded9; }
}

@media (max-width: 820px) {
  .contact-hero::after { display: none; }
  .contact-hero-inner { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .contact-hero-copy { max-width: 720px; padding: 52px 0 57px; }
  .contact-hero-media { width: 100%; min-height: 390px; height: 390px; margin: 0 0 25px; }
  .contact-hero-media img { min-height: 390px; }
  .contact-grid, .contact-process-inner { grid-template-columns: 1fr; }
  .contact-sidebar { max-width: 670px; }
  .contact-process-grid { max-width: 730px; }
  .contact-location-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-location-copy { max-width: 700px; }
}

@media (max-width: 560px) {
  .contact-hero-copy { padding-block: 42px 47px; }
  .contact-breadcrumbs { margin-bottom: 28px; font-size: 10px; }
  .contact-hero-copy h1 { font-size: clamp(35px, 10.6vw, 48px); }
  .contact-hero-copy > p:not(.eyebrow) { margin-block: 20px 24px; font-size: 13px; }
  .contact-hero-actions { display: grid; grid-template-columns: 1fr; }
  .contact-hero-actions .button { width: 100%; }
  .contact-hero-facts { gap: 10px; margin-top: 30px; }
  .contact-hero-facts { grid-template-columns: 1fr 1fr 1fr; }
  .contact-hero-facts span { padding-left: 8px; }
  .contact-hero-facts strong { font-size: 17px; }
  .contact-hero-facts small { font-size: 8px; letter-spacing: .02em; }
  .contact-hero-media { min-height: 292px; height: 292px; }
  .contact-hero-media img { min-height: 292px; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
  .contact-hero-caption { right: 14px; bottom: 15px; max-width: 205px; padding: 12px 13px; }
  .contact-hero-caption strong { font-size: 9px; }
  .contact-hero-caption small { font-size: 9px; }
  .contact-main, .contact-services, .contact-process { padding-block: 61px 70px; }
  .contact-location { padding-block: 61px 70px; }
  .contact-form-card { padding: 30px 21px 25px; scroll-margin-top: 125px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-form-heading h2, .contact-sidebar-heading h2, .contact-section-heading h2, .contact-process-copy h2 { font-size: 28px; }
  .contact-form-heading p:not(.eyebrow) { font-size: 13px; }
  .contact-form-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .contact-form-footer .button { width: 100%; }
  .contact-sidebar-heading h2 { padding-inline: 22px; padding-bottom: 25px; }
  .contact-sidebar-heading .eyebrow { padding-inline: 22px; padding-top: 23px; }
  .contact-detail { padding-inline: 12px; }
  .contact-detail strong { font-size: 13px; }
  .contact-detail em { font-size: 10px; }
  .contact-services-grid { grid-template-columns: 1fr; }
  .contact-service-card, .contact-service-card:nth-child(3), .contact-service-card:nth-child(4) { min-height: 166px; border-left: 0; border-top: 1px solid #d5ded9; }
  .contact-service-card:first-child { border-top: 0; }
  .contact-service-number { margin-bottom: 22px; }
  .contact-process-grid { grid-template-columns: 1fr; gap: 11px; }
  .contact-process-card { min-height: 0; padding: 20px 18px 21px; }
  .contact-process-card h3 { margin-top: 16px; }
  .contact-location-copy h2 { font-size: 28px; }
  .contact-location-copy > p:not(.eyebrow) { font-size: 13px; }
  .contact-location-actions { display: grid; grid-template-columns: 1fr; }
  .contact-location-actions .button { width: 100%; }
  .contact-map-frame { min-height: 260px; padding-left: 10px; padding-bottom: 10px; }
  .contact-map-frame iframe { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-copy, .contact-hero-media { animation: none; }
  .contact-detail, .contact-service-card, .contact-process-card { transition: none; }
}
