/*
Theme Name: No Cost Care Foundation
Theme URI: https://nocostcare.org
Author: No Cost Care Foundation
Author URI: https://nocostcare.org
Description: Minimal, monochrome one-page theme for No Cost Care Foundation, with logo-aligned header.
Version: 1.5
License: GNU General Public License v2 or later
Text Domain: nocostcare
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111111;
    line-height: 1.6;
    background-color: #f5f5f3;
}

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

a {
    color: #111111;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    opacity: 0.7;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 4.25rem 0;
}

section:nth-of-type(even) {
    background-color: #ffffff;
}

/* Header: now in normal flow so it doesn't overlap hero */
.site-header {
    position: relative;
    z-index: 20;
    background: #f5f5f3;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem 0.6rem;
    border-bottom: 1px solid #ececea;
}

/* Brand: logo only */
.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-logo {
    width: 140px;
    height: auto;
    border-radius: 0;
    overflow: visible;
}

.brand-text-main,
.brand-text-sub {
    display: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.4rem 1rem;
    gap: 1.2rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
}

.main-navigation a {
    font-weight: 500;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    border-bottom: 1px solid #111111;
    padding-bottom: 0.05rem;
}

/* Mobile nav */
.menu-toggle {
    display: none;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid #dddddd;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 64px;
        right: 1.25rem;
        background-color: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
        padding: 0.75rem 0.9rem 0.9rem;
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        background: transparent;
        box-shadow: none;
        flex-direction: column;
        gap: 0.7rem;
        padding: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Hero: less top padding now that header is separated */
.hero {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background: radial-gradient(circle at top left, #ffffff 0, #f5f5f3 55%, #f0f0ed 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 2.75rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #555555;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 32rem;
    margin-bottom: 1.6rem;
    color: #444444;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 1px solid #111111;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: transparent;
    color: #111111;
    text-decoration: none;
    transition: background 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
    background-color: #111111;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #000000;
}

.btn-outline {
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #111111;
    color: #ffffff;
}

.hero-meta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #5a5a5a;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid #dedede;
    font-size: 0.75rem;
    font-weight: 500;
    color: #222222;
}

.hero-graphic {
    background-color: #ffffff;
    border-radius: 1.75rem;
    padding: 1.75rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e2;
}

.hero-graphic-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.hero-graphic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    font-size: 0.8rem;
}

.hero-graphic-card {
    padding: 0.75rem;
    border-radius: 0.9rem;
    background-color: #f7f7f4;
    border: 1px solid #e5e5e2;
}

.hero-graphic-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #777777;
    margin-bottom: 0.3rem;
}

.hero-graphic-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Sections */
.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #555555;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.section-title {
    font-size: 1.7rem;
    margin: 0 0 0.8rem;
}

.section-intro {
    max-width: 40rem;
    color: #444444;
    margin-bottom: 2.25rem;
}

/* 3-column feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e2;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d0d0cd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #4a4a48;
}

/* Logos row */
.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
}

.logo-pill {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    font-size: 0.8rem;
    font-weight: 500;
    color: #333333;
    border: 1px solid #e2e2df;
}

/* Two-column layout */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* List styles */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "•";
    margin-top: 0.15rem;
    font-size: 0.9rem;
    color: #111111;
}

/* Patient info cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.info-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.3rem;
    border: 1px solid #e5e5e2;
}

.info-card h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.45rem;
}

.info-card p {
    font-size: 0.9rem;
    color: #444444;
}

/* CTA band */
.cta-band {
    background: #111111;
    color: #ffffff;
    border-radius: 1.75rem;
    padding: 2rem 2.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.cta-band h2 {
    margin: 0 0 0.4rem;
    font-size: 1.55rem;
}

.cta-band p {
    margin: 0;
    font-size: 0.95rem;
    max-width: 26rem;
}

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

/* Footer */
.site-footer {
    padding: 2.25rem 0 2.5rem;
    font-size: 0.85rem;
    color: #666666;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e2;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Responsive tweaks */
@media (max-width: 960px) {
    .hero-inner,
    .split,
    .feature-grid,
    .info-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 3.25rem 0;
    }

    .cta-band {
        padding: 1.6rem 1.5rem;
    }
}
