/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* =============================================================================
   Stepwise Recovery — Assessment Styles (Combined)
   Covers: Family Impact Assessment (.fia-*) + Step One Assessment (.sw-*)
   Add to: Elementor > Custom CSS / WP Head
   ============================================================================= */


/* =============================================================================
   SHARED DESIGN TOKENS
   Defined on both wrappers so each form is self-contained on the page.
   ============================================================================= */

.fia-container,
.sw-assessment-wrap {
    --sw-deep-purple:    #39214c;
    --sw-mid-purple:     #583872;
    --sw-lavender:       #cdb4ff;
    --sw-lavender-light: rgba(205, 180, 255, 0.1);
    --sw-teal:           #76e5dc;
    --sw-teal-light:     rgba(118, 229, 220, 0.1);
    --sw-warm-bg:        #f4eded;
    --sw-white:          #ffffff;
    --sw-text:           #1a1a1a;
    --sw-text-light:     #555555;
    --sw-radius:         16px;
    --sw-radius-pill:    50px;
    --sw-radius-sm:      8px;
    --traffic-green:     #10b981;
    --traffic-amber:     #f59e0b;
    --traffic-orange:    #f97316;
    --traffic-red:       #ef4444;
}

/* Box-sizing scoped to each form wrapper — avoids touching the rest of the page */
.fia-container *,
.sw-assessment-wrap * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* =============================================================================
   TRAFFIC LIGHT — SHARED COLOUR HELPERS
   Used by both forms for score indicators
   ============================================================================= */

/* Circle indicators (FIA uses these on breakdown scores) */
.fia-results-score,
.fia-breakdown-score,
.sw-assessment-wrap .traffic-light-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #ffffff;
}

.fia-results-score.green,
.fia-breakdown-score.green,
.sw-assessment-wrap .traffic-light-circle.green  { background-color: var(--traffic-green); }

.fia-results-score.amber,
.fia-breakdown-score.amber,
.sw-assessment-wrap .traffic-light-circle.amber  { background-color: var(--traffic-amber); color: #1a1a1a; }

.fia-results-score.orange,
.fia-breakdown-score.orange,
.sw-assessment-wrap .traffic-light-circle.orange { background-color: var(--traffic-orange); }

.fia-results-score.red,
.fia-breakdown-score.red,
.sw-assessment-wrap .traffic-light-circle.red    { background-color: var(--traffic-red); }

/* Dot indicators (sw- form breakdown) */
.sw-assessment-wrap .breakdown-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.sw-assessment-wrap .breakdown-indicator.green  { background-color: var(--traffic-green); }
.sw-assessment-wrap .breakdown-indicator.amber  { background-color: var(--traffic-amber); }
.sw-assessment-wrap .breakdown-indicator.orange { background-color: var(--traffic-orange); }
.sw-assessment-wrap .breakdown-indicator.red    { background-color: var(--traffic-red); }


/* =============================================================================
   FAMILY IMPACT ASSESSMENT  (.fia-*)
   ============================================================================= */

/* Layout */
.fia-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', sans-serif);
    color: var(--sw-text);
	font-weight: 400;
    line-height: 1.6;
}

/* Header */
.fia-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--sw-deep-purple), var(--sw-mid-purple));
    color: var(--sw-white);
    border-radius: var(--sw-radius);
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(57, 33, 76, 0.15);
}

.fia-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.fia-header p {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 500;
}

/* Intro section */
.fia-intro-section {
	position: relative;
    background: var(--sw-white);
    padding: 30px 30px 30px 50px;
/*     border-radius: var(--sw-radius); */
    margin-bottom: 30px;
/*     border-left: 4px solid var(--sw-teal); */
    box-shadow: 0 2px 12px rgba(118, 229, 220, 0.1);
}
.fia-intro-section::before {
	content: '';
	width: 10px; 
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--sw-teal);
	border-radius: 10px;
}

