/** Partner page styles — extracted from partner-with-us.html (v=20260805) */
:root {
            /* Refined Premium Palette */
            --primary-green: #007305;
            --primary-hover: #005a04;
            --dark-green: #004b04;
            --accent-blue: #0079c6;
            --accent-light: #e6f0fa;
            --text-main: #1a1f1b;
            --text-light: #525a54;
            --bg-light: #f5FAF6;
            --bg-white: #ffffff;
            --border-color: #e5ebe7;

            /* Shadows & Transitions for Depth */
            --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
            --border-radius: 12px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Playfair Display', 'Times New Roman', serif;
            line-height: 1.7;
            color: var(--text-main);
            background-color: var(--bg-light);
            -webkit-font-smoothing: antialiased;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        h1,
        h2,
        h3,
        .serif-text {
            font-family: 'Playfair Display', serif;
            color: var(--dark-green);
            line-height: 1.25;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5%;
        }

        /* --- Header & Navigation --- */
        header {
            background: rgba(255, 255, 255, 0.95);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(229, 235, 231, 0.5);
            transition: all 0.4s ease;
        }

        header.scrolled {
            box-shadow: var(--shadow-sm);
        }

        .top-bar {
            background: var(--dark-green);
            color: rgba(255, 255, 255, 0.9);
            padding: 8px 0;
            font-size: 0.85rem;
            transition: all 0.4s ease;
            overflow: hidden;
        }

        .top-bar-content {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .top-bar a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: var(--transition);
        }

        .top-bar a:hover {
            color: white;
        }

        .top-contact-info {
            display: flex;
            gap: 20px;
        }

        .top-contact-info a {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .top-action-btn {
            display: flex;
            align-items: center;
        }

        .top-action-btn a {
            background: rgba(255, 255, 255, 0.15);
            padding: 4px 14px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            text-transform: uppercase;
        }

        .top-action-btn a:hover {
            background: white;
            color: var(--dark-green);
            transform: translateY(-2px);
        }

        header.scrolled .top-bar {
            padding: 0;
            max-height: 0;
            opacity: 0;
            pointer-events: none;
        }

        .main-nav-container {
            padding: 15px 0;
            transition: padding 0.4s ease;
        }

        header.scrolled .main-nav-container {
            padding: 10px 0;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            gap: 12px;
        }

        .nav-logo img {
            height: 80px;
            width: auto;
            transition: var(--transition);
        }

        .logo-text-stack {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .logo-text-stack strong {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            color: var(--primary-green);
            line-height: 1.1;
            letter-spacing: 0.5px;
        }

        .logo-text-stack span {
            font-family: 'Playfair Display', 'Times New Roman', serif;
            font-size: 0.7rem;
            color: var(--accent-blue);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        header.scrolled .nav-logo img {
            height: 60px;
        }

        /* Nav: header-premium.css + site-responsive.css + site-typography.css */


        
        
        /* Ensure content blocks are centered with breathing room */
        

        /* page-hero: hero-premium.css + site-responsive.css */

        /* --- Page Content --- */
        main {
            flex-grow: 1;
            padding-top: 40px;
            padding-bottom: 80px;
        }

        .content-card {
            background: var(--bg-white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            padding: 60px;
            max-width: 1200px; border: none; box-shadow: none; background: transparent; padding: 40px 0;
            margin: 0 auto;
        }

        .page-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-title h1 {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .divider {
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--primary-green));
            margin: 0 auto 30px;
            border-radius: 4px;
        }

        .legal-content h3 {
            font-size: 1.3rem;
            margin-top: 35px;
            margin-bottom: 15px;
            color: var(--dark-green);
            font-family: 'Playfair Display', 'Times New Roman', serif;
        }

        .legal-content p {
            margin-bottom: 20px;
            color: var(--text-light);
        }

        /* Footer: footer-premium.css + common-interactive.js */

        @media (max-width: 768px) {

            .content-card {
                padding: 30px 20px;
            }

        }
        /* --- Partner With Us Styles --- */
        .section-box {
            background: white;
            border-radius: var(--border-radius);
            padding: 50px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            margin-bottom: 50px;
        }

        .section-box h3 {
            font-size: 2rem;
            color: var(--dark-green);
            margin-bottom: 25px;
            border-bottom: 2px solid var(--bg-light);
            padding-bottom: 15px;
        }

        /* Accordion specific to Partnerships */
        .partner-accordion {
            margin-top: 30px;
        }

        .partner-acc-item {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            margin-bottom: 15px;
            overflow: hidden;
            transition: var(--transition);
        }

        .partner-acc-item.active {
            border-color: var(--primary-green);
            box-shadow: 0 4px 12px rgba(0, 115, 5, 0.08);
        }

        .partner-acc-header {
            padding: 20px 25px;
            background: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-main);
        }

        .partner-acc-header i {
            color: var(--primary-green);
            transition: transform 0.3s ease;
        }

        .partner-acc-item.active .partner-acc-header i {
            transform: rotate(180deg);
        }

        .partner-acc-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            background: var(--bg-light);
        }

        .partner-acc-content {
            padding: 25px;
            border-top: 1px solid rgba(0,0,0,0.05);
        }

        .partner-acc-content p {
            margin-bottom: 15px;
            color: var(--text-light);
            line-height: 1.6;
        }

        .partner-acc-content ul {
            list-style-type: none;
            padding: 0;
            margin-bottom: 15px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
            gap: 10px;
        }

        .partner-acc-content li {
            position: relative;
            padding-left: 20px;
            color: var(--text-main);
            font-size: 0.95rem;
        }

        .partner-acc-content li::before {
            content: "\f111";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 6px;
            color: var(--primary-green);
            position: absolute;
            left: 0;
            top: 8px;
        }

        .acc-highlight {
            background: white;
            padding: 15px;
            border-radius: 6px;
            border-left: 3px solid var(--accent-blue);
            font-style: italic;
            color: var(--text-main);
            margin-top: 20px;
        }

        /* Timeline block */
        .framework-box {
            background: var(--dark-green);
            color: #fff;
            padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
            border-radius: var(--border-radius);
            text-align: center;
            margin-bottom: clamp(28px, 4vw, 40px);
            box-shadow: 0 12px 32px rgba(0, 75, 4, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.12);
            max-width: 960px;
            margin-left: auto;
            margin-right: auto;
        }

        .framework-box__title {
            font-size: clamp(1.45rem, 3vw, 2rem);
            margin-bottom: 10px;
            color: #fff;
        }

        .framework-subtitle {
            font-size: clamp(0.95rem, 2vw, 1.05rem);
            color: rgba(255, 255, 255, 0.92);
            max-width: 640px;
            margin: 0 auto 16px;
            line-height: 1.6;
        }

        .timeline-flex {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px 10px;
            margin: 16px auto 14px;
            max-width: 820px;
            font-family: 'Inter', sans-serif;
            font-size: clamp(0.88rem, 1.8vw, 1rem);
            font-weight: 700;
        }

        .timeline-flex i {
            color: #86efac;
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .timeline-step {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 999px;
            padding: 10px 18px;
            min-width: min(160px, 100%);
            color: #fff;
            transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .timeline-step:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.32);
        }

        .framework-principles {
            border-top: 1px solid rgba(255, 255, 255, 0.18);
            margin-top: 14px;
            padding-top: 14px;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
            max-width: 820px;
            margin-left: auto;
            margin-right: auto;
        }

        .framework-principles span {
            font-size: clamp(0.78rem, 1.6vw, 0.9rem);
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.16);
            color: #fff;
            transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
        }

        .framework-principles span:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.28);
        }

        @media (max-width: 768px) {
            .framework-box {
                padding: 22px 16px;
            }

            .timeline-flex {
                flex-direction: column;
                gap: 8px;
                margin: 14px auto 12px;
            }

            .timeline-step {
                width: 100%;
                max-width: 280px;
            }

            .timeline-flex i {
                transform: rotate(90deg);
                font-size: 0.75rem;
            }

            .framework-principles {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }
        }

        @media (max-width: 420px) {
            .framework-principles {
                grid-template-columns: 1fr;
            }
        }

        .forms-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 50px;
        }

        .proposal-form {
            background: white;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .proposal-form h3 {
            font-size: 1.6rem;
            color: var(--primary-green);
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-main);
            font-size: 0.9rem;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            background: var(--bg-light);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-green);
            background: white;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-top: 10px;
            width: 100%;
        }

        .checkbox-label {
            display: grid;
            grid-template-columns: 20px 1fr;
            align-items: start;
            column-gap: 12px;
            row-gap: 4px;
            font-size: 0.95rem;
            line-height: 1.45;
            cursor: pointer;
            text-align: left;
            width: 100%;
        }

        .checkbox-label input[type="checkbox"],
        .checkbox-label input[type="radio"] {
            width: 18px !important;
            height: 18px !important;
            min-width: 18px !important;
            min-height: 18px !important;
            max-width: 18px !important;
            margin: 2px 0 0;
            padding: 0;
            flex-shrink: 0;
            accent-color: var(--primary-green);
            cursor: pointer;
            justify-self: start;
        }

        .checkbox-label span {
            text-align: left;
            line-height: 1.45;
            min-width: 0;
        }

        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 18px;
            margin-top: 10px;
            width: 100%;
        }

        .radio-group .checkbox-label {
            display: inline-grid;
            grid-template-columns: 20px auto;
            width: auto;
            min-width: 0;
        }

        @media (max-width: 900px) {
            .forms-grid {
                grid-template-columns: 1fr;
            }
        }

    
        
        
        
        
        /* -- Typography Structure Button Rules -- */
        .btn, button, .submit-btn, .nav-btn {
            font-family: 'Inter', sans-serif !important;
            font-weight: 600 !important;
            font-size: 16px !important;
            letter-spacing: 0.5px !important;
        }
        /* -- Typography Structure Body Rules -- */
        body, p, li, a, span {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 18px;
            line-height: 1.65;
        }
        @media (max-width: 768px) {
            body, p, li, a, span {
                font-size: 16px;
                line-height: 1.6;
            }
        }
        /* -- Typography Structure H3 Rules -- */
        h3 {
            font-family: 'Inter', sans-serif !important;
            font-weight: 600 !important;
            font-size: 24px !important;
        }
        @media (max-width: 768px) {
            h3 {
                font-size: 22px !important;
            }
        }
        /* -- Typography Structure H2 Rules -- */
        h2, .section-title {
            font-family: 'Playfair Display', serif !important;
            font-weight: 600 !important;
            font-size: 36px !important;
            line-height: 1.25 !important;
        }
        @media (max-width: 768px) {
            h2, .section-title {
                font-size: 32px !important;
            }
        }
        /* -- Typgraphy Structure H1 Rules -- */
        h1, .page-title h1, .hero-title {
            font-family: 'Playfair Display', serif !important;
            font-weight: 700 !important;
            font-size: min(max(34px, 5vw), 56px) !important;
            line-height: 1.2 !important;
        }
        @media (max-width: 768px) {
            h1, .page-title h1, .hero-title {
                font-size: 40px !important;
            }
        }
    
        
        /* --- GLOBAL CARD INTERACTIVITY OVERRIDE --- */
        .value-item {
            background: rgba(255, 255, 255, 0.5) !important;
            padding: 25px !important;
            border-radius: 12px !important;
            border: 1px solid rgba(0, 115, 5, 0.05) !important;
            transition: all 0.4s ease !important;
        }

        .value-item:hover {
            transform: translateY(-5px) !important;
            background: white !important;
            box-shadow: 0 15px 35px rgba(0, 75, 4, 0.06) !important;
            border-color: rgba(0, 115, 5, 0.15) !important;
        }
        
        .diff-badge {
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        }

        .diff-badge:hover {
            transform: translateY(-4px) scale(1.05) !important;
            background: white !important;
            box-shadow: 0 15px 25px rgba(0, 115, 5, 0.12) !important;
            border-color: rgba(0, 115, 5, 0.3) !important;
            color: var(--primary-green) !important;
        }

        /* --- GLOBAL BUTTON OPTIMIZATION OVERRIDE --- */
        .btn, .btn-primary, .btn-outline, .btn-card, .btn-outline-green, .submit-btn, .nav-btn, button:not(.ha-mobile-bottom-nav__item) {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
            border-radius: 50px !important;
            text-transform: uppercase !important;
            letter-spacing: 1px !important;
        }
        
        .btn-primary:hover, .btn-outline:hover, .btn-outline-green:hover, .submit-btn:hover {
            box-shadow: 0 8px 25px rgba(0, 115, 5, 0.4) !important;
            transform: translateY(-3px) scale(1.02) !important;
        }

/* Valid rules — legacy block above is trapped inside a malformed :root declaration */
html.ha-unified body.page-partner .proposal-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color, #e5ebe7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-align: left;
}

html.ha-unified body.page-partner .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main, #1a1f1b);
    font-size: 0.9rem;
    text-align: left;
}

html.ha-unified body.page-partner .checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
    text-align: left;
}

html.ha-unified body.page-partner .checkbox-label {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    cursor: pointer;
    text-align: left;
}

html.ha-unified body.page-partner .checkbox-label input[type="checkbox"],
html.ha-unified body.page-partner .checkbox-label input[type="radio"] {
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    margin: 3px 0 0;
    padding: 0;
    accent-color: var(--primary-green, #007305);
    cursor: pointer;
}

html.ha-unified body.page-partner .checkbox-label span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    line-height: 1.45;
}

html.ha-unified body.page-partner .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    width: 100%;
    margin-top: 10px;
    text-align: left;
}

html.ha-unified body.page-partner .radio-group .checkbox-label {
    width: auto;
    flex: 0 1 auto;
}
