/* Homepage contact and footer. Static decoration keeps this section lightweight. */
#contact { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.contact-intro { max-width: 780px; margin-bottom: 38px; }
.contact-eyebrow { display: flex; align-items: center; gap: 10px; color: #1557b0; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.contact-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.contact-intro h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; max-width: 760px; margin-bottom: 18px; }
.contact-intro > p:last-child { max-width: 610px; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); border: 1px solid #dbe4ef; border-radius: 24px; background: #fff; box-shadow: 0 24px 70px -28px #153c7533; }
.contact-aside { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 32px; padding: clamp(28px, 3.2vw, 44px); border-radius: 23px 0 0 23px; background: linear-gradient(145deg, #102749, #123d78 72%, #1651a0); color: #fff; }
.contact-aside::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; bottom: -210px; right: -140px; border: 1px solid #90bfff40; border-radius: 50%; box-shadow: 0 0 0 42px #90bfff0a, 0 0 0 84px #90bfff08, 0 0 0 126px #90bfff06; pointer-events: none; }
.contact-aside-heading { display: flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #c1d9fb; }
.contact-aside-heading::before { content: "↗"; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ffffff36; border-radius: 50%; font-size: 1rem; }
.contact-aside h3 { color: #fff; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 600; margin: 20px 0 14px; }
.contact-aside p { color: #c7d8ee; font-size: .94rem; line-height: 1.65; }
.contact-methods { display: grid; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 12px; color: #fff; border: 1px solid #ffffff26; border-radius: 12px; padding: 15px 12px; background: #ffffff08; transition: background .2s, border-color .2s; min-width: 0; }
.contact-method:hover { color: #fff; background: #ffffff14; border-color: #ffffff70; }
.contact-method:focus-visible, .site-footer a:focus-visible, .site-footer summary:focus-visible { outline: 3px solid #8fbfff; outline-offset: 4px; }
.contact-method > span { min-width: 0; }
.contact-method small { display: block; color: #b8d0ee; font-size: .7rem; margin-bottom: 3px; }
.contact-method strong { display: block; font-size: .85rem; font-weight: 550; overflow-wrap: anywhere; }
.contact-icon { flex-shrink: 0; fill: none; stroke: #9dc5ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-aside .contact-location { font-size: .8rem; color: #b8d0ee; margin-top: 15px; }
.contact-next { margin-top: auto; padding-top: 25px; border-top: 1px solid #ffffff29; }
.contact-next h4 { font-size: .86rem; font-weight: 600; margin-bottom: 17px; }
.contact-next ol { list-style: none; display: grid; gap: 15px; counter-reset: next; }
.contact-next li { display: flex; align-items: baseline; gap: 14px; color: #d1e1f4; font-size: .85rem; }
.contact-next li::before { counter-increment: next; content: "0" counter(next); color: #83b4fa; font: .72rem ui-monospace, monospace; }
#contact-form { min-width: 0; padding: clamp(24px, 3.4vw, 46px); display: flex; flex-direction: column; gap: 20px; }
.contact-form-heading { margin-bottom: 5px; }
.contact-form-heading h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.025em; margin-bottom: 6px; }
.contact-form-heading p { color: var(--muted); font-size: .87rem; line-height: 1.6; }
#contact-form input:not([type="checkbox"]), #contact-form textarea { background: #f8fafc; border-color: #dce3ed; border-radius: 9px; font-size: 1rem; }
#contact-form input:focus, #contact-form textarea:focus { background: #fff; border-color: #1a73e8; }
#contact-form .form-group { min-width: 0; }
#contact-form textarea { min-height: 126px; }
.field-optional { color: #6d7684; font-size: .75rem; font-weight: 400; margin-left: 5px; }
.form-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 3px; }
.form-send .btn { border-radius: 10px; gap: 20px; padding: 14px 22px; font-weight: 600; box-shadow: 0 5px 16px #1a73e824; }
.form-send .btn::after { content: "↗"; font-size: 1.15rem; }
.form-send > p { font-size: .73rem; color: var(--muted); }
#contact-form .status { margin-top: 0; overflow-wrap: anywhere; }
#contact-form .status.pending { display: block; background: #e8f0fe; color: #174d94; border: 1px solid #ccdef8; }
.site-footer { position: relative; background: #0b172b; color: #fff; padding: 0; border-top: 1px solid #224a7d; }
.site-footer::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, transparent, #227bf0 35%, #94c3ff 65%, transparent); }
.footer-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 46px 0 34px; border-bottom: 1px solid #ffffff1c; }
.footer-statement { font-size: clamp(1.7rem, 3.5vw, 2.65rem); line-height: 1.2; font-weight: 550; letter-spacing: -.035em; max-width: 630px; }
.footer-back { display: inline-flex; align-items: center; gap: 14px; color: #c9d8ed; font-size: .8rem; flex-shrink: 0; }
.footer-back span:last-child { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff35; border-radius: 50%; font-size: 1.1rem; }
.footer-back:hover { color: #fff; }
.footer-back:hover span:last-child { background: #ffffff12; border-color: #95bff7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding: 38px 0 42px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-brand img { width: 40px; height: 36px; object-fit: contain; filter: brightness(1.65); }
.footer-brand strong { font-size: 1.4rem; letter-spacing: -.04em; line-height: 1; display: block; font-weight: 650; }
.footer-brand small { font-size: .76rem; color: #aebed5; display: block; margin-top: 5px; }
.footer-info > p { max-width: 290px; font-size: .87rem; color: #aebed5; line-height: 1.65; margin: 17px 0 15px; }
.footer-location { display: flex; align-items: center; gap: 7px; color: #849ab7; font-size: .76rem; }
.footer-location::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #64a3ff; }
.site-footer .footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-nav strong { font-size: .7rem; font-weight: 600; color: #8199b9; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.site-footer .footer-nav a { display: block; width: fit-content; padding: 6px 0; font-size: .87rem; color: #d1ddef; border-radius: 0; }
.site-footer .footer-nav a:hover { color: #8fbeff; background: transparent; }
.footer-bottom { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid #ffffff1c; padding: 24px 0; color: #9aafcb; }
.footer-bottom > small { font-size: .72rem; }
.footer-privacy { margin-left: auto; max-width: 520px; }
.footer-privacy summary { cursor: pointer; color: #b9cae0; font-size: .75rem; padding-block: 6px; }
.footer-privacy p { color: #aebed5; font-size: .8rem; line-height: 1.65; padding-top: 12px; }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .contact-aside { padding: 28px 24px; }
  #contact-form { padding: 30px 24px; }
  #contact-form .form-row { flex-direction: column; }
}
@media (max-width: 699px) {
  .contact-intro { margin-bottom: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .contact-aside { border-radius: 19px 19px 0 0; gap: 24px; }
  .contact-aside h3 { max-width: 360px; font-size: 1.8rem; }
  .contact-next { display: none; }
  .contact-methods { gap: 10px; }
  .contact-method { padding: 12px; }
  .contact-method strong { font-size: .86rem; }
  #contact-form { padding: 28px 24px; }
  .footer-topline { align-items: flex-start; padding-top: 34px; }
  .footer-back > span:first-child { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; padding-block: 30px; }
  .footer-info { grid-column: 1 / -1; }
  .footer-info > p { max-width: 360px; }
  .footer-bottom { gap: 8px 20px; }
  .footer-privacy { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 359px) {
  .contact-aside, #contact-form { padding: 24px 20px; }
  .contact-method { gap: 9px; padding-inline: 9px; }
  .contact-method strong { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-method { transition: none; }
}