.fia-intro-section h2 {
    color: var(--sw-deep-purple);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.fia-intro-section p {
    color: var(--sw-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}
.fia-intro-section p:last-child {
	margin-bottom: 0px;
}

.fia-intro-section strong {
    color: var(--sw-mid-purple);
}

/* Relationship section */
.fia-relationship-section {
    background: var(--sw-white);
    padding: 30px;
    border-radius: var(--sw-radius);
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(88, 56, 114, 0.08);
}

.fia-relationship-section h2 {
    color: var(--sw-deep-purple);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.fia-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fia-radio-option {
    position: relative;
}

.fia-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fia-radio-option label {
    display: block;
    padding: 12px 16px;
    border: 2px solid var(--sw-lavender);
    border-radius: var(--sw-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.fia-radio-option input[type="radio"]:checked + label {
    background-color: var(--sw-lavender-light);
    border-color: var(--sw-mid-purple);
    color: var(--sw-deep-purple);
}

.fia-radio-option label:hover {
    border-color: var(--sw-mid-purple);
    background-color: rgba(88, 56, 114, 0.05);
}

/* Form sections */
.fia-form-section {
    background: var(--sw-white);
    padding: 30px;
    border-radius: var(--sw-radius);
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(88, 56, 114, 0.08);
}

.fia-form-section h2 {
    color: var(--sw-deep-purple);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--sw-lavender-light);
}

.fia-form-section h2 .fia-section-label {
    display: block;
    font-size: 0.75rem;
    color: var(--sw-mid-purple);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Questions */
.fia-question {
    margin-bottom: 28px;
}

.fia-question:last-child {
    margin-bottom: 0;
}

.fia-question-text {
    font-weight: 600;
    color: var(--sw-text);
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.fia-scale-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fia-scale-option {
    position: relative;
    flex: 1;
    min-width: 80px;
}

.fia-scale-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fia-scale-option label {
    display: block;
    padding: 10px 8px;
    text-align: center;
    border: 2px solid var(--sw-lavender);
    border-radius: var(--sw-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.fia-scale-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--sw-mid-purple), var(--sw-deep-purple));
    color: var(--sw-white);
    border-color: var(--sw-mid-purple);
}

.fia-scale-option label:hover {
    border-color: var(--sw-mid-purple);
    background-color: rgba(88, 56, 114, 0.05);
}

/* Results */
.fia-results-container {
    display: none;
    background: var(--sw-white);
    padding: 40px;
    border-radius: var(--sw-radius);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(57, 33, 76, 0.15);
}

.fia-results-container.show {
    display: block;
}

.fia-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.fia-results-header h2 {
    font-size: 1.8rem;
    color: var(--sw-deep-purple);
    margin-bottom: 10px;
    font-weight: 700;
}

.fia-results-score {
    font-size: 28px;
    width: 60px;
    height: 60px;
    margin: 20px auto;
}

.fia-results-message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--sw-text);
    margin-bottom: 30px;
    padding: 20px;
    background: var(--sw-lavender-light);
    border-radius: var(--sw-radius-sm);
    border-left: 4px solid var(--sw-mid-purple);
}

.fia-results-breakdown {
    background: rgba(118, 229, 220, 0.1);
    padding: 20px;
    border-radius: var(--sw-radius-sm);
    margin-bottom: 30px;
}

.fia-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(88, 56, 114, 0.1);
}

.fia-breakdown-item:last-child {
    border-bottom: none;
}

.fia-breakdown-label {
    font-weight: 500;
    color: var(--sw-text);
}

.fia-breakdown-score {
	font-size: .5rem;
    width: 20px;
    height: 20px;
}

.fia-resources-section {
    background: var(--sw-teal-light);
    padding: 25px;
    border-radius: var(--sw-radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--sw-teal);
}

.fia-resources-section h3 {
    color: var(--sw-deep-purple);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.fia-resources-list {
    list-style: none;
    padding: 0;
}

.fia-resources-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(118, 229, 220, 0.3);
}

.fia-resources-list li:last-child {
    border-bottom: none;
}

.fia-resources-list strong {
    display: block;
    color: var(--sw-mid-purple);
    font-weight: 600;
    margin-bottom: 4px;
}

.fia-resources-list .fia-phone {
    color: var(--sw-text);
    font-weight: 500;
}

.fia-resources-list p {
    color: var(--sw-text-light);
    font-size: 0.9rem;
    margin-top: 4px;
}

.fia-recovery-quote {
    background: linear-gradient(135deg, var(--sw-deep-purple), var(--sw-mid-purple));
    color: var(--sw-white);
    padding: 25px;
    border-radius: var(--sw-radius);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

/* Buttons */
.fia-button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.fia-btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--sw-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', sans-serif);
    flex: 1;
}

.fia-btn-primary {
    background: linear-gradient(135deg, var(--sw-mid-purple), var(--sw-deep-purple));
    color: var(--sw-white);
}

.fia-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 56, 114, 0.3);
}

