/* 
   Iselle Africa - Premium Design System 
   Theme: Deep Navy & Solar Yellow
*/

.hidden {
    display: none !important;
}

:root {
    /* Brand Colors */
    --primary-navy: #1D4E7A;
    --navy-dark: #1A4B76;
    --solar-yellow: #FCD117;
    --support-blue: #809DB6;

    /* Neutrals */
    --bg-white: #FFFFFF;
    --logo-bg-offwhite: #FDFDFD;
    --bg-surface: #F7F9FC;
    --text-main: #0B1220;
    /* Darker almost black for maximum contrast */
    --text-muted: #1F2937;
    /* Darker gray to ensure 4.5:1 ratio */
    --border-light: #E5E7EB;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 1.5rem;
    /* 24px */
    --spacing-lg: 2rem;
    /* 32px */
    --spacing-xl: 4rem;
    /* 64px */
    --spacing-2xl: 6rem;
    /* 96px */

    --container-width: 1280px;
    --header-height: 100px;

    /* UI Tokens */
    --radius-sm: 8px;
    --radius-md: 14px;
    /* Brand Radius */
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 3px solid var(--primary-navy);
    outline-offset: 3px;
    border-radius: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
}

.section-bg {
    background-color: var(--bg-surface);
}

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

.text-right {
    text-align: right;
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
    align-items: stretch;
    /* Ensure cards fill height */
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .container {
        padding: 0 var(--spacing-lg);
    }

    h1 {
        font-size: 3.5rem;
    }
}

/* Global Mobile Optimizations */
@media (max-width: 767px) {
    :root {
        --spacing-lg: 1.5rem;
        /* Reduced from 2rem */
        --spacing-xl: 2.5rem;
        /* Reduced from 4rem */
        --spacing-2xl: 4rem;
        /* Reduced from 6rem */
    }

    /* Prevent horizontal scrolling and text overflow globally on mobile */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    h1,
    h2,
    h3,
    p {
        word-wrap: break-word;
        /* Ensure long words break */
        overflow-wrap: break-word;
        hyphens: auto;
        /* Allow hyphenation if necessary */
    }

    h1 {
        font-size: 2.25rem !important;
        /* Slightly smaller to fit */
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-subhead {
        font-size: 1.1rem !important;
        /* Scale down hero paragraph */
        max-width: 100% !important;
        /* Ensure it doesn't exceed container */
    }

    .section {
        padding: 3rem 0;
        /* Reduced from --spacing-xl (which was 4rem) */
    }

    .hero-section {
        padding: 2.5rem 0;
        /* Tighter hero section on mobile */
    }

    .hero-grid {
        gap: 2rem;
    }

    .card,
    .icon-card {
        padding: 1.5rem !important;
        /* Forces smaller padding on all cards */
    }

    .icon-card-icon-wrap {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .icon-card-icon-wrap svg {
        width: 2rem;
        height: 2rem;
    }
}

/* --- BUTTON SYSTEM --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    white-space: nowrap;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 1. Primary Button (Brand Action) */
.btn-primary {
    background-color: var(--solar-yellow);
    color: var(--primary-navy);
    border: 2px solid var(--solar-yellow);
}

.btn-primary:hover:not(:disabled) {
    background-color: #e5bd15;
    /* Slightly darker */
    border-color: #e5bd15;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Gradient Effect for Primary */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover:not(:disabled)::after {
    opacity: 1;
}

/* 2. Secondary Button (Outline) */
.btn-secondary {
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--primary-navy);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 3. Tertiary Button (Link) */
.btn-tertiary,
.btn-link {
    background-color: transparent;
    color: var(--primary-navy);
    border: none;
    padding: 0.5rem 0.25rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.btn-tertiary:hover:not(:disabled),
.btn-link:hover:not(:disabled) {
    color: var(--navy-dark);
}

.btn-tertiary::after,
.btn-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--solar-yellow);
    transition: width 0.3s ease;
}

.btn-tertiary:hover:not(:disabled)::after,
.btn-link:hover:not(:disabled)::after {
    width: 100%;
}

/* --- END BUTTON SYSTEM --- */

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

/* Header & Nav */
.header {
    background-color: rgba(253, 253, 253, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    height: 75px;
    background-color: rgba(253, 253, 253, 0.99);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo img {
    height: 76px;
    /* Adjust based on logo aspect ratio */
    display: block;
    transition: height 0.3s ease;
}

.header.scrolled .logo img {
    height: 68px;
}

.nav-links {
    display: none;
    position: relative;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    /* For active state underline */
}

/* Active Page Indication */
.nav-list a.active-page {
    color: var(--primary-navy);
}

.nav-list a.active-page::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--solar-yellow);
    border-radius: 2px;
}

.nav-list a:hover {
    color: var(--primary-navy);
}

.has-dropdown {
    position: relative;
    padding: 1.5rem 0;
    /* Increase hover area */
}

.chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    min-width: 240px;
    padding: 0.75rem 0;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--solar-yellow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.has-dropdown.active .dropdown-menu,
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.has-dropdown.active .chevron,
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron {
    transform: rotate(180deg);
}

.dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
}

.dropdown-trigger:hover,
.dropdown-trigger[aria-expanded="true"] {
    color: var(--primary-navy);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background: var(--bg-surface);
    color: var(--primary-navy);
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-navy);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-links a,
.mobile-dropdown-btn {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-navy);
}

.mobile-has-dropdown {
    width: 100%;
}

.mobile-dropdown-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 0 0.75rem 0;
    text-align: center;
    margin-top: 0.5rem;
}

.mobile-dropdown-content a {
    font-size: 1rem !important;
    opacity: 0.8;
}

.mobile-has-dropdown.active .mobile-dropdown-content {
    display: flex;
}

.mobile-has-dropdown.active .chevron {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    /* Subtle gradient background */
    background: radial-gradient(circle at top right, #F0F4F8 0%, #FFFFFF 60%);
}

.hero-grid {
    display: grid;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content h1 {
    color: var(--primary-navy);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subhead {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.trust-signals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item .icon {
    color: var(--primary-navy);
    width: 1.25rem;
    height: 1.25rem;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--support-blue);
}

/* Service Card Specifics */
.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

/* Premium Icon-Centric Cards (Replacing Image Cards) */
.icon-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--support-blue);
}

.icon-card:hover::before {
    transform: scaleX(1);
    background: var(--solar-yellow);
}

.icon-card-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-navy);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.icon-card:hover .icon-card-icon-wrap {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
    transform: scale(1.05);
}

.icon-card-icon-wrap svg {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.icon-card p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
    flex-grow: 1;
}

.icon-card .link-with-icon {
    font-weight: 600;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
}

.icon-card:hover .link-with-icon {
    color: var(--solar-yellow);
    gap: 0.5rem;
}

.icon-card .link-with-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition);
}

/* Package Section Styles */
.package-desc {
    font-size: 0.9rem;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.package-loads {
    font-size: 0.9rem;
    color: #10B981;
    font-weight: 500;
}

/* Feature/Checklist */
.check-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.check-icon {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Pricing Cards */
.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card .package-loads {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 1rem 0;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: #fff;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-logo-wrap {
    background: rgba(255, 255, 255, 0.94);
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
}

.footer-logo-wrap img {
    height: 30px;
    display: block;
}

.footer-about {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--solar-yellow);
    transform: translateY(-2px);
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--solar-yellow);
    padding-left: 4px;
}

.footer-contact p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact a {
    color: #fff;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--solar-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-bottom-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-grid {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-cert {
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-file {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    background: #fff;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-file::file-selector-button {
    margin-right: 0.75rem;
    border: 1px solid rgba(29, 78, 122, 0.14);
    background: rgba(29, 78, 122, 0.05);
    color: var(--primary-navy);
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.form-file:hover::file-selector-button {
    background: rgba(29, 78, 122, 0.08);
    border-color: rgba(29, 78, 122, 0.2);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-file:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(29, 78, 122, 0.1);
}

/* Validation States */
.form-input:invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

.form-input:invalid:not(:placeholder-shown):focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    display: block;
}

.required-star {
    color: var(--error);
    margin-left: 2px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-file:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(29, 78, 122, 0.1);
}

/* Table */
.sla-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sla-table th,
.sla-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.sla-table th {
    background: var(--bg-surface);
    font-weight: 600;
    color: var(--primary-navy);
}

/* Why Iselle Icons */
.check-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}


.why-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    background: var(--bg-surface);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.why-icon svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

/* Service Card Hover Animation */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(29, 78, 122, 0.15);
}

/* Enhanced Gradient Effect moved to main button block above */

/* --- METHODOLOGY ACCORDION --- */
.methodology-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

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

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
    font-family: var(--font-body);
}

.accordion-trigger:hover {
    background-color: var(--bg-surface);
}

