/* Contact page */
.contact-page-shell { padding: 48px 0 82px; background: radial-gradient(circle at 78% 10%, rgba(200,121,63,.055), transparent 24%), var(--background); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(300px, .92fr); gap: 28px; align-items: start; }
.contact-main { min-width: 0; }
.contact-page-head { max-width: 860px; margin: 0 auto 28px; padding-inline: 18px; text-align: center; }
.contact-page-head .eyebrow { width: max-content; margin: 0 auto 8px; display: flex; align-items: center; gap: 12px; color: #b87536; font-size: 14px; }
.contact-page-head .eyebrow::before, .contact-page-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: #c98a4d; }
.contact-page-head h1 { margin: 0; color: var(--primary-dark); font-size: clamp(34px, 3.5vw, 50px); line-height: 1.28; letter-spacing: -.035em; }
.contact-page-head > p:not(.eyebrow) { max-width: 760px; margin: 16px auto 0; color: #5f625e; font-size: 16px; }
.contact-page-head > span { width: 70px; height: 2px; margin: 22px auto 0; display: block; border-radius: 999px; background: #c58a4b; }
.contact-form-card.form-card { padding: 46px 32px 28px; border: 1px solid rgba(15,59,51,.17); border-radius: 20px; background: rgba(255,255,255,.91); box-shadow: 0 18px 42px rgba(25,34,30,.1); }
.contact-form-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.contact-primary-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-choice-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-field { min-width: 0; gap: 10px; padding: 15px 16px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--primary-dark); background: rgba(255,255,255,.76); transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.contact-field:hover { border-color: #d4c5b3; }
.contact-field:focus-within { border-color: rgba(15,59,51,.48); background: #fff; box-shadow: 0 0 0 3px rgba(15,59,51,.07); }
.contact-field-label { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--primary-dark); font-size: 13px; font-weight: 800; }
.contact-ui-icon { width: 22px; height: 22px; flex: 0 0 22px; display: inline-grid; place-items: center; color: #bd7d3e; }
.contact-ui-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-field > input, .contact-field > select, .contact-field > textarea { min-width: 0; padding: 5px 0 0; border: 0; border-radius: 0; color: #3f4541; background: transparent; box-shadow: none; outline: 0; font-size: 13px; font-weight: 500; }
.contact-field > input::placeholder, .contact-field > textarea::placeholder { color: #9a9c98; opacity: 1; }
.contact-field > select { cursor: pointer; }
.contact-field-wide { margin-bottom: 16px; }
.contact-message-field textarea { min-height: 124px; line-height: 1.8; resize: vertical; }
.contact-selected-product { margin: 0 0 18px; padding: 12px; border-radius: 12px; background: var(--background); }
.contact-selected-product div { display: grid; }
.contact-selected-product small { color: var(--text-secondary); }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 20px; padding: 18px 20px; border-radius: 13px; background: linear-gradient(90deg, #f1f3ef, #f7f6f2); }
.contact-consent { min-width: 0; margin: 0; display: flex; align-items: center; gap: 8px; color: #31554d; font-size: 12px; font-weight: 600; }
.contact-consent input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--primary); }
.contact-consent .contact-ui-icon { color: var(--primary); }
.contact-submit { min-width: 190px; min-height: 50px; border-radius: 11px; box-shadow: 0 10px 24px rgba(9,43,37,.2); }
.contact-submit .contact-ui-icon { color: #fff; }
.contact-aside { position: sticky; top: 126px; overflow: hidden; padding: 34px 20px 20px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 50% 4%, rgba(30,91,79,.64), transparent 34%), linear-gradient(145deg, #0e463d, #08342d 68%, #0d4d42); box-shadow: 0 18px 42px rgba(9,43,37,.18); }
.contact-aside::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: repeating-radial-gradient(circle at 8% 30%, transparent 0 9px, rgba(222,177,113,.42) 10px 11px, transparent 12px 18px); mask-image: linear-gradient(135deg, #000, transparent 34%); pointer-events: none; }
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside-head { padding: 0 12px 24px; text-align: center; }
.contact-aside-head > .contact-ui-icon { width: 94px; height: 94px; margin: 0 auto 18px; padding: 23px; border: 1px solid rgba(225,181,116,.52); border-radius: 50%; color: #e1b574; background: rgba(255,255,255,.025); }
.contact-aside-head h2 { margin: 0; font-size: 23px; }
.contact-aside-head > span { width: 46px; height: 2px; margin: 14px auto; display: block; border-radius: 99px; background: #d39a53; }
.contact-aside-head p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.9; }
.contact-aside-list { padding: 12px 18px 18px; border-radius: 15px; color: var(--primary-dark); background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(5,29,24,.13); }
.contact-aside-list > a, .contact-aside-list > div:not(.contact-response-note) { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 4px; }
.contact-aside-list > * + *:not(.contact-response-note) { border-top: 1px solid var(--border); }
.contact-aside-list > a > .contact-ui-icon, .contact-aside-list > div > .contact-ui-icon { width: 42px; height: 42px; flex-basis: 42px; padding: 10px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #0e5a4d, #083a32); box-shadow: 0 6px 14px rgba(9,43,37,.16); }
.contact-aside-list span { min-width: 0; }
.contact-aside-list small, .contact-aside-list strong { display: block; }
.contact-aside-list small { color: var(--primary-dark); font-size: 12px; }
.contact-aside-list strong { overflow-wrap: anywhere; color: #666a66; font-size: 13px; font-weight: 600; }
.contact-aside-list > a:hover strong { color: var(--primary); }
.contact-response-note { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 11px; background: #faf9f6; }
.contact-response-note > .contact-ui-icon { width: 38px; height: 38px; flex-basis: 38px; padding: 5px; color: #c08a49; }
.contact-response-note strong { color: var(--primary-dark); }
.contact-response-note small { color: var(--text-secondary); line-height: 1.6; }
.contact-map-button { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: #fff; font-weight: 800; }
.contact-map-button .contact-ui-icon { color: #fff; }

@media (max-width: 1180px) {
    .contact-page-grid { grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr); gap: 20px; }
    .contact-primary-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-aside { position: relative; top: auto; }
}

@media (max-width: 640px) {
    .contact-page-shell { padding: 32px 0 60px; }
    .contact-page-head { padding-inline: 0; }
    .contact-page-head h1 { font-size: 32px; }
    .contact-form-card.form-card { padding: 24px 16px 18px; border-radius: 16px; }
    .contact-primary-fields, .contact-choice-fields { grid-template-columns: 1fr; }
    .contact-form-footer { align-items: stretch; flex-direction: column; padding: 16px; }
    .contact-submit { width: 100%; }
    .contact-aside { padding: 28px 14px 16px; border-radius: 16px; }
}
