:root {
    --green: #003f24;
    --green-light: #0d5c38;
    --gold: #b89a42;
    --paper: rgba(255, 255, 255, 0.94);
    --text: #10251b;
    --muted: #555;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        linear-gradient(
            to bottom,
            rgba(0, 20, 12, 0.88) 0%,
            rgba(0, 35, 20, 0.70) 20%,
            rgba(0, 35, 20, 0.30) 45%,
            rgba(0, 35, 20, 0.45) 100%
        ),
        url("../assets/course-bg.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px;
}

.hero-home {
    text-align: center;
    margin-bottom: 18px;
    padding: 8px 12px 4px;
    background: transparent;
    box-shadow: none;
}

.home-logo {
    max-width: 270px;
    width: 72%;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7))
        contrast(1.08)
        saturate(1.1);
}

.hero-home h1,
.title-rule {
    display: none;
}

.hero-home p {
    margin: 0;
    color: white;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.format-section {
    margin-bottom: 16px;
}

.format-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.format-section h2::before,
.format-section h2::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.format-section h2::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.menu-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr 24px;
    align-items: center;
    gap: 14px;
    min-height: 116px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card::before {
   display: none;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
}

.icon-badge {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 1.9rem;
    line-height: 1;
}

.icon-badge.muted {
    background: #5f5f5f;
}

.card-content h3 {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 1.4rem;
    line-height: 1;
}

.card-content p {
    margin: 0;
    color: #222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.94rem;
    line-height: 1.28;
}

.chevron {
    color: var(--green);
    font-size: 2.35rem;
    font-family: system-ui, sans-serif;
    line-height: 1;
}

.disabled-card {
    opacity: 0.72;
    pointer-events: none;
}

.soon-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    padding: 4px 8px;
    text-transform: uppercase;
    font-family: system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.7);
}

.feature-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 22px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(0, 63, 36, 0.96);
    color: white;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.feature-bar div {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(184, 154, 66, 0.55);
}

.feature-bar div:last-child {
    border-right: none;
}

.feature-bar strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    text-transform: uppercase;
    font-family: system-ui, sans-serif;
    font-size: 0.9rem;
}

.feature-bar span {
    display: block;
    font-family: system-ui, sans-serif;
    font-size: 0.86rem;
    line-height: 1.35;
}

@media (max-width: 760px) {
    body {
        background-attachment: scroll;
    }

    .home-container {
        padding: 10px;
    }

    .hero-home {
        padding: 4px 8px 2px;
        margin-bottom: 12px;
    }

    .home-logo {
        max-width: 230px;
        width: 76%;
        margin-bottom: 6px;
    }

    .hero-home p {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .format-section {
        margin-bottom: 12px;
    }

    .format-section h2 {
        font-size: 0.78rem;
        margin-bottom: 8px;
        gap: 8px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .menu-card {
        display: grid;
        grid-template-columns: 46px 1fr 14px;
        gap: 9px;
        min-height: 112px;
        padding: 11px;
        border-radius: 16px;
    }

    .menu-card::before {
        display: none;
    }

    .icon-badge {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .card-content p {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .chevron {
        font-size: 1.45rem;
    }

    .soon-badge {
        right: 8px;
        bottom: 8px;
        font-size: 0.55rem;
        padding: 2px 5px;
        border-radius: 6px;
    }

    .feature-bar {
        grid-template-columns: repeat(4, 1fr);
        border-radius: 16px;
        margin-top: 14px;
    }

    .feature-bar div {
        padding: 10px 5px;
    }

    .feature-bar strong {
        font-size: 0.58rem;
        margin-bottom: 4px;
    }

    .feature-bar span {
        font-size: 0.55rem;
        line-height: 1.25;
    }
}

.date-row {
    padding: 0 0.85rem 0.85rem;
}

.date-row input {
    width: 100%;
}

.greensomes-hcp-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 0 0.85rem 0.85rem;
}

@media (max-width: 600px) {

    .greensomes-hcp-row {
        grid-template-columns: 1fr;
    }

}
