/* IYCON Canada - Health Check pages (uses variables from style.css) */

[data-focus]:focus { outline: none; }

.hc-hero .hero-glass { max-width: 760px; }
.hc-hero .hc-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.hc-hero h1 { font-size: 2.3rem; }
.hc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}
.hc-chips li {
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
}

.hc-section { padding: 3rem 0 1rem; color: var(--text-dark); }
.hc-section h2.section-title { margin-bottom: 2.5rem; }

/* App card */
.hc-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    text-align: left;
}
.hc-h2 { color: var(--primary-color); font-size: 1.7rem; line-height: 1.25; margin-bottom: 0.75rem; }
.hc-lead { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hc-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}
.hc-meta { color: var(--text-light); font-size: 0.9rem; margin-top: 1rem; }
.hc-error { color: #b42318; font-weight: 600; margin: 0.5rem 0; }

/* Fields */
.hc-field { margin-bottom: 1.1rem; }
.hc-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-dark); }
.hc-field select,
.hc-field input[type="text"],
.hc-field input[type="email"],
.hc-field input[type="tel"],
.hc-field input[type="number"],
.hc-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: var(--text-dark);
}
.hc-field select:focus,
.hc-field input:focus,
.hc-field textarea:focus,
.hc-opt input:focus-visible + span,
.hc-btn:focus-visible,
.hc-link-btn:focus-visible {
    outline: 3px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

/* Buttons */
.hc-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hc-actions--split { justify-content: space-between; align-items: center; }
.hc-actions--center { justify-content: center; }
.hc-btn { font-size: 1rem; }
.hc-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.hc-link-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    font-family: inherit;
}
.hc-link-btn:hover { text-decoration: underline; }

