/* AHQS Conversion Enhancement System — 2026
   Lead capture forms, email-gated downloads, assessment tool,
   social share, related guides, newsletter signup.
   Requires: assets/ahqs-conversion.css loaded before this. */

/* ===== LEAD CAPTURE FORM (Email Gate) ===== */
.ahqs-lead-gate{max-width:560px;margin:32px auto;padding:28px;border:1px solid #dce6eb;border-radius:20px;background:linear-gradient(145deg,#fff,#f4faf9);box-shadow:0 12px 32px rgba(7,31,59,.08)}
.ahqs-lead-gate.ahqs-lead-inline{margin:24px 0}
.ahqs-lead-gate h3{margin:0 0 6px;color:#071f3b;font-size:1.2rem;font-weight:850}
.ahqs-lead-gate p.ahqs-gate-desc{color:#5b6d7d;font-size:.94rem;line-height:1.6;margin:0 0 16px}
.ahqs-lead-form{display:grid;gap:10px}
.ahqs-lead-form .ahqs-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:560px){.ahqs-lead-form .ahqs-field-row{grid-template-columns:1fr}}
.ahqs-lead-form label{display:block;font-weight:800;font-size:.78rem;color:#071f3b;margin-bottom:4px}
.ahqs-lead-form input,.ahqs-lead-form select{width:100%;border:1px solid #cbd9e1;border-radius:10px;padding:11px 13px;font:inherit;color:#173047;background:#fbfdfe;transition:border-color .2s}
.ahqs-lead-form input:focus,.ahqs-lead-form select:focus{border-color:#087f83;outline:none;box-shadow:0 0 0 3px rgba(8,127,131,.1)}
.ahqs-lead-form .ahqs-consent{display:flex;align-items:flex-start;gap:8px;font-size:.82rem;color:#5b6d7d;line-height:1.5}
.ahqs-lead-form .ahqs-consent input{width:18px;min-width:18px;margin-top:2px;accent-color:#d7a72d}
.ahqs-lead-form .btn{margin-top:4px;width:100%}
.ahqs-lead-success{display:none;padding:16px;border-radius:14px;background:#eaf7f7;border:1px solid #b8e6e4;color:#075f63;font-weight:700;text-align:center}
.ahqs-lead-success.ahqs-show{display:block}
.ahqs-lead-success small{display:block;color:#5b6d7d;font-weight:400;margin-top:6px;font-size:.85rem}
.ahqs-lead-note{font-size:.76rem;color:#8595a3;margin-top:10px;text-align:center}
.ahqs-lead-sidebar{position:sticky;top:90px}

/* ===== ASSESSMENT TOOL ===== */
.ahqs-assessment{max-width:760px;margin:0 auto;padding:32px;border:1px solid #dce6eb;border-radius:24px;background:#fff;box-shadow:0 16px 40px rgba(7,31,59,.07)}
.ahqs-assessment-intro{text-align:center;margin-bottom:24px}
.ahqs-assessment-intro h3{font-size:1.4rem;color:#071f3b;margin:0 0 8px;font-weight:850}
.ahqs-assessment-intro p{color:#5b6d7d;font-size:.96rem;line-height:1.6;margin:0 0 12px}
.ahqs-assessment-type{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px}
@media(max-width:620px){.ahqs-assessment-type{grid-template-columns:1fr 1fr}}
.ahqs-assessment-type-btn{appearance:none;border:1px solid #cfdde2;border-radius:12px;background:#fff;color:#071f3b;padding:12px 8px;font:inherit;font-size:.88rem;font-weight:800;cursor:pointer;transition:.2s;text-align:center}
.ahqs-assessment-type-btn[aria-selected="true"]{background:linear-gradient(145deg,#071f3b,#0a5560);color:#fff;border-color:#0a6f76}
.ahqs-assessment-type-btn:hover{border-color:#5bb4b0;transform:translateY(-1px)}
.ahqs-assessment-questions{display:none}
.ahqs-assessment-questions.ahqs-show{display:block}
.ahqs-assessment-q{display:none;padding:18px;border:1px solid #dce6eb;border-radius:16px;background:#f7fbfc;margin-bottom:12px}
.ahqs-assessment-q.ahqs-active{display:block}
.ahqs-assessment-q h4{color:#071f3b;font-size:1.05rem;font-weight:800;margin:0 0 14px}
.ahqs-assessment-options{display:grid;gap:8px}
.ahqs-assessment-opt{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #cbd9e1;border-radius:10px;background:#fff;cursor:pointer;transition:.2s;font-size:.94rem;font-weight:700;color:#29475e}
.ahqs-assessment-opt:hover{border-color:#087f83;background:#f0fbfa}
.ahqs-assessment-opt input{width:18px;min-width:18px;accent-color:#d7a72d}
.ahqs-assessment-nav{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
.ahqs-assessment-nav .btn{min-width:120px}
.ahqs-assessment-progress{height:8px;border-radius:99px;background:#e6edf0;overflow:hidden;margin-bottom:20px}
.ahqs-assessment-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#087f83,#d7a72d);transition:width .3s ease}
.ahqs-assessment-result{display:none;text-align:center;padding:24px;border-radius:18px;background:linear-gradient(145deg,#f8fbfc,#f0f8f8);border:1px solid #dce6eb}
.ahqs-assessment-result.ahqs-show{display:block}
.ahqs-assessment-score{font-size:3rem;font-weight:900;color:#071f3b;line-height:1;margin-bottom:8px}
.ahqs-assessment-score-label{font-size:1.1rem;font-weight:800;color:#087f83;margin-bottom:16px}
.ahqs-assessment-gaps{max-width:500px;margin:16px auto;text-align:left}
.ahqs-assessment-gaps h4{color:#071f3b;font-size:1rem;margin:0 0 8px;text-align:center}
.ahqs-assessment-gaps ul{list-style:none;padding:0;margin:0}
.ahqs-assessment-gaps li{padding:8px 0;border-bottom:1px solid #dce6eb;font-size:.92rem;color:#526577}
.ahqs-assessment-gaps li:last-child{border:0}
.ahqs-assessment-gaps li:before{content:'⚠';color:#d7a72d;margin-right:8px;font-weight:900}

/* ===== DOWNLOAD CARDS ===== */
.ahqs-download-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}
@media(max-width:900px){.ahqs-download-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ahqs-download-grid{grid-template-columns:1fr}}
.ahqs-download-card{position:relative;padding:24px;border:1px solid #dce6eb;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(7,31,59,.05);transition:transform .2s,box-shadow .2s}
.ahqs-download-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(7,31,59,.1)}
.ahqs-download-card .ahqs-download-icon{width:44px;height:44px;border-radius:12px;background:#eaf7f7;color:#087f83;display:grid;place-items:center;font-size:20px;margin-bottom:14px}
.ahqs-download-card h3{margin:0 0 6px;color:#071f3b;font-size:1.05rem;font-weight:850}
.ahqs-download-card p{margin:0 0 14px;color:#5b6d7d;font-size:.9rem;line-height:1.55}
.ahqs-download-card .ahqs-download-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:10px;background:linear-gradient(135deg,#d8a72b,#f0cb67);color:#071f3b;font-weight:850;font-size:.88rem;text-decoration:none;cursor:pointer;border:none;transition:.2s}
.ahqs-download-card .ahqs-download-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(216,167,43,.25)}

/* ===== NEWSLETTER SIGNUP ===== */
.ahqs-newsletter{max-width:640px;margin:24px auto;padding:28px;border-radius:20px;background:linear-gradient(145deg,#071f3b,#0a4258);color:#fff;text-align:center}
.ahqs-newsletter h3{color:#f0cb67;font-size:1.3rem;font-weight:850;margin:0 0 8px}
.ahqs-newsletter p{color:#d4e2eb;font-size:.94rem;line-height:1.6;margin:0 0 16px}
.ahqs-newsletter-form{display:flex;gap:8px;max-width:460px;margin:0 auto}
@media(max-width:520px){.ahqs-newsletter-form{flex-direction:column}}
.ahqs-newsletter-form input{flex:1;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:12px 14px;font:inherit;color:#fff;background:rgba(255,255,255,.08)}
.ahqs-newsletter-form input::placeholder{color:#9db5c4}
.ahqs-newsletter-form input:focus{outline:none;border-color:#d7a72d;background:rgba(255,255,255,.12)}
.ahqs-newsletter-form .btn{white-space:nowrap}
.ahqs-newsletter-note{font-size:.76rem;color:#9db5c4;margin-top:10px}

/* ===== SOCIAL SHARE ===== */
.ahqs-share-bar{display:flex;align-items:center;gap:10px;margin:24px 0;padding:16px 0;border-top:1px solid #dce6eb;border-bottom:1px solid #dce6eb}
.ahqs-share-label{font-size:.82rem;font-weight:800;color:#5b6d7d;text-transform:uppercase;letter-spacing:.06em}
.ahqs-share-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid #dce6eb;background:#fff;color:#5b6d7d;text-decoration:none;font-size:16px;transition:.2s;cursor:pointer}
.ahqs-share-btn:hover{background:#f0fbfa;color:#087f83;border-color:#087f83;transform:translateY(-1px)}

/* ===== RELATED GUIDES ===== */
.ahqs-related{margin:32px 0;padding:24px;border:1px solid #dce6eb;border-radius:18px;background:#f7fbfc}
.ahqs-related h3{color:#071f3b;font-size:1.1rem;font-weight:850;margin:0 0 14px}
.ahqs-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:620px){.ahqs-related-grid{grid-template-columns:1fr}}
.ahqs-related-item{display:block;padding:14px;border:1px solid #dce6eb;border-radius:12px;background:#fff;text-decoration:none;transition:.2s}
.ahqs-related-item:hover{border-color:#087f83;transform:translateY(-2px);box-shadow:0 8px 20px rgba(7,31,59,.06)}
.ahqs-related-item h4{color:#071f3b;font-size:.92rem;font-weight:800;margin:0 0 4px}
.ahqs-related-item p{color:#5b6d7d;font-size:.82rem;margin:0;line-height:1.4}

/* ===== PRODUCTIZED SERVICES ===== */
.ahqs-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}
@media(max-width:900px){.ahqs-product-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ahqs-product-grid{grid-template-columns:1fr}}
.ahqs-product-card{padding:24px;border:1px solid #dce6eb;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(7,31,59,.05);transition:transform .2s,box-shadow .2s;position:relative}
.ahqs-product-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(7,31,59,.1)}
.ahqs-product-card.ahqs-featured{border-color:#d7a72d;border-width:2px}
.ahqs-product-card .ahqs-product-badge{position:absolute;top:-12px;left:24px;padding:4px 12px;border-radius:99px;background:linear-gradient(135deg,#d8a72b,#f0cb67);color:#071f3b;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.ahqs-product-card h3{color:#071f3b;font-size:1.15rem;font-weight:850;margin:0 0 8px}
.ahqs-product-card .ahqs-product-tagline{color:#087f83;font-size:.82rem;font-weight:800;margin-bottom:12px}
.ahqs-product-card p{color:#5b6d7d;font-size:.9rem;line-height:1.55;margin:0 0 14px}
.ahqs-product-card ul{list-style:none;padding:0;margin:0 0 16px}
.ahqs-product-card li{padding:5px 0;font-size:.86rem;color:#4e6273}
.ahqs-product-card li:before{content:'✓';color:#087f83;font-weight:900;margin-right:8px}
.ahqs-product-card .ahqs-product-cta{display:block;text-align:center;padding:10px 16px;border-radius:10px;background:linear-gradient(135deg,#d8a72b,#f0cb67);color:#071f3b;font-weight:850;font-size:.88rem;text-decoration:none;transition:.2s}
.ahqs-product-card .ahqs-product-cta:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(216,167,43,.25)}
.ahqs-product-card.ahqs-featured .ahqs-product-cta{background:linear-gradient(135deg,#071f3b,#0a5560);color:#fff}
.ahqs-product-card.ahqs-featured .ahqs-product-cta:hover{box-shadow:0 8px 20px rgba(7,31,59,.25)}

/* ===== LANDING PAGE HERO ===== */
.ahqs-landing-hero{padding:60px 0;background:linear-gradient(135deg,#071f3b,#0a4258);color:#fff}
.ahqs-landing-hero h1{color:#fff;font-size:clamp(1.8rem,3.5vw,2.8rem);margin:0 0 16px}
.ahqs-landing-hero p{color:#d4e2eb;font-size:1.1rem;max-width:700px;line-height:1.7;margin:0 0 24px}
.ahqs-landing-hero .cta-row{margin-bottom:0}
.ahqs-landing-trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:20px}
.ahqs-landing-trust-item{display:flex;align-items:center;gap:6px;font-size:.88rem;color:#bed1dc;font-weight:700}
.ahqs-landing-trust-item:before{content:'✓';color:#f0cb67;font-weight:900}

/* ===== GUIDE SIDEBAR LEAD CAPTURE ===== */
.ahqs-guide-layout{display:grid;grid-template-columns:1fr 320px;gap:32px;max-width:1200px;margin:0 auto;padding:0 24px}
@media(max-width:900px){.ahqs-guide-layout{grid-template-columns:1fr}}
.ahqs-guide-sidebar{position:sticky;top:90px;align-self:start}
@media(max-width:900px){.ahqs-guide-sidebar{position:static;order:-1}}
.ahqs-guide-sidebar .ahqs-lead-gate{margin:0 0 20px}

/* ===== HOMEPAGE SOCIAL PROOF BAND ===== */
.ahqs-social-proof{background:#fff;border-top:1px solid #dce6eb;border-bottom:1px solid #dce6eb;padding:40px 0}
.ahqs-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:900px){.ahqs-proof-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ahqs-proof-grid{grid-template-columns:1fr}}
.ahqs-proof-card{padding:20px;border:1px solid #dce6eb;border-radius:16px;background:linear-gradient(145deg,#fff,#f8fbfc);text-align:center}
.ahqs-proof-card .ahqs-proof-icon{width:44px;height:44px;border-radius:12px;background:#eaf7f7;color:#087f83;display:grid;place-items:center;font-size:20px;margin:0 auto 12px}
.ahqs-proof-card h3{color:#071f3b;font-size:1rem;font-weight:850;margin:0 0 6px}
.ahqs-proof-card p{color:#5b6d7d;font-size:.85rem;line-height:1.5;margin:0}
