/* NJ Book Services: navy ink, antique gold and warm ivory. */
:root {
  --primary: #17344e;
  --primary-hover: #254b6b;
  --primary-dark: #10283f;
  --primary-light: #f1eadb;
  --accent-gold: #b6975b;
  --accent-warm: #b6975b;
  --bg-slate: #f7f5ef;
  --bg-dark: #0e2032;
  --bg-soft: #f7f5ef;
  --text-dark: #10283f;
  --text-muted: #5d6b79;
  --text-light: #faf8f2;
  --border-light: #e5dcca;
  --page-bg: #f7f5ef;
  --header-bg: #faf8f2;
  --nav-text: #10283f;
  --soft-gray: #f7f5ef;
  --form-bg: #f1eadb;
  --green-btn: #17344e;
  --green-btn-2: #254b6b;
  --text-main: #10283f;
}
body {
  background-color: #f7f5ef;
}
.site-header,
.mobile-drawer {
  background: #faf8f2;
}
.top-notice-bar,
.site-footer {
  background: #0e2032;
}
.header-actions .btn {
  background: #17344e;
  border-color: #17344e;
  color: #fff;
}
.header-actions .btn:hover {
  background: #254b6b;
}
.nav-links > li > a.active {
  color: #17344e;
  border-bottom-color: #b6975b;
}
.section-eyebrow,
.form-eyebrow,
.hero-badge {
  color: #8d6d34;
}
.hero-title {
  color: #10283f;
}
.hero-title .highlight {
  color: #a07b3d;
}
.hero-primary,
.btn-accent {
  background: #d4b879;
  color: #10283f;
  border-color: #b6975b;
}
.hero-primary:hover,
.btn-accent:hover {
  background: #c7a65f;
  color: #10283f;
}
.hero-form .form-submit-row .btn {
  background: #17344e;
  border-color: #17344e;
  color: #fff;
}
.hero-form .form-submit-row .btn:hover {
  background: #254b6b;
}
.hero-form .consent-label a {
  color: #17344e;
}
.service-icon-box,
.distributor-icon {
  color: #9a773a;
  background: #f1eadb;
}
.stars-rating {
  color: #b6975b;
}
.work-visual-card,
.promo-quote-card,
.modal-card {
  background: #10283f;
}
.a-plus-box {
  background: transparent;
}
.a-plus-box > div {
  min-width: 0;
}
.a-plus-box h2 {
  color: #faf8f2;
}
.a-plus-heading-accent {
  color: #d4b879;
}
.a-feature-pill svg {
  color: #d4b879;
  flex-shrink: 0;
}
.a-plus-box .btn-primary {
  background: #d4b879;
  border-color: #b6975b;
  color: #10283f;
}
.a-plus-box .btn-primary:hover {
  background: #c7a65f;
}
.cta-banner-strip {
  background: #17344e;
}
.cta-banner-strip h3,
.cta-banner-strip p {
  color: #faf8f2;
}
.footer-links-list a:hover,
.footer-contact-item svg {
  color: #d4b879;
}
.site-footer .color-primary {
  color: #d4b879;
}
.site-header a:focus-visible,
.site-header button:focus-visible,
.hero-section a:focus-visible {
  outline-color: #b6975b;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #b6975b;
  outline-offset: 2px;
}
::selection {
  background: #e6d7b5;
  color: #10283f;
}

/* Readable quote dialog on the navy surface. */
#quoteModal .modal-card {
  border: 1px solid #536271;
}
#quoteModal .section-eyebrow {
  color: #d4b879;
}
#modalTitle {
  color: #fffaf0;
  font-size: 1.8rem;
  margin: 10px 0;
  line-height: 1.25;
}
#quoteModal .modal-description {
  color: #c5d0da;
  font-size: 0.9rem;
  line-height: 1.65;
}
.modal-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#quoteModal .form-field {
  min-width: 0;
}
#quoteModal .form-field label {
  color: #e6edf3;
}
#quoteModal input,
#quoteModal select,
#quoteModal textarea {
  width: 100%;
  min-width: 0;
}
#quoteModal textarea {
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid #d5dce2;
  border-radius: 8px;
  background: #fff;
  color: #10283f;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
  resize: vertical;
}
#quoteModal button[type="submit"] {
  background: #d4b879;
  border-color: #d4b879;
  color: #10283f;
  box-shadow: none;
  white-space: normal;
}
#quoteModal button[type="submit"]:hover {
  background: #e2c98f;
}
#quoteModal .modal-close-btn {
  color: #e5dcca;
  width: 32px;
  height: 32px;
}
#quoteModal .modal-close-btn:hover {
  color: #fff;
  background: #ffffff12;
  border-radius: 50%;
}
#quoteModal button:focus-visible {
  outline: 2px solid #d4b879;
  outline-offset: 3px;
}
@media (max-width: 540px) {
  .modal-field-row {
    grid-template-columns: 1fr;
  }
  #quoteModal .modal-card {
    padding: 48px 22px 26px;
  }
  #modalTitle {
    font-size: 1.5rem;
  }
}