.accordion-trigger[aria-expanded="true"] {
    background-color: var(--bg-surface);
    border-left: 4px solid var(--solar-yellow);
}

.accordion-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-step-num {
    transform: scale(1.05);
}

.accordion-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    flex-grow: 1;
}

.accordion-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
    color: var(--primary-navy);
}

.accordion-body {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body--closed {
    max-height: 0;
}

.accordion-content {
    padding: 1.5rem 1.5rem 1.5rem 5rem;
    /* Left-align with step title */
}

.accordion-content p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 0.97rem;
}

.accordion-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-detail-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.accordion-detail-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--solar-yellow);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .accordion-content {
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    }
}

/* --- END METHODOLOGY ACCORDION --- */

/* --- KEY BENEFITS BAR --- */
.key-benefits-bar {
    background: var(--primary-navy);
    padding: 1.75rem 0;
    border-bottom: 3px solid var(--solar-yellow);
}

.key-benefits-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.key-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 2.5rem;
    gap: 0.25rem;
}

.key-benefit-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--solar-yellow);
    line-height: 1;
}

.key-benefit-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    max-width: 140px;
    line-height: 1.3;
}

.key-benefit-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .key-benefits-grid {
        gap: 0.5rem 0;
    }

    .key-benefit-item {
        padding: 0.6rem 1.25rem;
    }

    .key-benefit-divider {
        display: none;
    }

    .key-benefit-value {
        font-size: 1.4rem;
    }
}

/* --- END KEY BENEFITS BAR --- */

/* --- SCAN LIST (bullet callouts) --- */
.scan-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scan-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.scan-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--solar-yellow);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

/* --- END SCAN LIST --- */

/* --- SERVICE PAGE LINKED CARDS --- */
.service-page-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-page-card-link:hover,
.service-page-card-link:focus-visible {
    text-decoration: none;
}

.service-page-card-link:focus-visible {
    outline: 2px solid rgba(15, 52, 96, 0.35);
    outline-offset: 3px;
}

/* --- END SERVICE PAGE LINKED CARDS --- */

/* --- SERVICE SYNERGY CARDS --- */
.synergy-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border: none;
    border-left: 4px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.synergy-card:hover {
    border-left-color: var(--solar-yellow);
    box-shadow: var(--shadow-md);
}

.synergy-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.synergy-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--solar-yellow);
    background: rgba(250, 204, 21, 0.1);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.2rem;
    width: fit-content;
}

.synergy-card-body h4 {
    margin: 0 0 0.4rem;
    color: var(--primary-navy);
    font-size: 1rem;
}

.synergy-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.synergy-cta-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.synergy-cta-link:hover {
    color: #0d3561;
    gap: 0.7rem;
}

.synergy-cta-link:hover svg {
    transform: translateX(3px);
}

.service-page-card-link:hover .synergy-cta-link,
.service-page-card-link:focus-visible .synergy-cta-link {
    color: #0d3561;
    gap: 0.7rem;
}

.service-page-card-link:hover .synergy-cta-link svg,
.service-page-card-link:focus-visible .synergy-cta-link svg {
    transform: translateX(3px);
}

/* --- END SERVICE SYNERGY CARDS --- */

/* --- SERVICE / SUPPORT PAGE V2 HELPERS --- */
.page-anchor-nav-wrap {
    position: relative;
    top: auto;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

.page-anchor-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.65rem 0;
}

.page-anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-navy);
    background: white;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.page-anchor-nav a:hover {
    border-color: var(--solar-yellow);
    background: #fffdf0;
}

.service-layout-section {
    padding-bottom: 0;
}

.service-layout-header {
    margin-bottom: 2.5rem;
}

.service-layout-title {
    margin-bottom: 0.75rem;
}

.service-layout-subcopy {
    max-width: 760px;
    margin: 0 auto;
}

.service-section-id-anchor {
    scroll-margin-top: 140px;
}

.service-process-card {
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.service-process-step {
    border: 1px solid var(--border-light);
    background: white;
    border-radius: var(--radius-sm);
    padding: 0.95rem;
}

.service-process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.service-process-step h4 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
}

.service-process-step p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.service-deliverables-card {
    background: var(--primary-navy);
    color: white;
    border: none;
    border-bottom: 4px solid var(--solar-yellow);
    padding: 2rem;
}

.service-deliverables-card h3 {
    color: white;
    margin-bottom: 0.4rem;
}

.service-deliverables-card p {
    color: #cbd5e1;
}

.service-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.service-deliverables-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.45;
}

.service-deliverables-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--solar-yellow);
    margin-top: 0.35rem;
}

.service-deliverables-list a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
}

.service-deliverables-list a:hover {
    color: white;
    text-decoration-color: #fff;
}

.service-cta-card {
    margin-top: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-cta-card-copy h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.service-cta-card-copy p {
    margin: 0;
    font-size: 0.9rem;
}

.service-cta-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-header-tight {
    margin-bottom: var(--spacing-xl);
}

.section-header-tight p {
    max-width: 620px;
    margin: 0.35rem auto 0;
}

.support-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.support-coverage-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.support-coverage-card h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.support-coverage-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.support-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.support-card-link:hover,
.support-card-link:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.support-card-link h3,
.support-card-link h4,
.support-card-link p,
.support-card-link span {
    color: inherit;
}

.support-card-link:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

.support-journey-step-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin: -0.5rem;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.support-journey-step-link:hover,
.support-journey-step-link:focus-visible {
    background: rgba(148, 163, 184, 0.08);
    transform: translateY(-2px);
}

.support-journey-step-link h4,
.support-journey-step-link p {
    color: inherit;
}

.support-journey-step-link:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.support-preventive-item-link {
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 0.35rem;
    margin: -0.35rem;
    transition: background-color 0.18s ease;
}

.support-preventive-item-link:hover,
.support-preventive-item-link:focus-visible {
    background: rgba(255, 255, 255, 0.5);
}

.support-preventive-item-link h4,
.support-preventive-item-link p {
    color: inherit;
}

.support-preventive-item-link:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.24);
    outline-offset: 3px;
}

.support-note-inline {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #fffdf0;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    color: #7c5f00;
    font-size: 0.9rem;
    line-height: 1.45;
}

.support-note-inline a {
    color: var(--primary-navy);
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
}

.support-ticket-card {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 2rem;
    border: none;
    border-bottom: 4px solid var(--solar-yellow);
    text-align: center;
}

.support-ticket-card h2 {
    color: white;
    margin-bottom: 1rem;
}

.support-ticket-card p {
    color: #cbd5e1;
}

.support-ticket-copy {
    margin: 0 auto 1.25rem;
    max-width: 560px;
}

.support-ticket-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    display: grid;
    gap: 0.5rem;
    max-width: 520px;
    text-align: left;
}

.support-ticket-checklist li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.support-ticket-checklist li::before {
    content: '';
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    background: var(--solar-yellow);
    margin-top: 0.35rem;
}

.support-ticket-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp-support {
    background: #25d366 !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-whatsapp-support svg {
    width: 1.25rem;
    fill: currentColor;
}

.btn-outline-white {
    border-color: white !important;
    color: white !important;
    padding: 1rem 2rem;
    background: transparent;
}

.warranty-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    opacity: 0.8;
    filter: grayscale(1);
    margin-top: 1.25rem;
}

.warranty-logo-row img {
    height: 34px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.warranty-logo-row:hover {
    opacity: 1;
    filter: grayscale(0);
}

@media (max-width: 1024px) {
    .service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-coverage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-anchor-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.8rem;
    }

    .page-anchor-nav a {
        white-space: nowrap;
    }

    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .service-process-card,
    .service-deliverables-card {
        padding: 1.25rem;
    }

    .service-cta-card {
        padding: 1rem;
    }

    .service-cta-card-actions {
        width: 100%;
    }

    .service-cta-card-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .support-ticket-card {
        padding: 2rem 1rem;
    }

    .support-ticket-actions {
        gap: 0.75rem;
    }

    .support-ticket-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* --- END SERVICE / SUPPORT PAGE V2 HELPERS --- */

/* --- HOW WE WORK PAGE V2 --- */
.how-work-hero {
    padding: 7rem 0;
    border-bottom: 2px solid var(--solar-yellow);
}

.how-work-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.35));
}

.how-work-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.how-work-hero-eyebrow {
    color: var(--solar-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin: 0 0 1rem;
}

.how-work-hero-title {
    color: white;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.how-work-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.65;
}

.how-work-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.how-work-hero-actions .btn-primary {
    background: var(--solar-yellow);
    color: var(--primary-navy);
    border: none;
}

.how-work-hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.how-work-hero-step-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    max-width: 960px;
}

.how-work-hero-step-list li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.how-work-hero-step-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: inherit;
    text-decoration: none;
    line-height: 1.2;
}

.how-work-hero-step-link:hover {
    color: #ffffff;
}

