:root {
    --brand-primary: #6b705c;
    --brand-secondary: #a5a58d;
    --brand-accent: #ddbea9;
    --brand-dark: #2c302e;
    --brand-bg: #f0ede5;
    --brand-bg-alt: #e9e5db;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-mega { letter-spacing: 0.3em; }

/* Custom Header Styles */

.navbar {
    background-color: rgba(230, 226, 216, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #d2cdc2;
    height: 80px;
}

.logo-box {
    background-color: var(--brand-primary);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.flag-img {
    width: 18px;
    height: auto;
    display: block;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(44, 48, 46, 0.7) !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--brand-primary) !important;
}

/* Buttons */
.btn-brand-primary {
    background-color: var(--brand-primary);
    color: white;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 24px;
    border: none;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-brand-primary:hover {
    background-color: var(--brand-dark);
    color: white;
}

.btn-brand-outline {
    background-color: rgba(221, 190, 169, 0.2);
    color: var(--brand-dark);
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 24px;
    border: none;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-brand-outline:hover {
    background-color: rgba(221, 190, 169, 0.4);
}

.btn-dark-custom {
    background-color: var(--brand-dark);
    color: white;
    border-radius: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 16px;
    font-size: 0.875rem;
    border: none;
    width: 100%;
}

.btn-dark-custom:hover {
    background-color: var(--brand-primary);
    color: white;
}

/* Calculator Styles */
.calculator-card {
    background: white;
    padding: 48px;
    border: 1px solid rgba(221, 190, 169, 0.3);
    border-radius: 2px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quote-form-container {
    background-color: #fff;
    padding: 40px;
    border: 1px solid rgba(221, 190, 169, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.calculator-card,
.quote-form-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calculator-form-row .calculator-card,
.calculator-form-row .quote-form-container {
    height: 100%;
}

input[type=range].form-range::-webkit-slider-thumb {
    background: #ffffff;
    border: 4px solid var(--brand-primary);
    width: 24px;
    height: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-top: -8px;
}

.profit-range {
    accent-color: var(--brand-primary);
}

.profit-range::-webkit-slider-runnable-track {
    height: 8px;
    background: #dcded7;
    border-radius: 999px;
}

.profit-range::-moz-range-track {
    height: 8px;
    background: #dcded7;
    border-radius: 999px;
}

.profit-range::-webkit-slider-thumb {
    margin-top: -8px;
}

.stat-box {
    border: 1px solid rgba(221, 190, 169, 0.2);
    padding: 24px;
    text-align: center;
    background: #fff;
}

.stat-box.highlight {
    background-color: var(--brand-primary);
    color: white;
    border: none;
}

.calc-range-labels {
    font-size: 1.05rem;
}

.calc-range-center {
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1;
}

.profit-total-box {
    padding-top: 28px;
    padding-bottom: 28px;
}

.calculator-disclaimer {
    border-top: 1px solid rgba(221, 190, 169, 0.25);
    padding-top: 18px;
    margin-top: 6px;
}

.disclaimer-icon {
    font-size: 18px;
    margin-top: 2px;
}

/* Quote Form */
.form-label-custom {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(44, 48, 46, 0.5);
    margin-bottom: 6px;
    display: block;
}

.form-control,
.form-select {
    border: 1px solid rgba(221, 190, 169, 0.3);
    background-color: #EDF2E9 !important;
    border-radius: 0;
    padding: 12px;
    font-size: 0.875rem;
    border-color: #D0D4C9;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--brand-primary);
    background-color: rgba(255, 255, 255, 1);
}

.form-control::placeholder {
    color: #666;
}

.upload-area {
    background-color: #EDF2E9;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 4px;
    border: 1px solid rgba(221, 190, 169, 0.3);
    height: 100%;
}

.trusted-heading {
    max-width: 780px;
}

.trusted-story-card {
    padding: 40px 36px;
    border-radius: 2px;
    border: 1px solid rgba(221, 190, 169, 0.3);
    box-shadow: none;
}

.quote-mark {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.story-text {
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--brand-dark);
}

.story-name {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.story-org {
    font-size: 0.95rem;
}

/* Utility */
.section-padding { padding: 96px 0; }
.text-brand-primary { color: var(--brand-primary) !important; }
.bg-brand-alt { background-color: var(--brand-bg-alt); }
.grayscale { filter: grayscale(100%); opacity: 0.5; transition: all 0.3s ease; }
.grayscale:hover { filter: grayscale(0%); opacity: 1; }
.hover-white:hover { color: white !important; }

.hero-graphic {
    width: 100%;
}

.hero-graphic img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#calculator,
#quote {
    scroll-margin-top: 110px;
}

#quote {
    display: block;
    position: relative;
}

/* Feature row */
.feature-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 10px;
    margin: 40px 0 0;
    list-style: none;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.feature-row li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: inherit;
    white-space: normal;
    text-align: center;
}

.feature-row .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    color: var(--brand-primary);
}

/* Full-width fundraiser band */
.fundraiser-band {
    width: 100%;
    background: #f5f2ec;
    padding: 90px 0 70px;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.fundraiser-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.fundraiser-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.fundraiser-text {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    color: rgba(44, 48, 46, 0.68);
    font-size: 1.05rem;
    line-height: 1.7;
}


.fundraiser-mockup {
    max-width: 980px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

/* Footer */
.footer-dark {
    background: #1b1c1a;
    color: #f0ede5;
}

.footer-dark .logo-box {
    width: 32px;
    height: 32px;
    background: #b08b57;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(240, 237, 229, 0.78) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff !important;
}

.footer-dark p {
    color: rgba(240, 237, 229, 0.68);
}

.footer-dark .small {
    color: rgba(240, 237, 229, 0.68);
}

.footer-dark .text-white-50 {
    color: rgba(240, 237, 229, 0.68) !important;
}

.footer-dark .text-muted {
    color: rgba(240, 237, 229, 0.62) !important;
}

.footer-dark a {
    color: rgba(240, 237, 229, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-dark a:hover {
    color: #ffffff !important;
}

.icon {
    cursor: pointer;
    opacity: 0.72;
    color: rgba(240, 237, 229, 0.82);
    transition: opacity 0.2s ease, color 0.2s ease;
}

.icon:hover {
    opacity: 1;
    color: #ffffff;
}

.store-box {
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
}

.store-box small {
    color: rgba(240, 237, 229, 0.6);
}

.text-accent {
    color: #c89a63;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(240, 237, 229, 0.55) !important;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(240, 237, 229, 0.78) !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff !important;
}

.flag {
    width: 16px;
    height: 12px;
    background: red;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .calculator-card { padding: 32px 24px; }
    .quote-form-container { padding: 28px 24px; }

    .navbar {
        background-color: #e6e2d8;
        border-bottom: 1px solid #d2cdc2;
        min-height: 80px;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-brand {
        flex: 1 1 auto;
    }

    .navbar-toggler {
        margin-left: auto;
        padding: 0;
        box-shadow: none !important;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 14px;
        padding-top: 14px;
        padding-bottom: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background-color: #e6e2d8;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 12px 0;
    }

    .mobile-quote-wrap .btn-brand-primary {
        display: block;
        width: 100%;
    }

    .hero-graphic img {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .feature-row {
        gap: 18px;
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .feature-row li {
        width: 100%;
        font-size: 12px;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-dark {
        text-align: center;
    }

    .footer-dark .row > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 10px;
    }

    .footer-dark .d-flex {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .store-box {
        text-align: center;
    }
}