/* 45Z Pros — site styles. Most layout lives inline in index.html; this file holds
   page basics, hover/focus states, form fields and the mobile breakpoint. */

html { scroll-behavior: smooth; }
body { margin: 0; background: #FBFAF7; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

.zp a { color: #A8322D; }
.zp a:hover { color: #8E2F2A; }
.zp :focus-visible { outline: 3px solid #A8322D; outline-offset: 2px; }

.zp-btn { transition: background-color .15s ease; }
.zp-btn:hover { background-color: #8E2F2A !important; color: #FFFFFF !important; }
.zp-btn:disabled { opacity: .7; cursor: wait !important; }
.zp-navlink:hover { color: #FFFFFF !important; text-decoration: underline !important; text-underline-offset: 6px; }

/* Callback form */
.zp-label { display: block; font-size: 15px; line-height: 20px; font-weight: 700; margin-bottom: 8px; }
.zp-field {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: inherit; font-size: 17px; line-height: 24px; color: #1F2F4A;
  background: #FFFFFF; border: 1.5px solid #C9C1AE; border-radius: 6px;
}
.zp-field[aria-invalid="true"] { border-color: #A8322D; }
.zp-input:focus { outline: 3px solid rgba(168, 50, 45, .35); outline-offset: 0; border-color: #1F2F4A; }
.zp-err { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: #A8322D; font-weight: 600; }
#callback-success:not([hidden]) { display: flex; }

/* Phones and narrow tablets */
@media (max-width: 780px) {
  .zp-nav { display: none !important; }
  .zp-hdr { padding-left: 16px !important; padding-right: 16px !important; }
  .zp-hdrbtn { padding: 10px 16px !important; font-size: 14px !important; }
  .zp-sec { padding: 56px 20px !important; }
  .zp-h1 { font-size: 40px !important; line-height: 44px !important; }
  .zp-h2 { font-size: 30px !important; line-height: 36px !important; }
  .zp-sub { font-size: 20px !important; line-height: 28px !important; }
  .zp-pad { padding: 28px 22px !important; }
}