.how-work-hero-step-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
    border-radius: 999px;
}

.workflow-stepper-shell {
    display: none;
    margin-top: 1.25rem;
}

.workflow-stepper-nav {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}

.workflow-stepper-tab {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.workflow-stepper-tab:hover,
.workflow-stepper-tab:focus-visible {
    border-color: rgba(15, 52, 96, 0.35);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.workflow-stepper-tab.is-active {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, #fffef7 0%, #fffbeb 100%);
    box-shadow: 0 12px 26px rgba(15, 52, 96, 0.08);
    transform: translateY(-1px);
}

.workflow-stepper-tab-num {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-navy);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.workflow-stepper-tab.is-active .workflow-stepper-tab-num {
    background: var(--solar-yellow);
    color: var(--primary-navy);
}

.workflow-stepper-tab-copy {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.workflow-stepper-tab-kicker {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.workflow-stepper-tab-title {
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.25;
}

.workflow-stepper-panel {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.workflow-stepper-panel-head {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.workflow-stepper-panel-kicker {
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workflow-stepper-panel-title {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.25rem;
}

.workflow-stepper-panel-body {
    padding: 1.25rem 1.5rem;
}

.workflow-stepper-panel-body p {
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 1rem;
    font-size: 0.97rem;
}

.workflow-stepper-panel-body p:last-child {
    margin-bottom: 0;
}

.workflow-stepper-panel-body .accordion-detail-list {
    margin: 0;
}

.workflow-stepper-panel-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(226, 232, 240, 0.75);
    background: #fff;
}

.workflow-stepper-panel-btn {
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--primary-navy);
    border-radius: 10px;
    padding: 0.65rem 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.workflow-stepper-panel-btn:hover,
.workflow-stepper-panel-btn:focus-visible {
    border-color: rgba(15, 52, 96, 0.35);
    background: #fff;
    outline: none;
}

.workflow-stepper-panel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.workflow-stepper-panel-btn:last-child {
    margin-left: auto;
}

.how-work-accordion-step-num-support {
    background: var(--solar-yellow);
    color: var(--primary-navy);
}

.how-work-accordion-footnote {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.how-work-accordion-footnote a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
}

.how-work-service-grid {
    align-items: stretch;
}

.how-work-service-grid .icon-card {
    height: 100%;
}

.how-work-service-grid .icon-card p {
    min-height: 4.2rem;
}

.how-work-final-wrap {
    padding-top: 0;
}

.how-work-final-cta {
    background: var(--primary-navy);
    color: white;
    border: none;
    border-bottom: 4px solid var(--solar-yellow);
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.how-work-final-cta-orb {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.how-work-final-cta-body {
    position: relative;
    z-index: 1;
    text-align: center;
}

.how-work-final-cta h2 {
    color: white;
    margin: 0 0 0.75rem;
}

.how-work-final-cta p {
    color: #cbd5e1;
    margin: 0 auto 1.75rem;
    max-width: 700px;
    line-height: 1.6;
}

.how-work-final-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.how-work-final-actions .btn-primary {
    background: var(--solar-yellow);
    color: var(--primary-navy);
    border: none;
}

.how-work-final-actions .btn-secondary {
    border-color: white;
    color: white;
    background: transparent;
}

@media (max-width: 1024px) {
    .how-work-service-grid .icon-card p {
        min-height: 0;
    }
}

@media (min-width: 1025px) {
    .workflow-stepper-shell.is-ready {
        display: grid;
        grid-template-columns: minmax(260px, 320px) 1fr;
        gap: 1rem;
        align-items: start;
    }

    .workflow-stepper-shell.is-ready + .methodology-accordion {
        display: none;
    }
}

@media (max-width: 768px) {
    .how-work-hero {
        padding: 5.5rem 0;
    }

    .how-work-hero-copy {
        font-size: 1rem;
    }

    .how-work-hero-actions {
        width: 100%;
        gap: 0.75rem;
    }

    .how-work-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .how-work-hero-step-list {
        justify-content: flex-start;
    }

    .how-work-final-cta {
        padding: 2rem 1rem;
    }

    .how-work-final-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* --- END HOW WE WORK PAGE V2 --- */

/* ==============================
   POPULAR CONFIGURATIONS CARDS
   ============================== */

/* Toolbar row above popular configuration presets */
.configs-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

/* Preset selector grid */
.configs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.config-grid-subhead,
.configs-more-item {
    grid-column: 1 / -1;
}

.config-grid-subhead {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
    margin-bottom: -0.1rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.config-grid-subhead::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 52, 96, 0.18);
    flex-shrink: 0;
}

.configs-more-item {
    display: flex;
    justify-content: center;
    margin-top: 0.15rem;
}

.configs-more-btn {
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    border-color: rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.03);
}

.configs-more-btn:hover,
.configs-more-btn:focus-visible {
    border-color: rgba(15, 52, 96, 0.22);
    background: #f8fafc;
}

.configs-more-btn.is-open {
    background: #eef2f7;
    border-color: rgba(15, 52, 96, 0.14);
}

@media (max-width: 1024px) {
    .configs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .configs-grid {
        grid-template-columns: 1fr;
    }
}

/* Base preset card */
.config-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    overflow: hidden;
    isolation: isolate;
}

.config-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(15, 52, 96, 0.9), rgba(251, 191, 36, 0.95));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    z-index: 1;
}

.config-card:hover,
.config-card:focus-within {
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 52, 96, 0.2);
    transform: translateY(-2px);
}

.config-card:hover::before,
.config-card:focus-within::before {
    transform: scaleX(1);
}

.config-card.is-selected {
    border-color: rgba(15, 52, 96, 0.28);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.config-card.is-selected::before {
    transform: scaleX(1);
}

/* Featured / Most Popular card */
.config-card--featured {
    border-color: rgba(251, 191, 36, 0.45);
    background:
        radial-gradient(circle at 88% 8%, rgba(251, 191, 36, 0.12), transparent 34%),
        linear-gradient(180deg, #fffdf6 0%, #ffffff 70%);
    box-shadow: 0 12px 26px rgba(251, 191, 36, 0.14);
}

.config-card--featured:hover {
    box-shadow: 0 18px 30px rgba(251, 191, 36, 0.18);
}

/* "Most Popular" badge */
.config-popular-ribbon {
    align-self: flex-start;
    margin: 0.8rem 0 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 52, 96, 0.08);
    background: #fff4c6;
    color: var(--primary-navy);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    line-height: 1.2;
    z-index: 1;
}

/* Inner content area */
.config-card-inner {
    flex: 1;
    padding: 1rem 1rem 0.95rem;
    display: flex;
    flex-direction: column;
}

/* Leave space when popular badge exists */
.config-card--featured .config-card-inner {
    padding-top: 0.65rem;
}

/* Card header */
.config-card-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.config-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.66rem;
    font-weight: 700;
    color: #334155;
    background: #eef2f7;
    border: 1px solid rgba(148, 163, 184, 0.22);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
}

.config-card--featured .config-badge {
    background: #fff7d6;
    border-color: rgba(251, 191, 36, 0.35);
}

.config-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.25;
    margin-top: 0.35rem;
    margin-bottom: 0;
    text-wrap: balance;
}

.config-spec {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.9);
}

.config-spec-power {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
}

.config-spec-detail {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.76rem;
    color: #475569;
    margin-top: 0.05rem;
    line-height: 1.25;
}

.config-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.config-section-label {
    font-weight: 700;
    font-size: 0.68rem;
    color: #475569;
    margin-bottom: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.config-price-band {
    margin: 0;
    font-size: 0.82rem;
    color: #1f2937;
    background: linear-gradient(180deg, #fffdf4 0%, #ffffff 100%);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    line-height: 1.35;
}

.config-price-band-label {
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.68rem;
    margin-right: 0.35rem;
}

.config-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.config-features li {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #1f2937;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    line-height: 1.25;
}

.config-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.95);
    display: inline-block;
    flex-shrink: 0;
}

/* CTA button - integrated into the card */
.config-cta {
    width: 100%;
    margin: 0;
    border-radius: 0 0 18px 18px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: #fff;
    color: var(--primary-navy);
    font-weight: 700;
    text-align: center;
    padding: 0.85rem 1rem;
    box-shadow: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.config-card:hover .config-cta,
.config-card:focus-within .config-cta {
    background: #f8fafc;
}

.config-card .config-cta.btn-primary,
.config-card--featured .config-cta {
    background: linear-gradient(180deg, #0f3460 0%, #0a2646 100%);
    color: #fff;
    border-top-color: rgba(15, 52, 96, 0.15);
}

.config-card--featured:hover .config-cta,
.config-card--featured:focus-within .config-cta {
    background: linear-gradient(180deg, #124072 0%, #0b2e53 100%);
}

.config-card.is-selected .config-cta {
    background: linear-gradient(180deg, #14532d 0%, #166534 100%);
    color: #fff;
    border-top-color: rgba(34, 197, 94, 0.25);
}

.config-card.is-selected .config-cta::before {
    content: '✓';
    display: inline-block;
    margin-right: 0.4rem;
}

/* Preset guidance text */
.configs-note {
    font-size: 0.84rem;
    color: #475569;
    margin-bottom: 0;
    text-align: center;
    max-width: 56ch;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .config-grid-subhead {
        font-size: 0.75rem;
    }

    .config-card-inner {
        padding: 0.9rem 0.9rem 0.85rem;
    }

    .config-title {
        font-size: 1.05rem;
    }

    .config-spec {
        padding: 0.55rem 0.65rem;
    }

    .config-cta {
        padding: 0.8rem 0.85rem;
        font-size: 0.95rem;
    }

    .configs-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- END POPULAR CONFIGURATIONS --- */



/* Slider label row with value badge */
.calc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.calc-slider-value {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--solar-yellow);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    min-width: 52px;
    text-align: center;
    transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover,
.calc-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.2);
    transform: scale(1.1);
}

.calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-navy);
    border: 3px solid var(--solar-yellow);
    cursor: pointer;
}

.calc-slider:focus {
    outline: 2px solid var(--solar-yellow);
    outline-offset: 3px;
}

/* Addon row: label + ? button as siblings */
.calc-addon-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.addon-label-text {
    flex: 1;
    font-size: 0.9rem;
}

.addon-info-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: white;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.addon-info-btn:hover,
.addon-info-btn:focus {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
    outline: none;
}

/* Tooltip popover - appended to body, positioned:fixed by JS */
.addon-tooltip {
    width: 220px;
    max-width: calc(100vw - 16px);
    background: var(--primary-navy);
    color: #e2e8f0;
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 9999;
    font-weight: 400;
    text-align: left;
    animation: tooltipFadeIn 0.12s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.addon-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary-navy);
}

/* Prominent estimate panel */
.calc-output-prominent {
    position: sticky;
    top: 90px;
    background: white;
    border: 2px solid var(--primary-navy);
    border-top: 4px solid var(--solar-yellow);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.calc-estimate-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .calc-output-prominent {
        position: static;
    }
}

/* --- END CALCULATOR UI UPGRADES --- */

/* Sticky Mobile CTA */
@media (max-width: 767px) {
    .sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
}

/* Journey Timeline Section */
.journey-container {
    position: relative;
    padding: 3rem 0;
}

.journey-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: flex-start;
}

