/* ToteWorks — shared styles (loaded by every page). Page-specific styles live in each page's <style>. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/archivo-black-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/caveat-ascii-700-normal.woff2') format('woff2'); }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #041D33; }
body { margin: 0; }

.sng-site, .sng-site * { margin: 0; padding: 0; box-sizing: border-box; }
.sng-site {
  --navy: #062B49; --navy-dark: #041D33;
  --orange: #FF5A00; --orange-light: #FF7A33; --orange-dark: #A63800;
  --cream: #EAF0F5; --steel: #5A6672; --slate: #4A5A68; --on-dark: #A8B2BA;
  --border-line: #D3DDE6;
  --green: #3B6D11; --greenbg: #EAF3DE; --amberbg: #FAEEDA; --amber: #854F0B;
  --btn-grad: linear-gradient(160deg, #FF8A47, #FF6A1A);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy); background: var(--cream); line-height: 1.6;
}
.sng-site h1, .sng-site h2, .sng-site h3 { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; letter-spacing: -0.5px; line-height: 1.05; color: inherit !important; }
.sng-site a { color: inherit; text-decoration: none; }
.sng-site .wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.sng-site img { max-width: 100%; }
.sng-site [id] { scroll-margin-top: 120px; }
.sng-site main:focus { outline: none; }

/* ---------- Accessibility helpers ---------- */
.sng-site .skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 4px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,0.3); transition: top 0.15s ease; }
.sng-site .skip-link:focus { top: 12px; }
.sng-site .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sng-site .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sng-site :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.sng-site header :focus-visible, .sng-site footer :focus-visible,
.sng-site .page-hero :focus-visible, .sng-site .pricing-bg :focus-visible, .sng-site .zip-checker :focus-visible { outline-color: #fff; }
.sng-site input:focus-visible, .sng-site select:focus-visible, .sng-site textarea:focus-visible { outline-offset: 1px; }

/* ---------- Header + navigation ---------- */
.sng-site header { background: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--orange); box-shadow: 0 4px 20px rgba(0,0,0,0.35); }
.sng-site .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 32px; max-width: 1160px; margin: 0 auto; }
.sng-site .logo-link { display: block; line-height: 0; border-radius: 4px; }
.sng-site .logo-mark { height: 64px; width: auto; display: block; }
.sng-site .site-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; }
.sng-site .site-nav a { color: var(--cream); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; transition: color 0.15s ease; }
.sng-site .site-nav a:hover { color: var(--orange-light); }
.sng-site .site-nav a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -3px 0 var(--orange); padding-bottom: 4px; }
.sng-site .site-nav a.nav-cta { background: var(--btn-grad); color: var(--navy); padding: 10px 22px; border-radius: 3px; font-weight: 700; box-shadow: 0 6px 16px rgba(232,99,31,0.35); }
.sng-site .site-nav a.nav-cta:hover { color: var(--navy); filter: brightness(1.06); }
.sng-site .menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 2px solid rgba(234,240,245,0.4); border-radius: 6px; color: var(--cream); cursor: pointer; }
.sng-site .menu-toggle svg { width: 24px; height: 24px; display: block; }
.sng-site .menu-toggle .icon-close { display: none; }
.sng-site .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.sng-site .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .sng-site .nav-inner { padding: 10px 20px; }
  .sng-site .logo-mark { height: 50px; }
  .sng-site .menu-toggle { display: inline-flex; }
  .sng-site .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-bottom: 3px solid var(--orange); box-shadow: 0 18px 30px rgba(0,0,0,0.35); }
  .sng-site .site-nav.is-open { display: block; }
  .sng-site .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 22px; }
  .sng-site .site-nav li a:not(.nav-cta) { display: block; padding: 16px 4px; font-size: 19px; border-bottom: 1px solid #14456B; }
  .sng-site .site-nav a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; padding-bottom: 16px; }
  .sng-site .site-nav li:last-child { margin-top: 18px; }
  .sng-site .site-nav a.nav-cta { display: block; text-align: center; padding: 15px 22px; font-size: 18px; }
  /* no-JS fallback: show the links inline instead of a dead hamburger */
  .no-js .sng-site .menu-toggle { display: none; }
  .no-js .sng-site .nav-inner { flex-wrap: wrap; }
  .no-js .sng-site .site-nav { display: block; position: static; width: 100%; background: none; border: 0; box-shadow: none; }
  .no-js .sng-site .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 8px; }
  .no-js .sng-site .site-nav li:last-child { margin-top: 0; }
  .no-js .sng-site .site-nav li a:not(.nav-cta) { border: 0; padding: 8px 0; font-size: 16px; }
}
@media (max-width: 420px) {
  .sng-site .wrap { padding: 0 20px; }
  .sng-site .logo-mark { height: 44px; }
}

