/* ---------------------------------------------------------------- */
/* Brand tokens — light mode only, five colours used throughout:     */
/* ink (text), brand + brand-dark (accents, links), brand-darker     */
/* (hero gradient), surface-alt (soft tint backgrounds)               */
/* ---------------------------------------------------------------- */
:root {
    color-scheme: light;

    --kwu-brand: #ff615e;
    --kwu-brand-dark: #a92813;
    --kwu-brand-darker: #7c1c0d;
    --kwu-ink: #2c2b2d;
    --kwu-ink-muted: rgba(44, 43, 45, 0.7);
    --kwu-surface-alt: #fff6f5;
    --kwu-border: #f2d9d6;

    /* Bring Bootstrap/MDB's own colour variables in line with the brand tokens above */
    --bs-body-color: var(--kwu-ink);
    --bs-body-bg: #ffffff;
    --bs-emphasis-color: var(--kwu-ink);
    --bs-heading-color: var(--kwu-ink);
    --bs-secondary-color: var(--kwu-ink-muted);
    --bs-border-color: var(--kwu-border);
    --bs-link-color: var(--kwu-brand-dark);
    --bs-link-hover-color: var(--kwu-brand-darker);
}

/* ---------------------------------------------------------------- */
/* Base                                                               */
/* ---------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--kwu-ink);
}

/* Bootstrap/MDB underline links by default; recolour instead of the default blue */
a {
    color: var(--kwu-brand-dark);
    text-decoration: underline;
}

a:hover,
a:focus {
    color: var(--kwu-brand-darker);
}

main .container {
    max-width: 1080px;
}

/* ---------------------------------------------------------------- */
/* Navbar                                                             */
/* ---------------------------------------------------------------- */
.navbar {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.brand-line-1 {
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--kwu-ink);
}

.brand-line-2 {
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    color: var(--kwu-ink);
}

.navbar .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--kwu-ink);
    text-decoration: none;
    padding-bottom: 0.35rem;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0;
    height: 2px;
    background: var(--kwu-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
    transform: scaleX(1);
}

/* ---------------------------------------------------------------- */
/* Hero — flat Material surface in the brand colour                  */
/* ---------------------------------------------------------------- */
.hero {
    color: #fff;
    background: linear-gradient(120deg, var(--kwu-brand-darker), var(--kwu-brand-dark));
    padding: 4.5rem 0 5.5rem;
}

.hero-title {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    max-width: 44rem;
    margin-bottom: 1.1rem;
    color: #fff;
}

.hero-lead {
    font-size: 1.1rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
}

.hero-lead a {
    color: #fff;
}

.hero-lead a:hover,
.hero-lead a:focus {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Colour only: shape, uppercase type, elevation and ripple all come from MDB's .btn */
.btn-hero-primary,
.btn-hero-secondary {
    text-decoration: none;
}

.btn-hero-primary {
    background-color: #fff;
    color: var(--kwu-brand-darker);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background-color: #f2f2f2;
    color: var(--kwu-brand-darker);
}

.btn-hero-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ---------------------------------------------------------------- */
/* Section headings                                                   */
/* ---------------------------------------------------------------- */
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--kwu-brand-dark);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    margin-bottom: 0.6rem;
}

.section-lead {
    color: var(--kwu-ink-muted);
    font-size: 1.05rem;
    max-width: 46rem;
    margin-bottom: 2.5rem;
}

/* ---------------------------------------------------------------- */
/* Campaign cards — full-width, expandable to reveal the problem/ask  */
/* text; same MDB card/shadow/rounded recipe as the union cards below */
/* ---------------------------------------------------------------- */
.campaign-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campaign-card {
    width: 100%;
    transition: box-shadow 0.2s ease;
}

.campaign-card .card-body {
    padding: 1.4rem 1.6rem;
}

.campaign-toggle {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.campaign-toggle:focus-visible {
    outline: 2px solid var(--kwu-brand);
    outline-offset: 4px;
    border-radius: 0.25rem;
}

.campaign-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--kwu-surface-alt);
    color: var(--kwu-brand-dark);
    font-size: 1.1rem;
}

.campaign-toggle .card-title {
    flex: 1;
    font-size: 1.12rem;
    line-height: 1.35;
    margin-bottom: 0;
}

.campaign-chevron {
    flex-shrink: 0;
    color: var(--kwu-brand-dark);
    transition: transform 0.25s ease, color 0.2s ease;
}

.campaign-toggle:hover .campaign-chevron,
.campaign-toggle:focus-visible .campaign-chevron {
    color: var(--kwu-brand);
}

.campaign-toggle[aria-expanded="true"] .campaign-chevron {
    transform: rotate(180deg);
}

.campaign-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.campaign-content.is-open {
    grid-template-rows: 1fr;
}

.campaign-content-inner {
    overflow: hidden;
    min-height: 0;
    padding-top: 1.4rem;
}