/* Horizontal Line */
.journey-flow::before {
    content: '';
    position: absolute;
    top: 20px;
    /* Center of 40px badge */
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-navy);
    z-index: 1;
}

.journey-stage {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.journey-badge {
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.journey-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.journey-icon svg {
    width: 100%;
    height: 100%;
}

.journey-title {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.journey-desc {
    font-size: 0.875rem;
    /* 14px */
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Hover Effects */
.journey-stage:hover .journey-badge,
.journey-stage:hover .journey-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .journey-flow {
        flex-direction: column;
        gap: 3rem;
        padding-left: 20px;
    }

    .journey-flow::before {
        left: 20px;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
    }

    .journey-stage {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        padding-left: 40px;
    }

    .journey-badge {
        position: absolute;
        left: -20px;
        top: 0;
        margin-bottom: 0;
    }
}


/* --- RESOURCES PAGE --- */

.resources-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.18), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.2), transparent 36%),
        linear-gradient(180deg, #081226 0%, #0f172a 100%);
    color: #fff;
    padding-top: 140px;
    padding-bottom: 80px;
}

/* Resources Hero Split */
.resources-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .resources-hero-split {
        grid-template-columns: 1fr 1.3fr;
    }
}

.resources-hero-text {
    max-width: 520px;
}

.resources-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--solar-yellow);
    margin: 0 0 1rem;
}

.resources-hero-title {
    color: #fff;
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.resources-hero-lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 520px;
    line-height: 1.7;
    margin: 0;
}

.resources-hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.resources-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.resources-hero-pill:hover,
.resources-hero-pill:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.resources-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.resources-hero-media-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.resources-hero-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    display: block;
}

.resources-learning-paths {
    background:
        radial-gradient(circle at 90% 8%, rgba(15, 52, 96, 0.06), transparent 36%),
        linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    scroll-margin-top: 110px;
}

.resources-section-head {
    margin-bottom: 2rem;
}

.resources-section-head h2 {
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.resources-section-head p:last-child {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.resources-section-head-left {
    text-align: left;
    margin-bottom: 1.25rem;
}

.resources-section-head-left h2 {
    margin-top: 0;
}

.resources-section-eyebrow {
    margin: 0 0 0.6rem;
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resources-path-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.resources-path-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.15rem 1.1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-margin-top: 120px;
}

.resources-path-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.resources-path-card-link::after {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: rgba(29, 78, 122, 0.35);
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
}

.resources-path-card-link:hover,
.resources-path-card-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    border-color: rgba(29, 78, 122, 0.18);
    outline: none;
}

.resources-path-card-link:hover::after,
.resources-path-card-link:focus-visible::after {
    transform: translateX(2px);
    color: rgba(29, 78, 122, 0.6);
}

.resources-path-kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-navy);
    font-weight: 700;
}

.resources-path-card h3 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.05rem;
    line-height: 1.3;
}

.resources-path-card>p:not(.resources-path-kicker) {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.resources-path-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: auto;
}

.resources-path-links a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 52, 96, 0.18);
    align-self: flex-start;
}

.learning-path-sidebar-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 0.9rem 0.95rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.learning-path-sidebar-card h3 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    color: var(--primary-navy);
}

.learning-path-sidebar-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.learning-path-checklist {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-muted);
}

.learning-path-checklist li {
    margin-bottom: 0.45rem;
}

.learning-path-topics {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

.learning-path-topic-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 0.95rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.learning-path-topic-top {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.learning-path-topic-step {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--primary-navy);
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.45);
    flex-shrink: 0;
}

.learning-path-topic-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    color: var(--primary-navy);
}

.learning-path-topic-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.learning-path-topic-links {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.learning-path-topic-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.84rem;
}

.learning-path-topic-links a:hover,
.learning-path-topic-links a:focus-visible {
    border-color: rgba(29, 78, 122, 0.26);
    background: #f8fafc;
    color: var(--primary-red);
    outline: none;
}

.learning-path-note {
    margin: 0.9rem 0 0;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #f8fafc;
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.55;
}

.resources-path-links a:hover,
.resources-path-links a:focus-visible {
    border-bottom-color: var(--primary-navy);
    color: var(--primary-red);
    outline: none;
}

.resources-browser-section {
    padding-top: 0;
    padding-bottom: 0;
}

