.contact-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 36px; text-align: left; padding-block: 76px 60px; }
.contact-hero h1 { font-size: clamp(2.65rem,4.5vw,4.25rem); }
.contact-hero .p-lead { margin: 26px 0 0; max-width: 460px; }
.contact-hero .text-link { margin-top: 20px; }
.contact-art { position: relative; min-height: 400px; isolation: isolate; display: grid; place-items: center; }
.contact-art::before { content: ''; position: absolute; width: 90%; aspect-ratio: 1; background: radial-gradient(ellipse, #dbe9f9, #fff0 67%); z-index: -1; }
.contact-orbit { position: absolute; width: 92%; aspect-ratio: 1; border: 1px solid #d5e1ef; border-radius: 50%; transform: rotateX(58deg) rotate(-27deg); }
.contact-orbit.two { width: 108%; transform: rotateX(58deg) rotate(27deg); border-color: #e6edf6; }
.contact-envelope { position: relative; width: min(310px,75%); aspect-ratio: 1.35; border-radius: 20px; background: linear-gradient(140deg,#e6f0ff,#a9c9ef); transform: rotate(-9deg); box-shadow: 0 32px 54px #1645791a; }
.contact-envelope::after { content: ''; position: absolute; inset: 0; border-radius: inherit; clip-path: polygon(0 0,50% 61%,100% 0,100% 100%,0 100%); background: linear-gradient(145deg,#dceafb 20%,#f7fbff 54%,#bbd3ef); }
.contact-letter { position: absolute; inset: -38% 8% 16%; border: 1px solid #e1e9f1; border-radius: 12px; background: linear-gradient(150deg,#fff,#f4f8fd); padding: 25px; box-shadow: 0 2px 20px #1a3c6810; transform: rotate(4deg); }
.contact-letter > span { font-size: .5rem; letter-spacing: .15em; color: #778ca8; }
.contact-letter strong { display: block; font-size: 1.6rem; line-height: 1.4; letter-spacing: -.04em; margin-top: 20px; font-weight: 600; }
.contact-letter i { display: block; width: 75%; height: 4px; border-radius: 6px; background: #e2eaf4; margin-top: 16px; }
.contact-stamp { position: absolute; right: -14px; bottom: 30px; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; background: #096bdb; color: #fff; border: 5px solid #fff; border-radius: 20px; font-size: 1.8rem; transform: rotate(12deg); box-shadow: 0 12px 24px #1645791a; }
.contact-art-caption { position: absolute; bottom: 12px; font-size: .56rem; letter-spacing: .16em; color: #6e819a; }
.brief-section { margin-block: 62px 80px; border-radius: 30px; border: 1px solid #e4eaf2; background: #f8fafc; overflow: hidden; }
.brief-heading { padding: 42px 44px 30px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.brief-heading h2 { font-size: clamp(1.7rem,2.8vw,2.5rem); line-height: 1.3; letter-spacing: -.045em; margin-top: 12px; }
.brief-heading > p { max-width: 280px; font-size: .84rem; color: var(--muted); line-height: 1.9; }
.brief-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 0 44px 44px; }
.brief-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; align-content: start; }
.brief-fields label { display: flex; flex-direction: column; gap: 9px; color: #34475d; font-size: .82rem; font-weight: 550; min-width: 0; }
.brief-fields .full { grid-column: 1 / -1; }
.brief-fields select, .brief-fields input, .brief-fields textarea { width: 100%; min-width: 0; border: 1px solid #d3dce8; border-radius: 12px; padding: 13px 12px; background: #fff; color: #263b55; font-weight: 400; line-height: 1.6; }
.brief-fields textarea { resize: vertical; min-height: 115px; }
.brief-fields input::placeholder, .brief-fields textarea::placeholder { color: #7e8a99; }
.brief-note { color: #697a8d; font-size: .75rem; line-height: 1.85; }
.brief-preview { min-width: 0; border-radius: 20px; padding: 28px; background: #fff; border: 1px solid #e2e8f0; display: flex; flex-direction: column; box-shadow: 0 16px 42px #1d406a05; }
.brief-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e8edf4; padding-bottom: 18px; color: #728399; font-size: .63rem; letter-spacing: .08em; }
.brief-preview-top b { background: #eaf3ed; color: #357256; border-radius: 99px; padding: 5px 9px; font-size: .66rem; font-weight: 500; }
.brief-preview h3 { font-size: 1.2rem; letter-spacing: -.02em; margin: 24px 0 18px; }
.brief-output { font-family: inherit; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .87rem; line-height: 1.95; color: #4a5f77; margin: 0 0 28px; }
.brief-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.brief-actions .button { min-height: 46px; font-size: .8rem; padding: 12px 20px; }
.brief-actions .text-link { font-size: .8rem; }
.brief-status { min-height: 1.5em; color: #47657f; font-size: .76rem; margin-top: 12px; }
@media (max-width: 850px) {
  .contact-hero { gap: 12px; padding-top: 60px; }
  .contact-art { min-height: 340px; }
  .contact-letter { padding: 18px; }
  .contact-letter strong { font-size: 1.25rem; }
  .brief-heading { padding: 32px 28px 28px; }
  .brief-layout { padding: 0 28px 28px; gap: 28px; }
}
@media (max-width: 700px) {
  .contact-hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 30px; }
  .contact-hero .p-lead { margin-inline: auto; }
  .contact-art { width: min(380px,100%); min-height: 330px; margin: 24px auto 0; }
  .contact-envelope { width: 65%; }
  .contact-orbit.two { width: 95%; }
  .brief-heading { display: block; padding: 28px 23px; }
  .brief-heading > p { margin-top: 16px; max-width: none; }
  .brief-layout { grid-template-columns: 1fr; padding: 0 23px 23px; }
  .brief-preview { padding: 23px; }
  .brief-section { border-radius: 22px; margin-block: 42px 60px; }
  .brief-fields { gap: 18px 12px; }
}
@media (max-width: 360px) { .brief-fields { grid-template-columns: 1fr; } .brief-preview { padding: 20px; } .brief-layout { padding-inline: 16px; } }
.contact-art { overflow: clip; }