/* Progress and questions */
.hc-progress { height: 8px; background: var(--border-color); border-radius: 8px; overflow: hidden; margin-bottom: 1.25rem; }
.hc-progress span { display: block; height: 100%; background: var(--gradient-1); background: linear-gradient(135deg, #00007F, #054bf5); transition: width 0.3s ease; }
.hc-step-label { color: var(--text-light); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.hc-q { border: none; padding: 0; margin: 0; min-width: 0; }
.hc-q legend { font-size: 1.35rem; font-weight: 700; color: var(--primary-color); line-height: 1.35; margin-bottom: 1.25rem; padding: 0; }
.hc-options { display: grid; gap: 0.75rem; }
.hc-opt { display: block; cursor: pointer; }
.hc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.hc-opt span {
    display: block;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    background: #fff;
    transition: all 0.2s ease;
}
.hc-opt:hover span { border-color: var(--accent-color); background: #f4f9fd; }
.hc-opt input:checked + span { border-color: var(--primary-color); background: #eef1ff; color: var(--primary-color); box-shadow: 0 0 0 1px var(--primary-color) inset; }

/* Results */
.hc-score-head { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hc-score-ring {
    --hc-color: var(--primary-color);
    --hc-pct: 50;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    border-radius: 50%;
    background: conic-gradient(var(--hc-color) calc(var(--hc-pct) * 1%), var(--border-color) 0);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hc-score-ring > div {
    width: 120px; height: 120px; border-radius: 50%; background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hc-score-ring strong { font-size: 2.2rem; color: var(--text-dark); line-height: 1; }
.hc-score-ring span { font-size: 0.72rem; color: var(--text-light); margin-top: 0.3rem; padding: 0 0.5rem; }
.hc-score-head > div:last-child { flex: 1 1 260px; }

.hc-block { border-top: 1px solid var(--border-color); padding: 1.75rem 0 0.5rem; margin-top: 1.5rem; }
.hc-block h3 { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 1rem; }
.hc-block p { color: var(--text-dark); margin-bottom: 0.75rem; }

.hc-chart-wrap { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.hc-radar { width: 100%; max-width: 560px; margin: 0 auto; display: block; }
.hc-ring { fill: none; stroke: #d5dbe3; stroke-width: 1; }
.hc-axis { stroke: #d5dbe3; stroke-width: 1; }
.hc-area { fill: rgba(162, 145, 97, 0.35); stroke: var(--secondary-color); stroke-width: 2.5; }
.hc-dot { fill: var(--primary-color); }
.hc-axis-label { font-size: 13.5px; fill: #333; font-weight: 600; font-family: Roboto, sans-serif; }
.hc-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 2rem; }
.hc-bar-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; margin-bottom: 0.25rem; }
.hc-bar { height: 10px; background: var(--border-color); border-radius: 10px; overflow: hidden; }
.hc-bar span { display: block; height: 100%; border-radius: 10px; }

.hc-gaps { display: grid; gap: 1.25rem; }
.hc-gap { display: flex; gap: 1rem; background: var(--bg-light); border-radius: 16px; padding: 1.25rem; }
.hc-gap-num {
    flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--primary-color); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.hc-gap h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.hc-gap-score { font-size: 0.8rem; font-weight: 700; color: #b42318; background: #fde8e6; border-radius: 50px; padding: 0.1rem 0.6rem; margin-left: 0.4rem; vertical-align: middle; }
.hc-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.hc-links a { color: var(--primary-color); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.hc-links a:hover { text-decoration: underline; }
.hc-links i { font-size: 0.75rem; }

.hc-next-step { background: #eef1ff; border: 1px solid #d5dcff; border-radius: 16px; padding: 1.5rem; margin-top: 1.75rem; }
.hc-wizsm, .hc-related, .hc-estimator { }
.hc-est-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.hc-est-out { font-weight: 700; color: var(--primary-color); font-size: 1.15rem; min-height: 1.6rem; }

.hc-lead-form { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.75rem; margin-top: 2rem; }
.hc-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1rem; }
.hc-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-light); margin: 0.5rem 0; }
.hc-consent input { margin-top: 0.25rem; flex: 0 0 auto; }
.hc-consent a { color: var(--primary-color); }
.hc-disclaimer { color: var(--text-light); font-size: 0.85rem; text-align: center; margin-top: 1rem; }

/* Static content blocks under the app */
.hc-info { max-width: 1000px; margin: 0 auto; color: var(--text-dark); }
.hc-info h2 { color: var(--primary-color); text-align: center; font-size: 2rem; margin: 3rem 0 1.5rem; }
.hc-info p { color: var(--text-light); font-size: 1.05rem; text-align: center; max-width: 780px; margin: 0 auto 1rem; }
.hc-dim-list { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hc-dim-list li { background: #eef1ff; color: var(--primary-color); font-weight: 600; border-radius: 50px; padding: 0.45rem 1.1rem; font-size: 0.95rem; }
.hc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.hc-steps li { background: var(--bg-light); border-radius: 16px; padding: 1.25rem; text-align: left; color: var(--text-dark); }
.hc-steps strong { display: block; color: var(--primary-color); margin-bottom: 0.3rem; }
.hc-info .faq-list { max-width: 820px; margin: 1.5rem auto 0; }
.hc-info .card { margin: 1.5rem auto; }
.hc-band { text-align: center; padding: 2.5rem 1.5rem; margin: 3rem auto 2rem; background: linear-gradient(135deg, #00007F 0%, #3E92cc 100%); border-radius: 24px; color: #fff; max-width: 900px; }
.hc-band h2 { color: #fff; margin: 0 0 0.75rem; font-size: 1.8rem; }
.hc-band p { color: rgba(255, 255, 255, 0.92); max-width: 640px; }

/* Hub cards */
.hc-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.hc-hub-card {
    background: #fff; color: var(--text-dark); border: 1px solid var(--border-color); border-radius: 24px;
    box-shadow: var(--shadow-card); padding: 2rem; display: flex; flex-direction: column; gap: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hc-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.hc-hub-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7A6A38; }
.hc-hub-card h3 { color: var(--primary-color); font-size: 1.35rem; line-height: 1.3; }
.hc-hub-for { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; }
.hc-hub-card p { color: var(--text-light); }
.hc-hub-card .btn { align-self: flex-start; margin-top: auto; }
.hc-hub-foot { font-size: 0.85rem; color: var(--text-light); }
.hc-guide { max-width: 860px; margin: 0 auto; background: var(--bg-light); border-radius: 20px; padding: 1.5rem 2rem; color: var(--text-dark); }
.hc-guide h3 { color: var(--primary-color); margin-bottom: 0.75rem; }
.hc-guide ul { margin-left: 1.25rem; color: var(--text-dark); }
.hc-guide li { margin-bottom: 0.4rem; }
.hc-guide a { color: var(--primary-color); font-weight: 600; }

@media (max-width: 600px) {
    .hc-card { padding: 1.5rem 1.15rem; border-radius: 20px; }
    .hc-hero h1 { font-size: 1.7rem; }
    .hc-q legend { font-size: 1.15rem; }
    .hc-radar { display: none; }
    .hc-score-head { justify-content: center; text-align: center; }
    .hc-gap { flex-direction: column; }
    .hc-hub-grid { grid-template-columns: 1fr; }
}

@media print {
    header, footer, .hero, .fab, #cookie-consent-banner, .hc-noprint, .hc-lead-form, .hc-info, .hc-band { display: none !important; }
    body { color: #000; }
    .hc-card { box-shadow: none; border: none; }
    .hc-radar { display: block !important; }
}