.resources-browser-panel {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.resources-browser-head h2 {
    margin: 0 0 0.6rem;
    color: var(--primary-navy);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.resources-browser-head p:last-child {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.resources-browser-tips {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.resources-browser-tips span {
    color: var(--primary-navy);
    font-weight: 600;
}

.resources-guides-section {
    padding-top: var(--spacing-lg);
    padding-bottom: 0;
    scroll-margin-top: 110px;
}

.resources-cta-section {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.resources-cta-title {
    margin-bottom: 1rem;
}

.resources-cta-copy {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.resources-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resources-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search Input */

.resources-search-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.resources-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.resources-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    outline: none;
}

.resources-search-input:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

/* Category Filters */
.resources-filter-scroll {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.resources-filter-scroll::-webkit-scrollbar {
    display: none;
}

.resources-filter-group {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0 0.25rem;
    white-space: nowrap;
}

.resources-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 2rem;
    border: 1px solid var(--border-light);
    background: var(--color-white);
    color: var(--text-main);
    transition: var(--transition);
}

.resources-filter-btn:hover {
    border-color: var(--primary-navy);
}

.resources-filter-btn.is-active {
    background: var(--primary-navy);
    color: var(--color-white);
    border-color: var(--primary-navy);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.faq-item.is-hidden {
    display: none;
}

/* Featured Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.guide-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.guide-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.guide-card:hover::before {
    transform: scaleY(1);
}

.guide-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guide-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--primary-navy);
}

.guide-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.guide-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-link {
    transform: translateX(4px);
}

.guide-card.is-hidden {
    display: none;
}

/* Resources section differentiation */
.resources-glossary-section .container {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 1.1rem;
}

.resources-section-head-glossary {
    margin-bottom: 1.2rem;
}

.glossary-notes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.glossary-note-card {
    padding: 1rem 1rem 0.95rem;
    border-radius: 16px;
    background: #fff;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.glossary-note-card::before {
    width: 100%;
    height: 3px;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.glossary-note-card:hover::before,
.glossary-note-card:focus-visible::before {
    transform: scaleX(1);
}

.glossary-note-card .guide-card-content {
    gap: 0.15rem;
}

.glossary-note-card .guide-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0.45rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(29, 78, 122, 0.06);
    color: var(--primary-navy);
    border: 1px solid rgba(29, 78, 122, 0.1);
}

.glossary-note-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.glossary-note-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.glossary-note-card .guide-link {
    font-size: 0.84rem;
}

.resources-featured-guides-section .container {
    background:
        radial-gradient(circle at 10% 6%, rgba(29, 78, 122, 0.05), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 24px;
    padding: 1.1rem;
}

.guides-grid-featured {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guide-card-featured {
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 12%, rgba(251, 191, 36, 0.16), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(29, 78, 122, 0.14);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.guide-card-featured .guide-category {
    color: var(--primary-navy);
}

.guide-card-featured h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.8rem;
}

.guide-card-featured p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.resources-practical-guides-section .container {
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 24px;
    padding: 1.1rem;
}

.resources-section-head-practical h2 {
    position: relative;
}

.resources-section-head-practical h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    margin-top: 0.65rem;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.95), rgba(29, 78, 122, 0.5));
}

.guides-grid-practical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.practical-guide-card {
    padding: 1rem;
    border-radius: 16px;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.practical-guide-card .guide-card-content {
    gap: 0.15rem;
}

.practical-guide-card .guide-category {
    margin-bottom: 0.35rem;
    color: #7c2d12;
}

.practical-guide-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.08rem;
}

.practical-guide-card p {
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
}

.practical-guide-card .guide-link {
    color: var(--primary-navy);
}

.practical-guide-card:hover .guide-link {
    color: var(--primary-red);
}

/* Article Redesign */
.article-hero {
    background: var(--primary-navy);
    margin-top: -100px;
    /* Pull into header space */
    padding: 130px 0 60px;
    /* Header space (100px) + 30px breathing room */
    color: var(--color-white);
    text-align: left;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.article-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumbs a:hover {
    color: var(--primary-red);
    opacity: 1;
}

.article-breadcrumbs svg {
    opacity: 0.5;
}

.article-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.article-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 650px;
    line-height: 1.5;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 1.5rem 80px;
    /* Reduced top padding */
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.article-category {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-content h2 {
    margin: 2.5rem 0 1.25rem;
    font-size: 1.75rem;
    color: var(--primary-navy);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: var(--primary-navy);
}

.article-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.related-guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.related-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.related-card span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.related-card h4 {
    font-size: 1.1rem;
    color: var(--primary-navy);
}

@media (max-width: 600px) {
    .related-guides {
        grid-template-columns: 1fr;
    }
}

/* Social Sharing & ToC */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-share {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.article-share span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    background: var(--primary-navy);
    color: var(--color-white);
    border-color: var(--primary-navy);
    transform: translateY(-2px);
}

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.share-btn.x:hover {
    background: #000000;
    border-color: #000000;
}

.article-toc {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.article-toc h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.article-toc ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.article-toc li {
    margin-bottom: 0.5rem !important;
}

.article-toc a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: block;
    padding-left: 1rem;
    border-left: 2px solid transparent;
}

.article-toc a:hover {
    color: var(--primary-red);
    border-left-color: var(--primary-red);
}

@media (min-width: 1200px) {
    .article-container {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: 4rem;
        max-width: 1100px;
    }

    .article-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
        margin-bottom: 0;
    }

    .article-toc {
        background: transparent;
        padding: 0;
    }
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--primary-navy);
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
    padding-right: 1.5rem;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-navy);
}

.faq-answer {
    line-height: 1.6;
    color: var(--text-muted);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    text-align: left;
}

.faq-answer p {
    margin: 0 0 1.5rem 0;
    /* padding bottom replacement inside the height transition */
}

.faq-answer a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.faq-answer a:hover {
    color: var(--solar-yellow);
    text-decoration-color: var(--primary-navy);
}

/* Open State */
.faq-item.is-open {
    border-color: var(--primary-navy);
    box-shadow: var(--shadow-md);
}

.faq-item.is-open .faq-question {
    background-color: #f8fafc;
}

.faq-item.is-open .faq-answer {
    max-height: 800px;
    /* arbitrary large max-height for transition */
    padding-bottom: 0.1px;
    /* activates top padding in p */
    opacity: 1;
}

.no-results-message {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .resources-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glossary-notes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guides-grid-featured {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .guide-card-featured {
        grid-column: span 2;
        min-height: 280px;
    }

    .practical-guide-card .guide-card-content {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr) auto;
        grid-template-areas:
            "category title cta"
            "category desc cta";
        column-gap: 1rem;
        row-gap: 0.25rem;
        align-items: center;
    }

    .practical-guide-card .guide-category {
        grid-area: category;
        margin-bottom: 0;
        align-self: start;
        justify-self: start;
    }

    .practical-guide-card h3 {
        grid-area: title;
        margin-bottom: 0.15rem;
    }

    .practical-guide-card p {
        grid-area: desc;
        margin-bottom: 0;
    }

    .practical-guide-card .guide-link {
        grid-area: cta;
        align-self: center;
        justify-self: end;
        white-space: nowrap;
    }

    .resources-browser-panel {
        padding: 1.75rem 2rem;
    }
}

@media (max-width: 767px) {
    .resources-hero {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    .resources-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .resources-hero-actions .btn {
        width: 100%;
    }

    .resources-browser-panel {
        margin-top: -10px;
        padding: 1rem;
        border-radius: 16px;
    }

    .resources-glossary-section .container,
    .resources-featured-guides-section .container,
    .resources-practical-guides-section .container {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .resources-kb-toolbar {
        padding: 0.8rem;
        border-radius: 14px;
    }
}

/* --- LEARNING CENTER ARTICLE + FAQ REVAMP OVERRIDES --- */
.article-hero {
    background: var(--logo-bg-offwhite);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(29, 78, 122, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 78, 122, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 1;
    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 1;
}

.article-hero-shell {
    max-width: 800px;
}

.fade-delay-100 {
    animation-delay: 0.1s;
}

.fade-delay-200 {
    animation-delay: 0.2s;
}

.fade-delay-300 {
    animation-delay: 0.3s;
}

.article-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(29, 78, 122, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: #294f71;
    backdrop-filter: blur(6px);
    opacity: 1;
}

.article-breadcrumbs a {
    color: var(--primary-navy);
    font-weight: 600;
}

.article-breadcrumbs a:hover {
    color: var(--primary-red);
}

.article-breadcrumbs svg {
    opacity: 0.4;
}

.article-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    max-width: 860px;
    text-wrap: balance;
    color: var(--primary-navy);
}

.article-hero-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    opacity: 1;
    max-width: 680px;
    line-height: 1.65;
    margin: 0;
}

.article-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 1.25rem 90px;
}

.article-main {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.15rem 1.35rem;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.article-meta span {
    line-height: 1.2;
}

.article-category {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    background: rgba(185, 28, 28, 0.08);
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
}

.article-content {
    font-size: 1.04rem;
    line-height: 1.78;
    color: var(--text-main);
}

.article-content>p:first-child {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--solar-yellow);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: #1e293b;
    margin-bottom: 1.35rem;
}

.article-content h2 {
    margin: 2.1rem 0 1rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    color: var(--primary-navy);
    line-height: 1.25;
    padding-left: 0.8rem;
    border-left: 4px solid rgba(251, 191, 36, 0.85);
    scroll-margin-top: 120px;
}

.article-content h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.15rem;
    color: var(--primary-navy);
    scroll-margin-top: 120px;
}

.article-content p {
    margin-bottom: 1.05rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.15rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.1rem;
}

.article-content li::marker {
    color: var(--primary-navy);
}

.article-content strong {
    color: var(--primary-navy);
}

.article-content a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(251, 191, 36, 0.95);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-content a:hover,
.article-content a:focus-visible {
    color: var(--primary-red);
    text-decoration-color: rgba(15, 52, 96, 0.65);
    outline: none;
}

.article-content blockquote {
    margin: 1.25rem 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid var(--primary-navy);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #334155;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}

.article-content code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.08rem 0.35rem;
    font-size: 0.9em;
}

.article-footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.article-footer h3 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.05rem;
}

.related-guides {
    gap: 1rem;
    margin-top: 1rem;
}

.related-card {
    padding: 1rem 1rem 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.related-card:hover {
    background: #fff;
    border-color: rgba(15, 52, 96, 0.2);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.related-card span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    background: #eef2ff;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.related-card h4 {
    margin: 0;
    line-height: 1.35;
}

.article-sidebar {
    gap: 1rem;
}

.article-share,
.article-toc {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    padding: 1rem;
}

.article-share span,
.article-toc h3 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-navy);
}

.article-toc h3 {
    margin-bottom: 0.85rem;
}

.share-buttons {
    gap: 0.5rem;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.article-toc ul {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.article-toc li {
    margin: 0 !important;
}

.article-toc a {
    border-left: none;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid transparent;
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.35;
}

.article-toc a:hover,
.article-toc a:focus-visible {
    color: var(--primary-navy);
    border-color: rgba(15, 52, 96, 0.15);
    background: #fff;
    outline: none;
}

@media (min-width: 1200px) {
    .article-container {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 1.5rem;
        align-items: start;
    }

    .article-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
        margin-bottom: 0;
    }
}

@media (max-width: 1199px) {
    .article-main {
        padding: 1rem;
    }

    .article-sidebar {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .article-hero {
        padding: 120px 0 52px;
    }

    .article-container {
        padding: 28px 1rem 70px;
    }

    .article-main {
        border-radius: 16px;
        padding: 0.9rem;
    }

    .article-meta {
        gap: 0.45rem;
        padding: 0.75rem 0.8rem;
    }

    .article-content {
        font-size: 1rem;
    }
}

.faq-list {
    gap: 0.85rem;
}

.faq-item {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
    scroll-margin-top: 120px;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.85), rgba(251, 191, 36, 0.95));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.22s ease;
}

.faq-item:hover {
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.faq-question {
    padding: 1.15rem 1.1rem 1.05rem;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: 16px;
}

.faq-question:hover {
    background-color: rgba(248, 250, 252, 0.7);
}

.faq-question:focus-visible {
    outline: 3px solid rgba(15, 52, 96, 0.22);
    outline-offset: -3px;
}

.faq-question h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
    padding-right: 0.25rem;
    font-weight: 700;
    text-wrap: balance;
}

.faq-icon {
    color: var(--primary-navy);
    background: rgba(15, 52, 96, 0.06);
    border: 1px solid rgba(15, 52, 96, 0.08);
    border-radius: 999px;
    padding: 0.2rem;
    width: 1.8rem;
    height: 1.8rem;
}

.faq-answer {
    line-height: 1.65;
    color: var(--text-muted);
    padding: 0 1.1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    text-align: left;
}

.faq-answer>p:first-child {
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    color: #334155;
}

.faq-answer p {
    margin: 0 0 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer li::marker {
    color: var(--primary-navy);
}

.faq-answer strong {
    color: var(--primary-navy);
}

.faq-answer a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(251, 191, 36, 0.95);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.faq-answer a:hover,
.faq-answer a:focus-visible {
    color: var(--primary-red);
    text-decoration-color: rgba(15, 52, 96, 0.55);
    outline: none;
}

.faq-item.is-open {
    border-color: rgba(15, 52, 96, 0.22);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.faq-item:target {
    border-color: rgba(15, 52, 96, 0.3);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.faq-item:target::before {
    transform: scaleY(1);
}

.faq-item:target .faq-question {
    background-color: rgba(248, 250, 252, 0.75);
}

.faq-item.is-open::before {
    transform: scaleY(1);
}

.faq-item.is-open .faq-question {
    background-color: transparent;
}

.faq-item.is-open .faq-answer {
    max-height: 1200px;
    padding-bottom: 0.95rem;
    opacity: 1;
}

@media (max-width: 767px) {
    .faq-question {
        padding: 0.95rem 0.95rem 0.9rem;
    }

    .faq-answer {
        padding: 0 0.95rem;
    }
}

.resources-faq-section {
    padding-top: var(--spacing-lg);
}

.resources-faq-controls {
    margin-top: 0.9rem;
    display: flex;
    justify-content: flex-start;
}

.resources-kb-toolbar {
    margin-top: 0.95rem;
    padding: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.resources-kb-toolbar .resources-faq-controls {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.resources-kb-toolbar .resources-search-wrap {
    margin-bottom: 0.7rem;
}

.resources-kb-toolbar .resources-filter-scroll {
    margin-top: 0;
}

.resources-kb-tips {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
}

.resources-faq-toggle {
    min-width: 150px;
}

.resources-faq-collapsible[hidden] {
    display: none !important;
}



/* New Landing Page Styles */
.hero-split {
    display: grid;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}



/* Shared Background Classes */
.hero-bg {
    background-image: url('../images/hero-solar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Fail-Safe UI Placeholders */
.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-placeholder.is-error img {
    display: none;
}

.hero-placeholder.is-error::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--solar-yellow);
    border-radius: 50%;
    top: 25%;
    right: 20%;
    box-shadow: 0 0 40px var(--solar-yellow);
    opacity: 0.8;
    z-index: 1;
    animation: pulse-solar 3s infinite alternate;
}

@keyframes pulse-solar {
    from {
        transform: scale(1);
        opacity: 0.6;
    }

    to {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F0F4F8 0%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--solar-yellow);
}

.img-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--primary-navy);
    opacity: 0.8;
}

/* UI Utility Classes */
.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.m-0 {
    margin: 0;
}

.p-0 {
    padding: 0;
}

.font-sm {
    font-size: 0.9rem;
}

.color-muted {
    color: var(--text-muted);
}

.color-navy {
    color: var(--primary-navy);
}

.color-white {
    color: #fff;
}

.section-center-max {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.section-align-center-gap {
    align-items: center;
    gap: var(--spacing-xl);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.h-full {
    height: 100%;
}

.overflow-hidden {
    overflow: hidden;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific Themes */
.placeholder-accent {
    background: linear-gradient(135deg, var(--bg-surface) 0%, #fff 100%);
}

/* Refactored styles for index.html */
.hero-section-alt {
    padding-top: 2rem;
}

.hero-subhead-boxed {
    margin-bottom: 2rem;
}

.hero-ctas-boxed {
    margin-bottom: 2rem;
}

.hero-image-wrap {
    position: relative;
    z-index: 1;
}

.hero-img-box {
    width: 100%;
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Carousel - Refined */
.hero-media {
    position: relative;
    width: 100%;
    max-width: 2048px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 2048 / 1365;
    background: #0f172a;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-topbar {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.carousel-badge {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 0.85rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.carousel-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-play-toggle,
.carousel-count {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.carousel-play-toggle {
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.55rem 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-play-toggle:hover {
    background: rgba(15, 23, 42, 0.75);
}

.carousel-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
    min-width: 3.7rem;
    justify-content: center;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 400ms ease;
    visibility: hidden;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.05) 35%, rgba(2, 6, 23, 0.42) 100%);
    pointer-events: none;
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 28px;
    line-height: 44px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-btn:focus-visible,
.carousel-play-toggle:focus-visible,
.carousel-tab:focus-visible {
    outline: 2px solid var(--solar-yellow);
    outline-offset: 2px;
}

.carousel-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) auto;
    gap: 1rem 1.25rem;
    padding: 1.1rem 1.15rem 1rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.carousel-panel-copy {
    min-width: 0;
}

.carousel-panel-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-muted);
}

.carousel-panel-title {
    margin: 0;
    color: var(--primary-navy);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.15;
}

.carousel-panel-summary {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 62ch;
}

.carousel-panel-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.carousel-panel-cta {
    white-space: nowrap;
}

.carousel-tab-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.carousel-tab {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 0.7rem 0.75rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 64px;
    transition: var(--transition);
    color: var(--primary-navy);
}

.carousel-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: var(--shadow-sm);
}

.carousel-tab.is-active {
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    border-color: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.carousel-tab-label {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.15;
}

.carousel-tab-meta {
    font-size: 0.72rem;
    line-height: 1.2;
    opacity: 0.78;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .carousel-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .carousel {
        aspect-ratio: 4 / 3;
    }

    .carousel-topbar {
        inset: 0.8rem 0.8rem auto 0.8rem;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .carousel-badge {
        font-size: 0.68rem;
        padding: 0.45rem 0.7rem;
    }

    .carousel-topbar-actions {
        gap: 0.35rem;
    }

    .carousel-play-toggle,
    .carousel-count {
        font-size: 0.75rem;
    }

    .carousel-play-toggle {
        padding: 0.5rem 0.7rem;
    }

    .carousel-count {
        min-width: 3.4rem;
        padding: 0.5rem 0.6rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 24px;
        line-height: 38px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

    .carousel-panel {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 0.95rem 0.95rem 0.95rem;
    }

    .carousel-panel-actions {
        justify-content: flex-start;
    }

    .carousel-panel-cta {
        width: 100%;
        justify-content: center;
    }

    .carousel-tab-list {
        gap: 0.5rem;
    }

    .carousel-tab {
        min-height: 58px;
        padding: 0.6rem 0.65rem;
        border-radius: 12px;
    }

    .carousel-tab-label {
        font-size: 0.84rem;
    }

    .carousel-tab-meta {
        font-size: 0.67rem;
    }
}

@media (max-width: 520px) {
    .carousel-topbar {
        flex-direction: column;
    }

    .carousel-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .carousel-tab-list {
        grid-template-columns: 1fr;
    }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .carousel-btn,
    .carousel-play-toggle,
    .carousel-tab {
        transition: none;
    }
}




.decorative-bg-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--solar-yellow);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.trust-chip svg {
    width: 1rem;
    height: 1rem;
}

.hero-proof-note {
    margin: 0;
    display: inline-block;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 0.65rem 0.9rem;
    box-shadow: var(--shadow-sm);
    max-width: min(100%, 38rem);
}

.hero-proof-note strong {
    color: var(--primary-navy);
}

.hero-proof-note a {
    color: var(--primary-navy);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
}

.hero-proof-note a:hover {
    text-decoration-color: var(--primary-navy);
}

.home-hero-title {
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.1;
}

.home-hero-subhead {
    color: var(--text-main);
    font-weight: 500;
}

.home-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.home-section-header {
    margin-bottom: var(--spacing-xl);
}

.home-section-title-xl {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-section-subcopy {
    max-width: 760px;
    margin: 0 auto;
}

.home-section-subcopy-wide {
    max-width: 800px;
}

.home-section-subcopy-emphasis {
    font-size: 1.1rem;
}

.home-path-card {
    --home-path-accent: var(--primary-navy);
    color: inherit;
    border-top: 4px solid var(--home-path-accent);
    padding-top: 1rem;
    gap: 0.75rem;
}

.home-path-card:hover {
    border-color: var(--home-path-accent);
}

.home-path-card-blue {
    --home-path-accent: #2563eb;
}

.home-path-card-amber {
    --home-path-accent: #d97706;
}

.home-path-card-green {
    --home-path-accent: #15803d;
}

.home-path-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-path-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--home-path-accent);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-light);
    background: color-mix(in srgb, var(--home-path-accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--home-path-accent) 20%, white);
}

.home-path-arrow {
    color: var(--home-path-accent);
    font-size: 1.05rem;
    font-weight: 700;
}

.home-path-card h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0;
}

.home-path-card p {
    margin: 0;
}

.home-path-card .color-muted {
    line-height: 1.55;
}

.home-path-meta {
    margin-top: auto !important;
    padding-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--primary-navy);
    font-weight: 600;
    border-top: 1px dashed var(--border-light);
}

.home-process-card {
    margin-top: var(--spacing-lg);
    padding: 1.5rem;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-process-step {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.9rem;
}

.home-process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--primary-navy);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.home-process-step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.home-process-step p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.home-method-layout {
    align-items: start;
    gap: 2rem;
}

.home-method-card {
    padding: 2rem;
}

.home-method-card-title {
    margin-bottom: 0.5rem;
}

.home-method-card-intro {
    margin-bottom: 1.5rem;
}

.home-benefit-copy {
    min-width: 0;
}

.home-benefit-title {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.2rem;
}

.home-benefit-icon-svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-process-head {
    margin-bottom: 1rem;
}

.home-process-title {
    margin-bottom: 0.4rem;
}

.home-process-link {
    margin-top: 1.25rem;
}

.home-deliverables-card {
    box-shadow: var(--shadow-xl);
    border-bottom: 4px solid var(--solar-yellow);
}

.home-deliverables-title {
    margin-bottom: 0.5rem;
}

.home-deliverables-intro {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.home-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cbd5e1;
}

.home-deliverables-icon {
    flex-shrink: 0;
}

.home-deliverables-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
}

.home-deliverables-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-deliverables-footer-copy {
    color: #cbd5e1;
    margin: 0 0 0.85rem;
}

.home-btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.home-btn-outline-light:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}

.home-center-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-preview-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-preview-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.resource-preview-link {
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-final-grid {
    align-items: center;
    gap: 2rem;
}

.home-final-kicker {
    color: #93c5fd;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-final-title {
    margin-bottom: 1rem;
}

.home-final-copy {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    max-width: 56ch;
}

.home-final-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-promise-title {
    display: block;
    margin-bottom: 0.35rem;
}

.home-promise-copy {
    color: #cbd5e1;
}

.icon-card-icon-wrap.is-water {
    color: #0ea5e9;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.icon-card-icon-wrap.is-electrical {
    color: #ea580c;
    background: #ffedd5;
    border-color: #fed7aa;
}

.icon-card-icon-wrap.is-support {
    color: #2563eb;
    background: #dbeafe;
    border-color: #bfdbfe;
}

.service-card-link {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-img-wrap {
    height: 200px;
    overflow: hidden;
}

.service-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-desc {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.link-with-icon {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.link-with-icon svg {
    width: 16px;
    height: 16px;
}

.benefit-container {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-sizing {
    background: #E0F2FE;
    color: var(--primary-navy);
}

.benefit-icon-safety {
    background: #FEF3C7;
    color: #B45309;
}

.benefit-icon-doc {
    background: #DCFCE7;
    color: #15803D;
}

.checklist-card-alt {
    background: var(--primary-navy);
    color: white;
    border: none;
    padding: 2.5rem;
}

.checklist-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checklist-item-alt {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.checklist-item-alt:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

.process-cta-wrap {
    margin-top: 3rem;
}

.leads-section-alt {
    background: var(--primary-navy);
    color: white;
}

.promise-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.promise-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-sm);
    flex: 1;
}

.wa-text-link {
    color: var(--solar-yellow);
    text-decoration: underline;
}

.form-card-alt {
    background: white;
    color: var(--text-main);
}

.form-success-wrap {
    text-align: center;
    padding: 2rem;
}

.form-success-icon {
    width: 60px;
    height: 60px;
    background: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pricing-card-popular {
    border-color: var(--solar-yellow);
    box-shadow: var(--shadow-md);
}

.pricing-card-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--solar-yellow);
}

@media (max-width: 768px) {
    .hero-proof-note {
        border-radius: 16px;
        max-width: 100%;
    }

    .home-hero-ctas {
        gap: 0.75rem;
    }

    .home-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }

    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-section-title-xl {
        font-size: 2rem;
    }

    .home-method-card {
        padding: 1.25rem;
    }
}

.project-card-wrap {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-img-box {
    height: 220px;
}

.project-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-body p.color-muted {
    flex-grow: 1;
}

.project-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary_navy);
    text-transform: uppercase;
}

.project-quote-box {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary_navy);
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* --- CALCULATOR MODE SELECTOR --- */
.calc-mode-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-surface);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    max-width: fit-content;
    margin: 0 auto;
    border: 1px solid var(--border-light);
}

.calc-mode-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.calc-mode-btn.active {
    background: white;
    color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
}

/* --- SWH ACCORDION --- */
.swh-accordion {
    border-bottom: 1px solid var(--border-light);
}

.swh-accordion:last-child {
    border-bottom: none;
}

.swh-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
}

