/* Made by site/home-contact.py from site.css (the contact rules, as is) for the home page, which does not load
   site.css. Do not edit: edit site.css and run python3 site/home-contact.py. The colours below are the
   site.css ones the rules use; the home page has its own --grad/--muted, so they are set on .contact only. */
.contact { --blue: #667eea; --purple: #764ba2; --link: #9fb0ff; --muted: #b8b8b8;
  --grad: linear-gradient(135deg, var(--blue), var(--purple)); text-align: center; padding-inline: var(--pad); }
#contact { scroll-margin-top: 64px; } /* under the home top menu, 63 px high */
/* Contact form (owner, 30.09): shared block before the footer on every page except home — look of the old About page. */
main > section.contact { padding-top: 90px; }
.contact h2 { font-size: 2.5em; font-weight: 700; line-height: 1.2; margin-bottom: 40px; }
.contact-form {
  max-width: 600px; margin: 0 auto; padding: 40px; text-align: left; border-radius: 20px;
  background: linear-gradient(135deg, rgb(102 126 234 / .05), rgb(118 75 162 / .05)); border: 1px solid rgb(102 126 234 / .2);
}
.contact-field { margin-bottom: 20px; }
.contact-field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .95em; font-weight: 500; }
.contact-field input, .contact-field textarea {
  width: 100%; padding: 15px 20px; border-radius: 10px; font: inherit; font-size: 16px; color: #fff;
  background: rgb(255 255 255 / .05); border: 1px solid rgb(102 126 234 / .3); transition: border-color .3s, box-shadow .3s;
}
.contact-field textarea { min-height: 120px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 20px rgb(102 126 234 / .3); }
.contact-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-send {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 10px;
  padding: 16px 40px; border: 0; border-radius: 50px; cursor: pointer; font: inherit; font-size: 1.1rem; font-weight: 600; color: #fff;
  background: var(--grad); box-shadow: 0 10px 30px rgb(102 126 234 / .3); transition: transform .3s, box-shadow .3s;
}
.contact-send:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgb(102 126 234 / .4); }
.contact-send:disabled { opacity: .7; cursor: default; transform: none; }
.contact-status { margin-top: 15px; padding: 12px; border-radius: 10px; text-align: center; font-weight: 500; }
.contact-status.ok { color: var(--link); background: rgb(102 126 234 / .1); border: 1px solid rgb(102 126 234 / .3); }
.contact-status.bad { color: #ff8a8a; background: rgb(234 102 102 / .1); border: 1px solid rgb(234 102 102 / .3); }
.contact-alt { margin-top: 18px; text-align: center; }
.contact-alt a { color: var(--link); }
.contact-status a { color: var(--link); text-decoration: underline; }
@media (max-width: 992px) { .contact h2 { font-size: 2em; } }
@media (max-width: 768px) { main > section.contact { padding-top: 60px; } .contact-form { padding: 26px 18px; } }
@media (prefers-reduced-motion: reduce) { .contact-send { transition: none; } .contact-send:hover { transform: none; } }