/* ---------- Header extras: phone link, quick Order button (phones) ---------- */
.sng-site .nav-quick { display: none; align-items: center; gap: 8px; margin-left: auto; }
.sng-site .quick-call { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(234,240,245,0.4); border-radius: 6px; color: var(--cream); }
.sng-site .quick-call svg { width: 22px; height: 22px; display: block; }
.sng-site .quick-order { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 4px; background: var(--btn-grad); color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(232,99,31,0.35); }
.sng-site .nav-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sng-site .nav-phone svg { width: 18px; height: 18px; flex: none; display: block; }
@media (min-width: 881px) and (max-width: 1120px) {
  .sng-site .site-nav ul { gap: 20px; }
  .sng-site .nav-phone-num { display: none; }
  .sng-site .nav-phone { padding: 8px; border: 2px solid rgba(234,240,245,0.4); border-radius: 6px; }
}
@media (max-width: 880px) {
  .sng-site .nav-quick { display: inline-flex; }
  .sng-site .site-nav .nav-phone-li, .sng-site .site-nav .nav-cta-li { display: none; }
}
@media (max-width: 380px) {
  .sng-site .nav-inner { padding: 10px 12px; gap: 8px; }
  .sng-site .logo-mark { height: 36px; }
  .sng-site .nav-quick { gap: 6px; }
  .sng-site .quick-call { width: 42px; height: 42px; }
  .sng-site .quick-order { height: 42px; padding: 0 12px; font-size: 14px; }
  .sng-site .menu-toggle { width: 44px; height: 44px; }
}