.swh-accordion-trigger svg {
    transition: transform 0.3s ease;
}

.swh-accordion-trigger.active svg {
    transform: rotate(180deg);
}

.swh-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* --- SWH STYLE BUTTONS (STACKED) --- */
.calc-stack .calc-swh-style-btn {
    transition: var(--transition);
    cursor: pointer;
}

.calc-stack .calc-swh-style-btn.active {
    background: #E0F2FE !important;
    border-color: var(--primary-navy) !important;
    color: var(--primary-navy);
}

.calc-stack .calc-swh-style-btn:hover:not(.active) {
    background: var(--bg-surface) !important;
}

.calc-swh-style-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-swh-style-btn-base {
    flex: 1;
    text-align: left;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 3rem;
    background: white;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-stars {
    color: var(--solar-yellow);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--border-light);
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.5;
    font-family: serif;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    margin-top: auto;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}



/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-navy);
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--bg-surface);
    color: var(--primary-navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -10px;
}

.slider-btn.next {
    right: -10px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-navy);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-slider-container {
        padding: 0;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .slider-btn {
        display: none;
    }
}

/* Pricing Calculator MVP */
.calculator-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-top: 2rem;
}

.pricing-hero {
    padding: 6rem 0;
    background-image: url('../images/hero-pricing-plans.svg');
    background-position: center 42%;
}

