/* Works Group LLC — Production Concept C Stylesheet (Zero CDN Overhead) */
:root {
  --navy: #0B192C;
  --navy-light: #132844;
  --royal: #1D4ED8;
  --royal-hover: #1E40AF;
  --gold: #D97706;
  --gold-bright: #FBBF24;
  --crimson: #B91C1C;
  --green: #15803D;
  --green-hover: #166534;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-600: #475569;
  --slate-800: #1E293B;
  --white: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--slate-800); background: var(--white); }
body { margin: 0; overflow-x: hidden; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--slate-200); box-shadow: 0 2px 10px rgba(11,25,44,.06); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand-logo-link { display: inline-flex; align-items: center; max-width: 260px; }
.header-desktop-actions { display: none; align-items: center; gap: 14px; }
.phone-link { font-weight: 800; font-size: 1.05rem; color: var(--navy); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 0.92rem; border: none; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: var(--royal-hover); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #B45309; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-hover); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-sm { padding: 8px 13px; font-size: 0.85rem; }

.menu-toggle { background: var(--slate-100); border: 1px solid var(--slate-200); color: var(--navy); padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; }
.mobile-action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 0 10px; }
.mobile-action-bar .btn { width: 100%; padding: 9px 10px; font-size: 0.86rem; }

.desktop-nav { display: none; background: var(--navy); color: var(--white); }
.desktop-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { color: #E2E8F0; font-size: 0.86rem; font-weight: 600; padding: 11px 12px; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.nav-link:hover, .nav-link.active { color: var(--white); border-bottom-color: var(--gold-bright); }
.nav-link-storm { color: var(--gold-bright); font-weight: 700; }
.review-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--gold-bright); padding: 6px 10px; }

.mobile-menu { display: none; background: var(--navy); color: var(--white); padding: 10px 16px 16px; border-top: 1px solid rgba(255,255,255,.12); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #16325B 100%); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(11,25,44,.94) 0%, rgba(11,25,44,.84) 55%, rgba(11,25,44,.65) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 36px 0 32px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(217,119,6,.2); border: 1px solid rgba(251,191,36,.45); color: var(--gold-bright); font-size: 0.78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { margin: 0 0 12px; font-size: 1.95rem; line-height: 1.15; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hero-sub { margin: 0 0 18px; font-size: 1.02rem; color: #E2E8F0; max-width: 580px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; background: rgba(11,25,44,.72); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: 0.85rem; font-weight: 600; }
.trust-strip span { display: inline-flex; align-items: center; gap: 5px; }
.gold-star { color: var(--gold-bright); }

/* Quote Card */
.quote-card { background: var(--white); color: var(--slate-800); border-radius: 14px; padding: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.32); border-top: 4px solid var(--gold); }
.quote-card.pulse { box-shadow: 0 0 0 4px var(--gold-bright), 0 18px 40px rgba(0,0,0,.32); }
.quote-card h2 { margin: 0 0 4px; font-size: 1.25rem; color: var(--navy); }
.quote-card-sub { margin: 0 0 14px; font-size: 0.84rem; color: var(--slate-600); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.field input, .field select, .field textarea { width: 100%; padding: 9px 11px; border: 1.5px solid #CBD5E1; border-radius: 8px; font-size: 0.92rem; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); }
.form-note { font-size: 0.74rem; color: var(--slate-600); margin: 8px 0 0; line-height: 1.4; }
.form-status { display: none; margin-top: 12px; padding: 11px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; }
.form-status.ok { display: block; background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.form-status.err { display: block; background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* Brand Ribbon */
.brand-ribbon { width: 100%; background: var(--crimson); color: var(--white); text-align: center; padding: 9px 16px; font-size: 0.8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: var(--slate-50); }
.section-title { margin: 0 0 8px; font-size: 1.65rem; color: var(--navy); font-weight: 900; }
.section-lead { margin: 0 0 26px; color: var(--slate-600); max-width: 700px; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 8px rgba(11,25,44,.04); }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--navy); }
.card p { margin: 0 0 14px; font-size: 0.92rem; color: var(--slate-600); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.mobile-only { display: inline-flex; }

/* Gallery & Owner */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.photo-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.photo-wrap { aspect-ratio: 16/10; background: linear-gradient(135deg, #1E3A5F, #0B192C); position: relative; overflow: hidden; }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.photo-cap { padding: 12px 14px; font-size: 0.88rem; font-weight: 700; color: var(--navy); }

.owner-box { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--slate-200); border-radius: 14px; padding: 24px; }
.owner-photo { width: 180px; height: 180px; border-radius: 14px; object-fit: cover; background: var(--navy); margin: 0 auto; border: 3px solid var(--gold); }

/* Promise & Sister Banner */
.promise-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.promise-card { background: var(--white); border-left: 4px solid var(--royal); border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 8px rgba(11,25,44,.05); }
.sister-banner { background: var(--navy); color: var(--white); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; align-items: flex-start; border-left: 5px solid var(--gold); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: 10px; overflow: hidden; }
.faq-item summary { padding: 15px 18px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--royal); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 18px 16px; font-size: 0.92rem; color: var(--slate-600); border-top: 1px solid var(--slate-100); padding-top: 12px; }

/* Storm Map */
.storm-shell { background: var(--white); border: 1px solid var(--slate-200); border-radius: 14px; padding: 20px; }
.storm-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.storm-controls input { flex: 1; min-width: 220px; padding: 10px 12px; border: 1.5px solid #CBD5E1; border-radius: 8px; font-size: 0.95rem; }
.town-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { background: var(--slate-100); border: 1px solid var(--slate-200); color: var(--navy); padding: 6px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.chip:hover { background: var(--royal); color: var(--white); border-color: var(--royal); }
.map-loader { background: var(--slate-100); border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.map-loader-bar { height: 8px; background: var(--slate-200); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.map-loader-fill { height: 100%; width: 25%; background: var(--royal); transition: width .35s ease; }
#storm-map { width: 100%; height: 390px; border-radius: 10px; border: 1px solid var(--slate-200); background: #E2E8F0; }
.verdict-card { margin-top: 16px; padding: 18px; border-radius: 12px; border-left: 5px solid var(--gold); background: var(--slate-50); }
.verdict-high { border-left-color: #DC2626; background: #FEF2F2; }
.verdict-mod { border-left-color: #D97706; background: #FFFBEB; }
.verdict-low { border-left-color: #16A34A; background: #F0FDF4; }

/* Floating Quick-Text */
.fab-text { position: fixed; right: 16px; bottom: 16px; z-index: 45; background: var(--green); color: var(--white); border: none; border-radius: 999px; padding: 12px 18px; font-weight: 800; font-size: 0.9rem; box-shadow: 0 8px 24px rgba(21,128,61,.4); }
.text-drawer { display: none; position: fixed; right: 16px; bottom: 72px; z-index: 46; width: min(340px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--slate-200); border-radius: 14px; padding: 18px; box-shadow: 0 18px 42px rgba(11,25,44,.25); }
.text-drawer.open { display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 42px 0 26px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 26px; }
.footer-grid h4 { margin: 0 0 10px; color: var(--white); font-size: 0.98rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: #94A3B8; }

@media (min-width: 768px) {
  .header-desktop-actions { display: flex; }
  .menu-toggle, .mobile-action-bar, .mobile-only { display: none !important; }
  .desktop-nav { display: block; }
  .hero-content { grid-template-columns: 1.15fr 0.85fr; padding: 52px 0 48px; }
  .hero h1 { font-size: 2.55rem; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
  .owner-box { grid-template-columns: 200px 1fr; }
  .sister-banner { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