.fia-btn-secondary {
    background: var(--sw-lavender-light);
    color: var(--sw-mid-purple);
    border: 2px solid var(--sw-mid-purple);
}

.fia-btn-secondary:hover {
    background: var(--sw-mid-purple);
    color: var(--sw-white);
}

/* Crisis button (FIA uses fixed phone button) */
.fia-crisis-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--sw-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.fia-crisis-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
}

.fia-crisis-menu {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--sw-white);
    border-radius: var(--sw-radius);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 280px;
    display: none;
    z-index: 9999;
}

.fia-crisis-menu.open {
    display: block;
}

.fia-crisis-menu-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--sw-white);
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.fia-crisis-menu-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}

.fia-crisis-menu-item:last-child {
    border-bottom: none;
}

.fia-crisis-menu-item:hover {
    background: rgba(231, 76, 60, 0.05);
}

.fia-crisis-menu-item strong {
    display: block;
    color: var(--sw-deep-purple);
    margin-bottom: 4px;
}

.fia-crisis-menu-item .fia-number {
    color: var(--sw-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Disclaimers */
.fia-disclaimer {
    background: rgba(205, 180, 255, 0.1);
    border: 1px solid var(--sw-lavender);
    padding: 15px;
    border-radius: var(--sw-radius-sm);
    font-size: 0.85rem;
    color: var(--sw-text-light);
    margin-bottom: 30px;
/*     text-align: center; */
}

.fia-disclaimer strong {
    color: var(--sw-deep-purple);
}

.fia-results-disclaimer {
    background: rgba(205, 180, 255, 0.15);
    border: 1px solid var(--sw-lavender);
    padding: 15px;
    border-radius: var(--sw-radius-sm);
    font-size: 0.85rem;
    color: var(--sw-text-light);
    margin-bottom: 25px;
    text-align: center;
}

.fia-results-disclaimer strong {
    color: var(--sw-deep-purple);
}

/* Progress bar */
.fia-progress-wrapper {
    margin-bottom: 30px;
}

.fia-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(88, 56, 114, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.fia-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sw-teal), var(--sw-mid-purple));
    width: 0%;
    transition: width 0.3s ease;
}

/* Accessibility */
.fia-screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* =============================================================================
   STEP ONE ASSESSMENT  (.sw-assessment-wrap)
   ============================================================================= */

.sw-assessment-wrap {
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', sans-serif);
    color: var(--sw-text);
    font-weight: 400;
    line-height: 1.6;
}

.sw-assessment-wrap .container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--sw-white);
    border-radius: var(--sw-radius);
    box-shadow: 0 10px 40px rgba(57, 33, 76, 0.15);
    overflow: hidden;
}

/* Progress bar */
.sw-assessment-wrap .progress-container {
    background: linear-gradient(90deg, var(--sw-deep-purple), var(--sw-mid-purple));
    padding: 30px 40px;
    color: var(--sw-white);
}

.sw-assessment-wrap .progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sw-assessment-wrap .progress-section {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.sw-assessment-wrap .progress-percent {
    font-size: 18px;
    font-weight: 700;
}

.sw-assessment-wrap .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.sw-assessment-wrap .progress-fill {
    height: 100%;
    background: var(--sw-teal);
    transition: width 0.3s ease;
}

/* Main content */
.sw-assessment-wrap .content {
    padding: 50px 40px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sw-assessment-wrap .section {
    display: none;
    animation: swFadeIn 0.3s ease;
}

.sw-assessment-wrap .section.active {
    display: block;
}

@keyframes swFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Welcome screen */
.sw-assessment-wrap .welcome-header {
    margin-bottom: 40px;
}

.sw-assessment-wrap .welcome-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--sw-deep-purple);
    margin-bottom: 12px;
}

.sw-assessment-wrap .welcome-subheading {
    font-size: 20px;
    color: var(--sw-text-light);
    margin-bottom: 32px;
}

