/* ============================================================
   Williams Lift Guide — Styles
   ============================================================ */

/* ---- Reset helpers ---- */
.wlg-page *, .wlg-form-wrap * { box-sizing: border-box; }

/* ---- Page wrapper ---- */
.wlg-page { max-width: 860px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1a1a1a; }

/* ---- Hero banners ---- */
.wlg-hero { padding: 52px 40px; border-radius: 12px; margin-bottom: 40px; color: #fff; }
.wlg-hero h1 { margin: 0 0 12px; font-size: 2rem; line-height: 1.2; }
.wlg-hero p  { margin: 0; font-size: 1.1rem; opacity: .9; }
.wlg-hero-teal   { background: #0f6e56; }
.wlg-hero-purple { background: #3c3489; }
.wlg-hero-amber  { background: #854f0b; }
.wlg-hero-green  { background: #3b6d11; }

/* ---- Content area ---- */
.wlg-content { padding: 0 8px; }
.wlg-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: #111; }
.wlg-content p  { font-size: 1rem; line-height: 1.7; color: #333; }
.wlg-content ul { padding-left: 1.5rem; }
.wlg-content ul li { margin-bottom: 8px; line-height: 1.6; color: #333; }
.wlg-intro { font-size: 1.1rem; border-left: 4px solid #534ab7; padding-left: 16px; color: #222; margin-bottom: 28px; }

/* ---- Card grid ---- */
.wlg-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.wlg-card { background: #f8f7ff; border: 1px solid #e0dff5; border-radius: 10px; padding: 20px 18px; }
.wlg-card strong { display: block; margin-bottom: 6px; font-size: .95rem; color: #3c3489; }
.wlg-card p { margin: 0; font-size: .9rem; color: #555; }

/* ---- Icon cards ---- */
.wlg-icon-card .wlg-icon { font-size: 1.8rem; margin-bottom: 10px; }

/* ---- Cost cards ---- */
.wlg-cost-grid { align-items: start; }
.wlg-cost-card { position: relative; text-align: center; }
.wlg-cost-card.wlg-featured { border: 2px solid #534ab7; background: #eeedfe; }
.wlg-cost-range { font-size: 1.4rem; font-weight: 700; color: #3c3489; margin-bottom: 6px; }
.wlg-badge { background: #534ab7; color: #fff; font-size: .75rem; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }

/* ---- Comparison table ---- */
.wlg-comparison-table { overflow-x: auto; margin: 20px 0 32px; }
.wlg-comparison-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wlg-comparison-table th,
.wlg-comparison-table td { padding: 11px 14px; border-bottom: 1px solid #e5e5e5; text-align: left; }
.wlg-comparison-table thead th { background: #f0f0f0; font-weight: 600; }
.wlg-comparison-table .wlg-col-b { background: #f3f1ff; }
.wlg-comparison-table thead .wlg-col-b { background: #3c3489; color: #fff; }

/* ---- CTA box ---- */
.wlg-cta-box { background: #f8f7ff; border: 1px solid #d0cdf5; border-radius: 12px; padding: 32px; text-align: center; margin: 40px 0 20px; }
.wlg-cta-box h3 { margin: 0 0 10px; font-size: 1.3rem; color: #3c3489; }
.wlg-cta-box p  { margin: 0 0 20px; color: #444; }
.wlg-cta-prominent { background: #3c3489; border-color: #3c3489; }
.wlg-cta-prominent h3, .wlg-cta-prominent p { color: #fff; }
.wlg-cta-prominent .wlg-btn { background: #fff; color: #3c3489; }
.wlg-cta-prominent .wlg-btn:hover { background: #eeedfe; }

/* ---- Buttons ---- */
.wlg-btn { display: inline-block; background: #534ab7; color: #fff; padding: 13px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: background .2s; }
.wlg-btn:hover { background: #3c3489; color: #fff; text-decoration: none; }
.wlg-btn-full { display: block; width: 100%; text-align: center; }
.wlg-btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ---- Lead form ---- */
.wlg-form-wrap { max-width: 560px; margin: 0 auto; }
.wlg-form-header { text-align: center; margin-bottom: 28px; }
.wlg-form-header h2 { font-size: 1.6rem; color: #1a1a1a; margin-bottom: 8px; }
.wlg-form-header p  { color: #555; }
.wlg-form { background: #fff; border: 1px solid #e0dff5; border-radius: 12px; padding: 32px; }
.wlg-form-row { margin-bottom: 18px; }
.wlg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wlg-field { display: flex; flex-direction: column; gap: 6px; }
.wlg-field label { font-size: .9rem; font-weight: 600; color: #333; }
.wlg-field label span { color: #c0392b; }
.wlg-field input,
.wlg-field textarea { border: 1px solid #ccc; border-radius: 6px; padding: 10px 12px; font-size: .95rem; width: 100%; transition: border-color .15s; }
.wlg-field input:focus,
.wlg-field textarea:focus { outline: none; border-color: #534ab7; box-shadow: 0 0 0 3px rgba(83,74,183,.15); }
.wlg-form-note { text-align: center; font-size: .82rem; color: #888; margin-top: 12px; }
@media (max-width: 500px) { .wlg-two-col { grid-template-columns: 1fr; } }

/* ---- Alerts ---- */
.wlg-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: .9rem; }
.wlg-alert-error { background: #fdecea; border: 1px solid #f5c6c2; color: #a62a21; }

/* ---- Thank you / redirect ---- */
.wlg-thankyou-wrap, .wlg-redirect-wrap { display: flex; justify-content: center; padding: 60px 20px; }
.wlg-thankyou-box, .wlg-redirect-box { background: #fff; border: 1px solid #e0dff5; border-radius: 14px; padding: 48px 40px; text-align: center; max-width: 480px; width: 100%; }
.wlg-check { font-size: 3rem; color: #3b6d11; margin-bottom: 12px; }
.wlg-countdown { color: #666; }
.wlg-spinner { width: 40px; height: 40px; border: 3px solid #e0dff5; border-top-color: #534ab7; border-radius: 50%; animation: wlg-spin .8s linear infinite; margin: 0 auto 20px; }
@keyframes wlg-spin { to { transform: rotate(360deg); } }

/* ---- Admin styles ---- */
.wlg-admin h1 { margin-bottom: 24px; }
.wlg-stats-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.wlg-stat-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px 24px; min-width: 140px; text-align: center; }
.wlg-stat-num { display: block; font-size: 2rem; font-weight: 700; color: #534ab7; }
.wlg-stat-label { display: block; font-size: .8rem; color: #666; margin-top: 4px; }
.wlg-export-card { background: #f0f0f0; }
.wlg-table { font-size: .9rem; }
.wlg-delete-btn { color: #c0392b; text-decoration: none; font-size: .85rem; }
.wlg-delete-btn:hover { text-decoration: underline; }
.wlg-empty { background: #f9f9f9; border: 1px dashed #ccc; border-radius: 8px; padding: 40px; text-align: center; color: #777; }