.pricing-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 38%, rgba(96, 165, 250, 0.08), transparent 48%),
        linear-gradient(rgba(15, 23, 42, 0.64), rgba(15, 23, 42, 0.72));
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
}

.pricing-hero-title {
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.pricing-popular-subcopy {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.pricing-custom-cta {
    margin-top: 3rem;
}

.pricing-calc-intro {
    margin-bottom: 3rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calc-mode-selector--calculator {
    margin-bottom: 2rem;
}

.calc-panel-water {
    display: none;
}

@media (max-width: 900px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calculator-card {
        padding: 1.5rem;
    }
}

.calc-control-group {
    margin-bottom: 2rem;
}

.calc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.calc-hint-inline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Segmented Buttons */
.calc-type-toggle {
    display: flex;
    background: var(--bg-surface);
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.calc-type-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.calc-type-btn.active {
    background: white;
    color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
}

/* Range Inputs */
.calc-range-wrap {
    position: relative;
    padding: 0.5rem 0 1.5rem;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    touch-action: pan-y;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--solar-yellow);
    border: 3px solid var(--primary-navy);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Checkboxes */
.calc-addons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.calc-addon-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
    flex: 1;
}

.calc-addon-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-navy);
}

/* Output Block */
.calc-output-block {
    background: var(--bg-surface);
    padding: 2.3rem;
    border-radius: var(--radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.calc-estimate-icon {
    width: 1.25rem;
    color: var(--solar-yellow);
}

/* ==============================
   CONTACT PAGE
   ============================== */

.contact-hero {
    padding: 6rem 0;
    background-image: url('../images/service_electrical_1770556700458.png');
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.82));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-eyebrow {
    margin: 0 0 0.75rem;
    color: #bfdbfe;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero-title {
    color: #fff;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contact-hero-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-hero-meta {
    max-width: 760px;
    margin: 1rem auto 0;
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-main-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.contact-layout {
    gap: 4rem;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    height: auto;
}

.contact-card-static:hover,
.contact-form-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--border-light);
}

.contact-section-title {
    margin: 0 0 0.75rem;
    color: var(--primary-navy);
}

.contact-section-copy {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-success {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #14532d;
    line-height: 1.45;
}

.contact-form-success strong {
    color: #166534;
}

.contact-channel-list {
    display: grid;
    gap: 0.75rem;
}

.contact-channel-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contact-channel-card:hover,
.contact-channel-card:focus-visible {
    border-color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    outline: none;
}

.contact-channel-label {
    display: block;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.contact-channel-value {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-subcard-title {
    margin: 0 0 0.75rem;
    color: var(--primary-navy);
    font-size: 1rem;
}

.contact-checklist {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-checklist li + li {
    margin-top: 0.4rem;
}

.contact-hours-card {
    background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #a7f3d0;
}

.contact-hours-grid {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.contact-meta-label {
    margin: 0 0 0.2rem;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-meta-value {
    margin: 0;
    color: #14532d;
    font-weight: 500;
    line-height: 1.45;
}

.contact-route-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.contact-route-links a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 52, 96, 0.25);
}

.contact-route-links a:hover,
.contact-route-links a:focus-visible {
    border-bottom-color: var(--primary-navy);
    outline: none;
}

.contact-form-card {
    align-self: start;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.contact-form-grid .form-group {
    margin-bottom: 0.25rem;
}

.contact-form-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.contact-honeypot {
    display: none;
}

@media (min-width: 768px) {
    .contact-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .contact-layout {
        gap: 2rem;
    }
}

.calc-price-range {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.calc-rec-tag {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.swh-accordions-wrap {
    display: none;
    margin-bottom: 1.5rem;
}

.calc-list-top-gap {
    margin-top: 0.5rem;
}

.calc-micro-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.3;
}

.calc-includes-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.calc-summary {
    margin-top: -0.25rem;
    margin-bottom: 1.25rem;
}

.calc-summary .calc-meta-title {
    margin-bottom: 0.5rem;
}

.calc-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.calc-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--primary-navy);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.calc-includes-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style: disc;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-assumptions {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.calc-meta-title {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 0.01em;
}

.calc-meta-list {
    margin: 0 0 0.8rem;
    padding-left: 1rem;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.calc-meta-list:last-child {
    margin-bottom: 0;
}

.calc-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.calc-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Pricing page visual polish: light-blue tool accents + refined WhatsApp CTA */
#calculator .calc-slider {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

#calculator .calc-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 100%);
}

#calculator .calc-slider::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

#calculator .calc-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -7px;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 3px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

#calculator .calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 3px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

#calculator .calc-slider::-webkit-slider-thumb:hover,
#calculator .calc-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.22), 0 2px 10px rgba(37, 99, 235, 0.2);
}

#calculator .calc-slider:focus::-moz-range-thumb {
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.22), 0 2px 10px rgba(37, 99, 235, 0.2);
}

#calculator .calc-slider:focus {
    outline: none;
    box-shadow: none;
}

#calculator .calc-slider-value {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#calculator .calc-range-labels {
    color: #475569;
}

.btn-whatsapp-estimate {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    color: #0f2f57;
    border: 2px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.btn-whatsapp-estimate::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.14);
    flex-shrink: 0;
}

.btn-whatsapp-estimate:hover:not(:disabled) {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: rgba(37, 99, 235, 0.26);
    color: #0b2e53;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.12);
}

.btn-whatsapp-estimate:hover:not(:disabled)::after {
    opacity: 0.45;
}

/* --- PRICING PAGE REVAMP (plans-first + customize + FAQs) --- */
.pricing-section-eyebrow {
    margin: 0 0 0.6rem;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-section-subcopy {
    max-width: 700px;
    margin: 0.5rem auto 0;
}

.pricing-plans-header {
    margin-bottom: 1.75rem;
}

.pricing-plans-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.pricing-plan-mode-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.pricing-plan-mode-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pricing-plan-mode-btn:hover {
    color: var(--primary-navy);
}

.pricing-plan-mode-btn.active {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

.pricing-plan-mode-btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.pricing-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pricing-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.pricing-plan-card:hover,
.pricing-plan-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.24);
}

.pricing-plan-card.is-selected {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.pricing-plan-card--featured {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.pricing-plan-card-top h3 {
    margin: 0.2rem 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.pricing-plan-subcopy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.pricing-plan-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pricing-plan-chip--popular {
    background: #fef3c7;
    color: #92400e;
}

.pricing-plan-spec {
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--primary-navy);
    font-size: 0.82rem;
    font-weight: 600;
}

.pricing-plan-price-stack {
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.7rem 0.8rem;
}

.pricing-plan-price-label {
    margin: 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-plan-price-value {
    margin: 0.25rem 0 0;
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.pricing-plan-features {
    margin: 0;
    padding-left: 1.05rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    display: grid;
    gap: 0.35rem;
}

.pricing-plan-actions {
    margin-top: auto;
    display: grid;
    gap: 0.6rem;
}

.pricing-plan-select-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.pricing-plan-footer-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.pricing-calc-jump-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 0.85rem;
}

.pricing-calc-jump-links a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 52, 96, 0.24);
}

.pricing-calc-jump-links a:hover,
.pricing-calc-jump-links a:focus-visible {
    border-bottom-color: var(--primary-navy);
    outline: none;
}

.pricing-presets-details {
    margin: 0;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pricing-presets-summary {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    cursor: pointer;
}

.pricing-presets-summary::-webkit-details-marker {
    display: none;
}

.pricing-presets-summary-title {
    color: var(--primary-navy);
    font-weight: 700;
}

.pricing-presets-summary-copy {
    grid-column: 1 / 2;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.pricing-presets-summary-icon {
    grid-row: 1 / span 2;
    align-self: center;
    color: #1d4ed8;
    font-size: 1.25rem;
    font-weight: 700;
}

.pricing-presets-details[open] .pricing-presets-summary {
    border-bottom: 1px solid var(--border-light);
    background: #f8fafc;
}

.pricing-presets-panel {
    padding: 1.25rem 1rem 1rem;
}

.pricing-faq-header {
    margin-bottom: 1.25rem;
}

.pricing-faq-grid {
    display: grid;
    gap: 0.75rem;
    max-width: 920px;
    margin: 0 auto;
}

.pricing-faq-item {
    border: 1px solid var(--border-light);
    background: #fff;
    border-radius: 14px;
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.pricing-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1rem;
    color: var(--primary-navy);
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    padding-right: 2.4rem;
}

.pricing-faq-item summary::-webkit-details-marker {
    display: none;
}

.pricing-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-weight: 700;
    font-size: 1rem;
}

.pricing-faq-item[open] summary::after {
    content: '−';
}

.pricing-faq-item summary:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.22);
    outline-offset: -2px;
    border-radius: 14px;
}

.pricing-faq-answer {
    padding: 0 1rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pricing-faq-answer p {
    margin: 0;
}

.pricing-faq-answer a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--solar-yellow);
    text-decoration-thickness: 2px;
}

.pricing-faq-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .pricing-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .pricing-presets-summary {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 768px) {
    .pricing-plan-mode-group {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .pricing-plan-mode-btn {
        flex: 1 1 48%;
        text-align: center;
    }

    .pricing-calc-jump-links {
        justify-content: center;
    }

    .pricing-presets-panel {
        padding: 1rem 0.75rem 0.75rem;
    }

}

@media (max-width: 640px) {
    .pricing-plan-grid {
        grid-template-columns: 1fr;
    }

    .pricing-plan-footer-actions,
    .pricing-faq-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-plan-footer-actions .btn,
    .pricing-faq-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-plan-card {
        padding: 0.9rem;
    }

    .pricing-presets-summary-copy {
        font-size: 0.82rem;
    }
}