.sw-assessment-wrap .welcome-card {
    background: var(--sw-lavender-light);
    border: 1px solid var(--sw-lavender);
    border-radius: var(--sw-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.sw-assessment-wrap .welcome-card h3 {
    color: var(--e-global-color-primary, var(--sw-mid-purple));
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sw-assessment-wrap .welcome-card p {
    color: var(--sw-text);
    font-size: 15px;
    line-height: 1.7;
}

.sw-assessment-wrap .welcome-card *:last-child {
    margin-bottom: 0;
}

.sw-assessment-wrap .info-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.sw-assessment-wrap .info-list li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    font-size: 15px;
    color: var(--sw-text);
}

.sw-assessment-wrap .info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sw-teal);
    font-weight: 700;
    font-size: 18px;
}

.sw-assessment-wrap .medical-disclaimer {
    background: rgba(255, 201, 0, 0.1);
    border-left: 4px solid #ffc900;
    padding: 16px;
    border-radius: var(--sw-radius-sm);
    font-size: 13px;
    color: var(--sw-text);
    margin-top: 24px;
}

/* Section headers */
.sw-assessment-wrap .section-header {
    margin-bottom: 36px;
}

.sw-assessment-wrap .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--sw-deep-purple);
    margin-bottom: 8px;
}

.sw-assessment-wrap .section-description {
    font-size: 16px;
    color: var(--sw-text-light);
}

/* Questions */
.sw-assessment-wrap .question-group {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(205, 180, 255, 0.3);
}

.sw-assessment-wrap .question-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sw-assessment-wrap .question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--sw-text);
    margin-bottom: 16px;
}

.sw-assessment-wrap .response-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.sw-assessment-wrap .response-btn {
    padding: 12px 16px;
    border: 2px solid var(--sw-lavender);
    background: var(--sw-white);
    border-radius: var(--sw-radius-sm);
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--sw-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sw-assessment-wrap .response-btn:hover {
    border-color: var(--sw-mid-purple);
    background: var(--sw-lavender-light);
}

.sw-assessment-wrap .response-btn.selected {
    background: var(--sw-mid-purple);
    color: var(--sw-white);
    border-color: var(--sw-mid-purple);
}

/* Results screen */
.sw-assessment-wrap .results-header {
    text-align: center;
    margin-bottom: 40px;
}

.sw-assessment-wrap .results-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--sw-deep-purple);
    margin-bottom: 16px;
}

.sw-assessment-wrap .score-display {
    background: linear-gradient(135deg, var(--sw-lavender-light), var(--sw-teal-light));
    border-radius: var(--sw-radius);
    padding: 40px;
    margin: 24px 0;
    text-align: center;
}

.sw-assessment-wrap .score-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--sw-mid-purple);
    margin-bottom: 8px;
}

.sw-assessment-wrap .score-label {
    font-size: 16px;
    color: var(--sw-text-light);
    font-weight: 500;
}

.sw-assessment-wrap .score-message {
    font-size: 18px;
    font-weight: 600;
    color: var(--sw-text);
    margin: 32px 0;
    line-height: 1.8;
}

.sw-assessment-wrap .score-breakdown {
    background: var(--sw-warm-bg);
    border-radius: var(--sw-radius);
    padding: 24px;
    margin: 32px 0;
}

.sw-assessment-wrap .breakdown-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sw-deep-purple);
    margin-bottom: 16px;
}

.sw-assessment-wrap .breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(205, 180, 255, 0.3);
}

.sw-assessment-wrap .breakdown-item:last-child {
    border-bottom: none;
}

.sw-assessment-wrap .breakdown-label {
    font-weight: 500;
    color: var(--sw-text);
}

.sw-assessment-wrap .breakdown-score {
    font-weight: 700;
    color: var(--sw-mid-purple);
}

.sw-assessment-wrap .next-steps {
    background: var(--sw-teal-light);
    border: 1px solid var(--sw-teal);
    border-radius: var(--sw-radius);
    padding: 28px;
    margin: 32px 0;
}

.sw-assessment-wrap .next-steps h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sw-deep-purple);
    margin-bottom: 16px;
}

.sw-assessment-wrap .steps-list {
    list-style: none;
    padding: 0;
}

.sw-assessment-wrap .steps-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(118, 229, 220, 0.3);
}

.sw-assessment-wrap .steps-list li:last-child {
    border-bottom: none;
}

