.contact-hero { background: var(--night); color: var(--white); }
.contact-hero-inner { padding-block: clamp(42px, 6.4vw, 88px) clamp(39px, 5.2vw, 68px); }
.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: #dbe4ef;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contact-eyebrow::before { content: ''; width: 26px; height: 2px; background: #f1746c; }
.contact-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 6.2vw, 5.3rem);
  line-height: 1.01;
  letter-spacing: -.049em;
  text-wrap: balance;
}
.contact-hero-description { max-width: 66ch; margin-top: 19px; color: #dce6f2; font-size: clamp(1rem, 1.6vw, 1.12rem); }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.contact-hero :focus-visible { outline-color: #ff9e97; }

.contact-body { background: #f7f9fc; border-bottom: 1px solid var(--line); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .36fr);
  align-items: start;
  gap: clamp(24px, 4.8vw, 67px);
  padding-block: clamp(34px, 5vw, 70px);
}
.contact-request { min-width: 0; }
.contact-fields, .contact-step { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.contact-step legend, .contact-stores h2, .contact-result h2 {
  color: var(--ink);
  font: 700 clamp(1.4rem, 2.7vw, 2rem)/1.15 var(--display);
  letter-spacing: -.032em;
}
.contact-step legend { width: 100%; padding: 0; margin-bottom: 17px; }
.contact-step + .contact-step { margin-top: 29px; }
.contact-step + .contact-step legend { padding-top: 24px; border-top: 1px solid var(--line); }

.request-options, .contact-grid { display: grid; gap: 11px; }
.request-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.request-option {
  display: flex;
  min-height: 94px;
  align-items: start;
  gap: 9px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
}
.request-option strong { display: block; font-size: .91rem; line-height: 1.23; }
.request-option small { display: block; margin-top: 5px; color: var(--text); font-size: .79rem; line-height: 1.35; }
.request-option input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--red); }
.request-option:hover { border-color: #b9c8dc; }
.request-option:has(:checked) { border-color: var(--red); background: #fff8f7; color: var(--red-hover); box-shadow: inset 2px 0 var(--red); }
.request-option:has(:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.request-option input:focus-visible { outline: 0; }

.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.contact-routing { margin-top: 16px; }
.contact-grid .full-width { grid-column: 1 / -1; }
.contact-grid label { min-width: 0; font-size: .9rem; font-weight: 700; }
.contact-grid :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid #bac8da;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem var(--font);
}
.contact-grid textarea { min-height: 128px; resize: vertical; }
.contact-grid :is(select, textarea):focus-visible, .contact-equipment summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.contact-grid small, .contact-equipment small, .contact-attachments small, .contact-privacy, #contact-files-hint { color: var(--text); font-size: .84rem; font-weight: 400; }
#message-hint { display: block; margin-top: 5px; }

.contact-equipment, .contact-attachments { margin-top: 17px; border: 1px solid var(--line); background: var(--white); }
.contact-equipment summary { padding: 12px 15px; color: var(--ink); font-weight: 700; }
.contact-equipment summary::marker { color: var(--red); }
.contact-equipment[open] summary { border-bottom: 1px solid var(--line); }
.contact-equipment .contact-grid { padding: 15px; }
.contact-attachments { padding: 15px; }
.contact-attachment-label { display: block; font-weight: 700; }
#contact-files-hint { margin-top: 2px; }
.contact-file-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid #bac8da;
  border-radius: 2px;
  background: var(--soft);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
}
#contact-files { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.contact-file-picker:hover { background: #e3eaf3; }
.contact-file-picker:has(:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
#contact-file-list { display: grid; margin: 0; padding: 0; list-style: none; }
#contact-file-list:not(:empty) { margin-top: 9px; }
#contact-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .87rem; }
#contact-file-list span { overflow-wrap: anywhere; }
#contact-file-list button { min-height: 34px; padding: 0 6px; color: var(--red-hover); font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-website { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-privacy { max-width: 70ch; margin-block: 20px 13px; }
.contact-privacy a, .contact-result a { text-decoration: underline; text-underline-offset: 3px; }
.contact-error:not(:empty) { margin-top: 12px; color: var(--red-hover); font-weight: 700; }
.contact-fields:disabled { opacity: .65; }
.contact-result { padding: clamp(17px, 3vw, 28px); border: 1px solid #a8d2b9; border-inline-start: 3px solid #438d67; color: #155239; background: #edf9f1; }
.contact-result p { margin-block: 9px 12px; overflow-wrap: anywhere; }
.contact-result .button { border-color: #a8d2b9; background: var(--white); }
.contact-result a { font-weight: 700; }

.contact-aside { display: grid; gap: 23px; position: sticky; top: 23px; }
.contact-process { padding: clamp(17px, 2.7vw, 34px); background: var(--navy); color: var(--white); border-top: 3px solid var(--red); }
.contact-process h2, .contact-resources h2 { font: 700 clamp(1.14rem, 2vw, 1.55rem)/1.18 var(--display); letter-spacing: -.026em; }
.contact-process ol { display: grid; gap: 11px; padding-inline-start: 21px; margin: 15px 0 20px; color: #e0e8f2; font-size: .9rem; }
.contact-process li::marker { color: #ff9e97; font-weight: 700; }
.contact-process a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #ffffff30; padding-top: 13px; font-size: .87rem; font-weight: 700; }
.contact-process a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-process a:focus-visible { outline-color: #ff9e97; }
.contact-resources { display: grid; gap: 8px; padding: 0 0 17px; border-bottom: 1px solid var(--line); }
.contact-resources h2 { margin-bottom: 3px; }

.contact-stores { padding-block: clamp(38px, 5.1vw, 72px); }
.contact-stores h2 { margin-bottom: 18px; }
.contact-store-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 16px; padding: 1px; border-top: 2px solid var(--navy); background: var(--line); list-style: none; }
.contact-store-list li { min-width: 0; padding: clamp(13px, 2.65vw, 29px); background: var(--white); }
.contact-store-list h3 { margin: 0 0 5px; font-size: clamp(1rem, 1.65vw, 1.2rem); line-height: 1.25; overflow-wrap: anywhere; }
.contact-store-list address { color: var(--text); font-size: .9rem; font-style: normal; }
.contact-store-list a { display: inline-block; padding-block: 5px 2px; color: var(--red-hover); font-size: .87rem; font-weight: 700; }
.contact-store-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-store-list .contact-write { display: block; width: fit-content; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1110px) {
  .request-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 570px) {
  .contact-aside, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .request-option { min-height: 0; padding: 11px 9px; }
  .contact-store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 370px) {
  .request-options { grid-template-columns: minmax(0, 1fr); }
}
