:root {
  color-scheme: light;
  font-family: "Instrument Sans", Inter, Arial, sans-serif;
  color: #101d31;
  background: #edf2f8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #267cf4; outline-offset: 3px; }
.layout { display: grid; grid-template-columns: minmax(320px, 39%) minmax(0, 1fr); min-height: 100vh; }
.intro {
  min-height: 100vh; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column;
  justify-content: space-between; gap: clamp(36px, 8vh, 100px); padding: 49px clamp(28px, 5.2vw, 94px);
  color: #f6f9ff;
  background: radial-gradient(ellipse at 95% 91%, #17498b 0%, transparent 58%), linear-gradient(145deg, #0b1423 23%, #101e34 70%, #102541);
}
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background: repeating-linear-gradient(133deg, transparent 0 39px, #5f88bf38 39px 40px); mask-image: linear-gradient(145deg, transparent 35%, #000 100%); }
.intro > * { position: relative; z-index: 1; }
.logo { width: min(100%, 350px); height: auto; display: block; }
.location { display: flex; gap: 9px; align-items: center; color: #c7ddff; font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.location span { width: 8px; height: 8px; border-radius: 50%; background: #64b9ff; box-shadow: 0 0 16px #5aabff; }
h1 { font-size: clamp(2.65rem, 4.45vw, 5.2rem); line-height: 1; letter-spacing: -.075em; margin: 23px 0 25px; font-weight: 800; }
h1 em { color: #7bbaff; font-style: normal; }
.intro p { font-size: 1rem; line-height: 1.65; color: #c4d1e5; max-width: 385px; margin: 0 0 12px; }
.contact { display: flex; flex-direction: column; align-self: flex-start; border-top: 1px solid #819abb65; padding-top: 17px; gap: 7px; color: #f6f9ff; text-decoration: none; }
.contact > span { color: #c7ddff; font-size: .8rem; }
.contact strong { font-size: 1.1rem; letter-spacing: .015em; }
.contact strong span { color: #8ec7ff; padding-left: 8px; }
main { padding: clamp(24px, 4.2vw, 68px); }
.card { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid #dbe5ef; border-radius: 24px; box-shadow: 0 18px 65px #122a5310; padding: clamp(22px, 3.7vw, 58px); }
.form-intro { margin-bottom: 30px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.065em; margin: 0 0 12px; }
.form-intro p, .receipt p { line-height: 1.6; color: #4a5a70; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-weight: 750; font-size: 1.13rem; padding: 0; letter-spacing: -.025em; }
.hint { font-size: .84rem; color: #4f6076; margin: 6px 0 13px; }
.types, .services, .details { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.option { display: flex; gap: 10px; align-items: center; border: 1px solid #d9e3ee; border-radius: 11px; min-height: 46px; padding: 11px 12px; background: #f8fafc; cursor: pointer; font-size: .9rem; line-height: 1.35; transition: border-color .15s, background .15s; }
.option:hover { border-color: #8aadd8; }
.option:has(input:checked) { background: #eaf3ff; border-color: #236ac6; }
.option:has(input:focus-visible) { outline: 3px solid #267cf4; outline-offset: 2px; }
.option input { margin: 1px 0 0; flex: 0 0 17px; height: 17px; accent-color: #1759ba; }
.urgent { color: #9e3b16; }
.urgent-note { color: #743318; font-size: .85rem; margin: 11px 0 0; }
.services .option { align-items: flex-start; padding-block: 13px; }
.services strong { display: block; }
.services small { display: block; color: #4f6076; font-size: .8rem; margin-top: 4px; line-height: 1.45; }
.details { margin-top: 14px; gap: 13px 12px; }
.details label { font-size: .87rem; font-weight: 700; display: block; }
.details .optional { font-weight: 400; color: #556378; }
.details input, textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #cfdbe9; border-radius: 9px; background: #fff; padding: 11px 10px; font: inherit; font-weight: 400; font-size: 1rem; color: inherit; }
textarea { resize: vertical; min-height: 96px; }
.wide { grid-column: 1 / -1; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
button { width: 100%; background: #12499d; color: #fff; border: 0; border-radius: 10px; padding: 14px 17px; text-align: left; font: inherit; font-weight: 700; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
button:hover { background: #0d3778; }
button:disabled { opacity: .65; cursor: wait; }
button span { font-size: 1.2em; }
.privacy, footer { color: #52647b; font-size: .8rem; }
.privacy { margin: 10px 0 0; }
footer { max-width: 800px; margin: 17px auto 0; text-align: center; }
.error { color: #9b2b1b; margin: 9px 0 0; font-size: .88rem; }
.receipt { padding: 18px 0; }
.receipt-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; background: #dff1ff; color: #12499d; font-weight: 800; font-size: 1.5rem; }
.receipt .reference { margin: 18px 0; }
.reference strong { margin-left: 5px; color: #12499d; }
.receipt a { font-weight: 700; color: #12499d; }
@media (max-width: 970px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 740px) {
  .layout { display: block; }
  .intro { min-height: 0; position: relative; padding: 24px 24px 27px; gap: 23px; }
  .logo { width: min(100%, 270px); }
  h1 { margin: 13px 0 13px; }
  .intro p { font-size: .92rem; margin-bottom: 7px; }
  .contact { padding-top: 10px; gap: 3px; }
  main { padding: 14px 12px 25px; }
  .card { border-radius: 16px; }
}
@media (max-width: 375px) { .types, .details { grid-template-columns: 1fr; } }