.sw-assessment-wrap .steps-list a {
    color: var(--sw-mid-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sw-assessment-wrap .steps-list a:hover {
    color: var(--sw-deep-purple);
}

/* Buttons */
.sw-assessment-wrap .button-group {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 40px;
}

.sw-assessment-wrap .btn {
    padding: 17px 40px;
    border: none;
    border-radius: var(--sw-radius-pill);
    font-family: var(--e-global-typography-primary-font-family, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sw-assessment-wrap .btn-primary {
    background: linear-gradient(90deg, var(--sw-mid-purple), var(--sw-deep-purple));
    color: var(--sw-white);
    flex: 1;
}

.sw-assessment-wrap .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 56, 114, 0.3);
}

.sw-assessment-wrap .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.sw-assessment-wrap .btn-secondary {
    background: #fff;
    color: var(--sw-deep-purple);
    border: 2px solid var(--sw-deep-purple);
}

.sw-assessment-wrap .btn-secondary:hover {
    background: var(--sw-lavender-light);
}

.sw-assessment-wrap .btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sw-assessment-wrap .btn-outlined {
    background: transparent;
    color: var(--sw-mid-purple);
    border: 1px solid var(--sw-mid-purple);
    padding: 12px 24px;
    font-size: 14px;
    margin-right: 12px;
}

.sw-assessment-wrap .btn-outlined:hover {
    background: var(--sw-lavender-light);
}

/* Crisis support bar */
.sw-assessment-wrap .crisis-bar {
    background: linear-gradient(90deg, var(--sw-deep-purple), var(--sw-mid-purple));
    color: var(--sw-white);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.sw-assessment-wrap .crisis-text {
    flex: 1;
}

.sw-assessment-wrap .crisis-link {
    color: var(--sw-teal);
    text-decoration: none;
    font-weight: 600;
    margin-left: 12px;
}

/* Traffic light row */
.sw-assessment-wrap .traffic-light {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
    align-items: center;
}

.sw-assessment-wrap .traffic-light-circle {
    width: 60px;
    height: 60px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sw-assessment-wrap .score-level {
    text-align: center;
    margin: 16px 0;
}

.sw-assessment-wrap .score-level-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sw-assessment-wrap .score-level-subtitle {
    font-size: 14px;
    color: var(--sw-text-light);
    font-weight: 500;
}

.sw-assessment-wrap .not-a-diagnosis {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 13px;
    color: #92400e;
}

.sw-assessment-wrap .breakdown-score-traffic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* =============================================================================
   FLOATING HELP BUTTON  (shared fixed UI element)
   ============================================================================= */

.sw-floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--sw-teal, #76e5dc);
    color: var(--sw-deep-purple, #39214c);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(118, 229, 220, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.sw-floating-help:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(118, 229, 220, 0.5);
}

.sw-help-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #ffffff;
    border-radius: var(--sw-radius, 16px);
    box-shadow: 0 12px 32px rgba(57, 33, 76, 0.2);
    overflow: hidden;
    display: none;
    z-index: 9999;
    min-width: 280px;
}

.sw-help-menu.active {
    display: block;
    animation: swSlideUp 0.3s ease;
}

@keyframes swSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sw-help-menu .help-menu-header {
    background: var(--sw-mid-purple, #583872);
    color: #ffffff;
    padding: 16px;
    font-weight: 700;
    font-size: 14px;
}

.sw-help-menu .help-menu-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(205, 180, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s ease;
}

.sw-help-menu .help-menu-item:last-child {
    border-bottom: none;
}

.sw-help-menu .help-menu-item:hover {
    background: var(--sw-warm-bg, #f4eded);
}

.sw-help-menu .help-menu-item a {
    color: var(--sw-mid-purple, #583872);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}


/* =============================================================================
   PAY IT FORWARD  (.pif-*)
   Covers: /access/ page block, post-purchase confirmation,
           /pay-it-forward/ hero, audience cards
   ============================================================================= */

/* CSS custom properties — scoped to PIF elements.
   Remove the :root block if these are already declared globally. */
:root {
    --purple-deep:    #39214C;
    --purple-mid:     #583872;
    --purple-wash:    #F3EDF7;
    --teal:           #0F6E56;
    --teal-light:     #E1F5EE;
    --teal-dark:      #085041;
    --warm-gray:      #F8F6F3;
    --text-primary:   #2D2A33;
    --text-secondary: #5C5766;
    --text-muted:     #8A8494;
    --border:         #E8E4ED;
    --border-light:   #F0ECF3;
    --white:          #FFFFFF;
    --green:          #16A34A;
    --green-light:    #DCFCE7;
    --green-dark:     #15803D;
    --amber-light:    #FEF3C7;
}

@keyframes pif-spin {
    to { transform: rotate(360deg); }
}

/* ── Tier cards ──────────────────────────────────────────── */

.pif-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.pif-tier {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
}
.pif-tier:hover {
    border-color: var(--teal);
    box-shadow: 0 6px 24px rgba(15, 110, 86, 0.08);
    transform: translateY(-2px);
}
.pif-tier.popular {
    border-color: var(--teal);
    background: var(--teal-light);
}

.pif-popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pif-tier-quantity {
    font-size: 16px;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 10px;
}

.pif-tier-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 10px;
}

.pif-tier-impact {
    font-size: 13px;
	font-weight: normal;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 36px;
}

.pif-tier-btn {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.pif-tier-btn.primary             { background: var(--teal); color: white; }
.pif-tier-btn.primary:hover       { background: var(--teal-dark); }
.pif-tier-btn.outline             { background: var(--white); color: var(--teal); border: 1.5px solid var(--teal); }
.pif-tier-btn.outline:hover       { background: var(--teal-light); }
.pif-tier-btn:disabled            { opacity: 0.6; cursor: default; transform: none !important; }
.pif-tier-btn.added               { background: var(--green) !important; border-color: var(--green) !important; color: white !important; }

.pif-tier-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: pif-spin 0.6s linear infinite;
    vertical-align: middle;
}

/* ── Custom quantity row ─────────────────────────────────── */

.custom-qty {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.custom-qty-label { flex-shrink: 0; }
.custom-qty-label h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 2px;
}
.custom-qty-label p {
    font-size: 12px;
	font-weight: 400;
    color: var(--text-muted);
	margin-bottom: 0px;
}

.custom-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.custom-qty-input {
    width: 72px;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
/*     font-family: 'DM Sans', sans-serif; */
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    outline: none;
    transition: border-color 0.2s;
}
.custom-qty-input:focus { border-color: var(--teal); }

.custom-qty-times { font-size: 14px; color: var(--text-muted); font-weight: 400; }

.custom-qty-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-dark);
    min-width: 80px;
    text-align: right;
}

.custom-qty-btn {
    padding: 10px 20px !important;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--teal);
    background: var(--white);
    color: var(--teal);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}
.custom-qty-btn:hover    { background: var(--teal-light); }
.custom-qty-btn:disabled { opacity: 0.6; cursor: default; }
.custom-qty-btn.added    { background: var(--green) !important; border-color: var(--green) !important; color: white !important; }

.custom-qty-btn.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid var(--teal);
    border-top-color: transparent;
    border-radius: 50%;
    animation: pif-spin 0.6s linear infinite;
    vertical-align: middle;
}

/* ── Footer link ─────────────────────────────────────────── */

.pif-footer { text-align: center; }

.pif-footer-link {
    font-size: 13px;
    color: var(--text-muted);
}
.pif-footer-link a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}
.pif-footer-link a:hover { text-decoration: underline; }

/* ── Toast notification ──────────────────────────────────── */

.pif-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--purple-deep);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    white-space: nowrap;
}
.pif-toast.show { transform: translateX(-50%) translateY(0); }
.pif-toast svg  { width: 18px; height: 18px; color: #7DF3C0; flex-shrink: 0; }
.pif-toast a    { color: #7DF3C0; text-decoration: underline; margin-left: 4px; }

/* ── Section 1: /access/ page block ─────────────────────── */

.pif-section {
/*     background: var(--warm-gray);
    border-radius: 20px;
    padding: 40px 36px; */
    position: relative;
/*     border: 1.5px solid var(--border-light); */
}

.pif-header {
    text-align: center;
    margin-bottom: 32px;
}

.pif-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.pif-icon svg { width: 28px; height: 28px; color: var(--teal); }

.pif-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 8px;
}

.pif-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ── Section 2: Post-purchase confirmation ───────────────── */

.confirmation-pif {
    padding: 32px 36px;
/*     background: var(--warm-gray); */
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.confirmation-pif-text {
    font-size: 16px;
	font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 6px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-pif-sub {
    font-size: 14px;
	font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.confirmation-pif-tiers {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-pif-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: "Objectivity", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid var(--teal);
    background: var(--white);
    color: var(--teal);
}
.confirmation-pif-btn:hover          { background: var(--teal-light); transform: translateY(-1px); }
.confirmation-pif-btn.featured       { background: var(--teal); color: white; border-color: var(--teal); }
.confirmation-pif-btn.featured:hover { background: var(--teal-dark); }
.confirmation-pif-btn:disabled       { opacity: 0.6; cursor: default; transform: none !important; }
.confirmation-pif-btn.added          { background: var(--green) !important; border-color: var(--green) !important; color: white !important; }

.confirmation-pif-skip {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
	margin: 14px auto 0px auto;
}
.confirmation-pif-skip:hover { color: var(--text-secondary); }

/* ── Section 3: /pay-it-forward/ page hero ───────────────── */

.page-hero {
    background: var(--white);
    border-radius: 20px;
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.page-hero-top {
    background: linear-gradient(135deg, var(--teal-light) 0%, #D1FAE5 100%);
    padding: 48px 40px;
    text-align: center;
}

.page-hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.page-hero-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    color: var(--purple-deep);
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 24px;
}

.page-hero-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.page-hero-counter svg { width: 18px; height: 18px; color: var(--teal); }

.page-hero-body { padding: 36px 40px; }

.page-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.page-hero-where {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.page-hero-where-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.where-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.where-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--warm-gray);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.where-pill svg { width: 14px; height: 14px; color: var(--purple-mid); }

/* ── Section 4: Audience cards ───────────────────────────── */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.audience-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
}

.audience-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.audience-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 6px;
}

.audience-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.stepwise-explainer {
    background: var(--purple-wash);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stepwise-explainer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stepwise-explainer h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-deep);
    margin-bottom: 6px;
}

.stepwise-explainer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.stepwise-explainer a       { color: var(--teal); font-weight: 600; text-decoration: none; }
.stepwise-explainer a:hover { text-decoration: underline; }


/* =============================================================================
   RESPONSIVE
   All breakpoints in one place — no duplication
   ============================================================================= */

/* ── 768px and below ── */
@media (max-width: 768px) {

    /* Step One Assessment layout */
    .sw-assessment-wrap .content {
        padding: 30px 20px;
    }

    .sw-assessment-wrap .progress-container {
        padding: 20px;
    }

    .sw-assessment-wrap .welcome-header h1 {
        font-size: 28px;
    }

    .sw-assessment-wrap .section-header h2 {
        font-size: 24px;
    }

    .sw-assessment-wrap .response-options {
        grid-template-columns: 1fr;
    }

    .sw-assessment-wrap .button-group {
        flex-direction: column;
    }

    .sw-assessment-wrap .btn-secondary {
        order: -1;
    }

    .sw-assessment-wrap .crisis-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 20px;
    }

    .sw-assessment-wrap .score-number {
        font-size: 48px;
    }

    .sw-assessment-wrap .score-message {
        font-size: 16px;
    }

    /* Floating help button */
    .sw-floating-help {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .sw-help-menu {
        right: 20px;
        bottom: 90px;
        min-width: 240px;
    }
}

/* ── 640px and below ── */
@media (max-width: 640px) {

    /* Pay It Forward */
    .pif-tiers,
    .page-hero-grid,
    .audience-grid          { grid-template-columns: 1fr; }

    .pif-section            { padding: 28px 20px; }
    .page-hero-top          { padding: 36px 20px; }
    .page-hero-body         { padding: 24px 20px; }
    .confirmation-pif       { padding: 24px 20px; }

    .custom-qty             { flex-direction: column; align-items: flex-start; }
    .custom-qty-row         { flex-wrap: wrap; justify-content: flex-start; }

    .confirmation-pif-tiers { flex-direction: column; align-items: center; }
    .stepwise-explainer     { flex-direction: column; }
}

/* ── 600px and below ── */
@media (max-width: 600px) {

    /* Family Impact Assessment layout */
    .fia-header h1 {
        font-size: 1.8rem;
    }

    .fia-container {
        padding: 15px;
    }

    .fia-form-section,
    .fia-intro-section,
    .fia-relationship-section {
        padding: 20px;
    }

    .fia-scale-options {
        gap: 4px;
    }

    .fia-scale-option label {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
}

/* ── 500px and below ── */
@media (max-width: 500px) {

    .fia-radio-group {
        grid-template-columns: 1fr;
    }

    .fia-button-group {
        flex-direction: column;
    }
}