/* Deming Enterprises – shared styles. Page layout lives inline in each page. */
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: #C8222F; }
a:hover { color: #9E1823; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #2F6FEB; outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #FFFFFF; color: #15181C; padding: 12px 16px; font-family: Inter, system-ui, sans-serif; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Contact form */
.contact-form { font-family: Inter, system-ui, sans-serif; color: #15181C; }
.contact-form p { margin: 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.contact-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 20px; }
.contact-form label { font-size: 15px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid #8C9097; border-radius: 0; background: #FFFFFF; color: #15181C; }
.contact-form textarea { resize: vertical; }
.contact-form button { font: inherit; font-size: 16px; font-weight: 600; min-height: 48px; padding: 14px 28px; border: 0; background: #C8222F; color: #FFFFFF; cursor: pointer; }
.contact-form button:hover { background: #9E1823; }
.contact-form .note { margin: 16px 0 0; font-size: 14px; color: #4D535B; }
.contact-form .hp { position: absolute; left: -9999px; }

/* Phones and small tablets */
@media (max-width: 760px) {
  header { position: static !important; }
  h1 { font-size: 52px !important; }
  h2 { font-size: 36px !important; }
  section > div { padding-top: 64px !important; padding-bottom: 64px !important; }
  #top { min-height: 620px !important; }
  img[style*="object-fit"] { height: auto !important; aspect-ratio: 4 / 3; }
  video[style*="height: 560px"] { height: auto !important; aspect-ratio: 16 / 9; }
  .contact-form { padding: 24px !important; }
}
