.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.contact-page { background: white; }
.contact-intro { position: relative; overflow: hidden; padding: 92px 0; background: #fff; }
.contact-intro::before { content: ""; position: absolute; top: -170px; right: -90px; width: 500px; height: 500px; border: 1px solid rgba(183,122,43,.12); border-radius: 50%; }
.contact-details-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-detail { position: relative; min-width: 0; min-height: 310px; display: flex; flex-direction: column; padding: 28px 25px; border-right: 1px solid var(--border); background: white; transition: .3s; }
.contact-detail:first-child { border-left: 1px solid var(--border); }
.contact-detail:hover { z-index: 1; background: var(--sand); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.detail-icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: auto; border-radius: 18px; color: var(--bronze); background: rgba(183,122,43,.1); }
.detail-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.7; }
.detail-index { position: absolute; top: 33px; right: 25px; color: #9f958d; font: 700 13px/1.3 "Manrope",sans-serif; letter-spacing: .12em; }
.contact-detail h2 { margin: 28px 0 7px; font: 700 19px/1.3 "Manrope",sans-serif; }
.contact-detail p { overflow-wrap: anywhere; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-detail b { margin-top: 18px; color: var(--bronze); font: 700 13px/1.3 "Manrope",sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.service-detail:hover { transform: none; box-shadow: none; }

.contact-workspace { position: relative; overflow: hidden; background: var(--sand); }
.contact-workspace::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 420px; height: 420px; border: 1px solid rgba(183,122,43,.16); border-radius: 50%; }
.workspace-heading { position: relative; z-index: 1; margin-bottom: 42px; }
.workspace-heading .section-title { margin: 0; }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; }
.map-panel { position: relative; height: 670px; overflow: hidden; border-radius: var(--radius) 0 0 var(--radius); background: #ddd; box-shadow: var(--shadow-lg); }
.map-panel iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(.96); }
.map-address { position: absolute; top: 22px; left: 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; min-width: 250px; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.map-address span { grid-column: 1; color: var(--bronze); font: 700 13px/1.3 "Manrope",sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.map-address strong { grid-column: 1; font: 600 14px/1.5 "Manrope",sans-serif; }
.map-address b { grid-column: 2; grid-row: 1/3; align-self: center; color: var(--bronze); font-size: 22px; }
.contact-form { position: relative; min-height: 600px; margin-left: -16px; padding: 43px 46px; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: var(--shadow-lg); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.form-heading span { font: 700 20px/1.2 "Manrope",sans-serif; }
.form-heading p { margin: 0; color: #8d857f; font-size: 14px; line-height: 1.5; }
.form-field { display: grid; grid-template-columns: 30px 1fr; align-items: start; padding: 18px 0 12px; border-bottom: 1px solid var(--border); }
.field-icon { padding-top: 2px; color: var(--bronze); font: 700 15px/1 "Manrope",sans-serif; }
.form-field input, .form-field textarea { width: 100%; padding: 0; border: 0; outline: 0; color: var(--coal); background: transparent; font: 500 16px/1.55 "DM Sans",sans-serif; resize: vertical; }
.form-field textarea { min-height: 75px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a69e98; opacity: 1; }
.form-field:focus-within { border-color: var(--bronze); }
.contact-submit { margin-top: 31px; }

@media (max-width: 980px) {
    .contact-details-grid { grid-template-columns: repeat(2,1fr); }
    .contact-detail:nth-child(2) { border-right: 1px solid var(--border); }
    .contact-detail:nth-child(3), .contact-detail:nth-child(4) { border-top: 1px solid var(--border); }
    .contact-detail:nth-child(3) { border-left: 1px solid var(--border); }
    .contact-layout { grid-template-columns: 1fr; gap: 0; }
    .map-panel { height: 500px; border-radius: var(--radius) var(--radius) 0 0; }
    .contact-form { min-height: 0; margin: -18px 24px 0; border-radius: var(--radius); }
}

@media (max-width: 700px) {
    .contact-intro { padding: 64px 0; }
    .contact-details-grid { grid-template-columns: 1fr; }
    .contact-detail, .contact-detail:first-child, .contact-detail:nth-child(3) { min-height: 245px; border: 1px solid var(--border); border-bottom: 0; }
    .contact-detail:last-child { border-bottom: 1px solid var(--border); }
    .detail-icon { margin-bottom: 20px; }
    .contact-detail h2 { margin-top: 8px; }
    .workspace-heading .section-title { font-size: 37px; }
    .map-panel { height: 430px; }
    .map-address { top: 14px; left: 14px; min-width: 0; max-width: calc(100% - 28px); }
    .contact-form { margin: -14px 10px 0; padding: 31px 24px; }
    .form-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
    .contact-submit { width: 100%; }
}

@media (max-width: 390px) {
    .contact-form { margin-inline: 0; padding-inline: 20px; }
}