/* ---------- Shared page hero (subpages) ---------- */
.sng-site .page-hero { background: linear-gradient(160deg, #0A3A5F 0%, #052840 60%, #031627 100%); color: var(--cream); padding: 64px 0 70px; }
.sng-site .page-hero h1 { font-size: 42px; margin-bottom: 12px; }
.sng-site .page-hero p { font-size: 17px; color: #D5DBE0; max-width: 600px; }
@media (max-width: 880px) { .sng-site .page-hero h1 { font-size: 32px; } .sng-site .page-hero { padding: 48px 0 52px; } }

/* ---------- Buttons ---------- */
.sng-site .btn { display: inline-block; padding: 15px 30px; border-radius: 3px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; border: 2px solid transparent; text-align: center; }
.sng-site .btn-primary { background: var(--btn-grad); color: var(--navy); box-shadow: 0 8px 20px rgba(232,99,31,0.35); transition: filter 0.15s ease, box-shadow 0.15s ease; }
.sng-site .btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(232,99,31,0.5); }
.sng-site button.btn { cursor: pointer; font-size: 16px; }
.sng-site .btn[disabled] { opacity: 0.7; cursor: wait; }

/* ---------- Forms (shared) ---------- */
.sng-site fieldset { border: 0; min-width: 0; }
.sng-site legend { padding: 0; }
.sng-site .form-msg { display: none; margin: 0 0 18px; padding: 14px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.sng-site .form-msg.show { display: block; }
.sng-site .form-msg.error { background: #FDE8E0; color: #7A2500; border: 1px solid #F0B9A0; }
.sng-site .form-msg a { text-decoration: underline; }
.sng-site .form-success { background: #fff; border: 1px solid var(--border-line); border-top: 6px solid var(--orange); border-radius: 10px; padding: 32px; max-width: 620px; margin: 0 auto; box-shadow: 0 10px 26px rgba(0,0,0,0.06); }
.sng-site .form-success h3 { font-size: 24px; margin-bottom: 10px; }
.sng-site .form-success p { font-size: 15px; margin-bottom: 12px; }
.sng-site .form-success[hidden], .sng-site form[hidden] { display: none; }
.sng-site .form-success:focus { outline: none; }
.sng-site .text-link { color: var(--orange-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.sng-site footer { background: var(--navy-dark); color: var(--on-dark); padding: 50px 0 30px; font-size: 14px; }
.sng-site .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.sng-site .footer-heading { font-family: 'Barlow Condensed', sans-serif !important; font-weight: 700 !important; letter-spacing: 1px !important; text-transform: uppercase; font-size: 14px; color: var(--cream) !important; margin-bottom: 16px; line-height: 1.3 !important; }
.sng-site .footer-grid ul { list-style: none; }
.sng-site .footer-grid li { padding: 5px 0; }
.sng-site .footer-grid a:hover { color: var(--orange-light); }
.sng-site .footer-grid a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.15s ease; }
.sng-site .footer-grid a:hover { text-decoration-color: currentColor; }
.sng-site .footer-logo-mark { height: 80px; width: auto; display: block; margin-bottom: 14px; }
.sng-site .footer-tag { max-width: 340px; color: var(--on-dark); margin-bottom: 6px; }
.sng-site .footer-contact { margin-top: 12px; }
.sng-site .footer-contact a { color: var(--cream); }
.sng-site .footer-bottom { border-top: 1px solid #0D3A5C; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 880px) {
  .sng-site .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sng-site .footer-logo-mark { height: 64px; }
}

/* ---------- Motion ---------- */
.sng-site .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .sng-site .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }
.sng-site .reveal.is-visible { opacity: 1; transform: none; }
.sng-site .reveal-delay-1.is-visible { transition-delay: 0.1s; }
.sng-site .reveal-delay-2.is-visible { transition-delay: 0.2s; }
.sng-site .reveal-delay-3.is-visible { transition-delay: 0.3s; }
.sng-site .reveal-delay-4.is-visible { transition-delay: 0.4s; }
.sng-site .reveal-delay-5.is-visible { transition-delay: 0.5s; }
.sng-site .reveal-delay-6.is-visible { transition-delay: 0.6s; }

/* Pulsing call-to-action: runs 3 times (under 5 seconds), then rests. */
.sng-site .site-nav a.nav-cta, .sng-site .hero .btn-primary { animation: sng-pulse 1.6s ease-out 1s 3; }
@keyframes sng-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,106,26,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(255,106,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,26,0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sng-site *, .sng-site *::before, .sng-site *::after { animation: none !important; transition: none !important; }
  .sng-site .reveal { opacity: 1 !important; transform: none !important; }
  .sng-site .price-card:hover, .sng-site .step:hover, .sng-site .case-card:hover,
  .sng-site .faq-item:hover, .sng-site .info-grid > div:hover, .sng-site .contact-info-grid > div:hover { transform: none !important; }
}

@media print {
  .sng-site header, .sng-site .skip-link { position: static; box-shadow: none; }
  .sng-site .reveal { opacity: 1 !important; transform: none !important; }
}

/* Order form: optional field + hint */
body.sng-site .field-hint { font-size: 13.5px; line-height: 1.5; color: var(--slate); margin: 8px 0 18px; max-width: 640px; }
body.sng-site label .opt { font-weight: 400; color: var(--slate); text-transform: none; letter-spacing: 0; }