.campaign-block {
    margin-bottom: 1rem;
}

.campaign-block:last-child {
    margin-bottom: 0;
}

.campaign-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.campaign-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--kwu-brand-dark);
    margin-bottom: 0.4rem;
}

.campaign-ask {
    padding-top: 1rem;
    border-top: 1px solid var(--kwu-border);
}

/* ---------------------------------------------------------------- */
/* Solidarity / union finder section                                  */
/* ---------------------------------------------------------------- */
.info-panel {
    background: var(--kwu-surface-alt);
    border-radius: 0.5rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.info-panel p {
    margin-bottom: 0;
}

.country-notice {
    background: #fff8e6;
    border: 1px solid #f0d999;
    border-left: 4px solid #b8860b;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.union-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.union-toolbar .form-select {
    min-width: 12rem;
}

#union-hint {
    margin-bottom: 1.5rem;
}

#union-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.local-union {
    width: 100%;
    transition: box-shadow 0.2s ease;
}

.local-union .card-body {
    padding: 1.4rem;
}

.local-union .card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.union-logo {
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.4rem;
}

/* Shared elevation lift for both card grids on hover/focus */
.campaign-card:hover,
.campaign-card:focus-within,
.local-union:hover,
.local-union:focus-within {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

/* ---------------------------------------------------------------- */
/* Footer                                                             */
/* ---------------------------------------------------------------- */
.footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--kwu-brand-dark);
    margin-bottom: 0.85rem;
}

footer p {
    color: var(--kwu-ink-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sdg-badges img {
    height: 96px;
    width: 96px;
}

.footer-legal p {
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .sdg-badges {
        justify-content: flex-start !important;
        margin-top: 1rem;
    }

    .footer-legal .text-end {
        text-align: left !important;
    }
}

/* ---------------------------------------------------------------- */
/* Header "Join Us" Button                                            */
/* ---------------------------------------------------------------- */
.btn-nav-join {
    background-color: var(--kwu-brand);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 1.15rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-nav-join:hover,
.btn-nav-join:focus {
    background-color: var(--kwu-brand-dark);
    color: #fff !important;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* ---------------------------------------------------------------- */
/* Join Page Components                                               */
/* ---------------------------------------------------------------- */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kwu-brand-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.privacy-tips-box,
.opsec-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.privacy-tips-box h3,
.opsec-box h3 {
    font-size: 1.15rem;
    color: var(--kwu-ink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tip-card {
    border: 1px solid #e9ecef !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tip-card:hover {
    border-color: #ced4da !important;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08) !important;
}

.tip-item,
.opsec-item {
    margin-bottom: 1.2rem;
}

.tip-item:last-child,
.opsec-item:last-child {
    margin-bottom: 0;
}

.tip-item h4,
.opsec-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--kwu-ink);
    margin-bottom: 0.35rem;
}

.tip-item p,
.opsec-item p {
    font-size: 0.95rem;
    color: var(--kwu-ink-muted);
    margin-bottom: 0;
}

.route-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.65rem;
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.route-card:hover {
    border-color: #ced4da;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.12), 0 6px 20px 0 rgba(0, 0, 0, 0.08);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.route-header h3 {
    font-size: 1.25rem;
    color: var(--kwu-ink);
    margin-bottom: 0;
}

.route-badge {
    background: #f1f3f5;
    color: var(--kwu-ink);
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.route-card ol,
.route-card ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.route-card li {
    margin-bottom: 0.65rem;
}

.route-card li:last-child {
    margin-bottom: 0;
}

.code-pill {
    background: #e9ecef;
    color: var(--kwu-ink);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.88em;
}

.privacy-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 0.5rem;
    padding: 1.4rem 1.6rem;
    margin-bottom: 2.5rem;
}

.privacy-banner h3 {
    color: #166534;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-banner p {
    color: #14532d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.privacy-banner p:last-child {
    margin-bottom: 0;
}

.cta-banner {
    background: linear-gradient(120deg, var(--kwu-brand-darker), var(--kwu-brand-dark));
    color: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
}

.verification-example-img {
    max-height: 220px;
    width: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verification-example-img:hover {
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------- */
/* FAQ Accordion Styling                                            */
/* ---------------------------------------------------------------- */
.faq-accordion-item {
    background: #fff;
    border: 1px solid #e9ecef !important;
    border-radius: 0.65rem !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-accordion-item:hover {
    border-color: #ced4da !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-accordion-button {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--kwu-ink) !important;
    background-color: #fff !important;
    padding: 1.15rem 1.4rem;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
}

.faq-accordion-button:not(.collapsed) {
    color: var(--kwu-brand-dark) !important;
    background-color: #fcfcfc !important;
    border-bottom: 1px solid #f1f3f5;
}

.faq-accordion-button::after {
    margin-left: auto;
}

.faq-accordion-body {
    padding: 1.25rem 1.4rem 1.5rem;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}



