:root {
    --golf-green-dark: #064225;
    --golf-green: #0b6b3a;
    --golf-green-light: #eaf5ed;

    --usa-navy: #12325b;
    --usa-blue: #1f5a99;
    --usa-red: #b22234;
    --usa-red-dark: #8f1c2a;

    --white: #ffffff;
    --off-white: #f6f8fb;
    --text: #18221c;
    --muted: #68716c;
    --border: #d8dee5;

    --page-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--text);
    background: var(--off-white);
}

body {
    margin: 0;
}

a {
    color: inherit;
}

.page-width {
    width: min(calc(100% - 40px), var(--page-width));
    margin: 0 auto;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.site-logo {
    width: 220px;
    height: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-top: 6px solid var(--usa-red);
    border-bottom: 4px solid var(--usa-navy);
    box-shadow: 0 3px 12px rgba(18, 50, 91, 0.12);
}

.nav-wrapper {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--golf-green-dark);
    text-decoration: none;
    line-height: 1;
}

.brand-flag {
    color: var(--usa-red);
    font-size: 36px;
    transform: rotate(-4deg);
}

.brand strong {
    display: block;
    font-size: 20px;
    letter-spacing: 0.04em;
}

.brand small {
    display: block;
    margin-top: 5px;
    color: var(--usa-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.powered-by {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.powered-by-header {
    color: var(--golf-green);
}

.powered-by-header:hover {
    color: var(--usa-red);
    transform: translateY(-1px);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.main-nav a {
    color: var(--usa-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--usa-red);
    transform: translateY(-1px);
}

.main-nav a.button {
    color: var(--off-white);
}

.main-nav a.button:hover {
    color: var(--white);
}
/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.button {
    display: inline-flex;
    min-height: 46px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--golf-green);
    border-radius: 6px;
    background: var(--golf-green);
    color: var(--white);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(6, 66, 37, 0.18);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    background: var(--golf-green-dark);
    border-color: var(--golf-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(6, 66, 37, 0.24);
}

.button-small {
    min-height: 40px;
    padding: 0 16px;
}

.button-patriotic {
    background: var(--usa-red);
    color: var(--off-white);
    border-color: var(--usa-red-dark);
    box-shadow: 0 4px 10px rgba(178, 34, 52, 0.22);
}

.button-patriotic:hover {
    background: var(--usa-red-dark);
    border-color: var(--usa-red);
    color: var(--white);
}

.button-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.button-outline:hover {
    background: var(--white);
    color: var(--usa-navy);
    border-color: var(--white);
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    position: relative;
    padding: 36px 0 54px;
    background:
        linear-gradient(
            135deg,
            var(--golf-green-dark),
            var(--usa-navy)
        );
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid var(--white);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-brand-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: contain;
}

.hero-search-panel {
    padding: 28px;
    border-top: 5px solid var(--usa-red);
    border-bottom: 5px solid var(--usa-navy);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.hero-search-panel h1 {
    margin: 0 0 6px;
    color: var(--usa-navy);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.1;
}

.hero-search-panel .hero-text {
    max-width: none;
    margin: 0 0 12px;
    color: var(--muted);
}
.hero-search-panel .course-search-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background:
        linear-gradient(
            90deg,
            var(--usa-red) 0 33.33%,
            var(--white) 33.33% 66.66%,
            var(--usa-blue) 66.66%
        );
}

.hero-overlay {
    min-height: inherit;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(30px, 6vw, 42px);
    line-height: 1.01;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.hero-text {
    max-width: 720px;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.25;
}

/* --------------------------------------------------
   SEARCH FORM
-------------------------------------------------- */

.course-search-form {
    display: grid;
    grid-template-columns:
        105px
        1fr
        145px
        1.4fr
        auto;
    gap: 12px;
    padding: 17px;
    background: var(--white);
    border-top: 5px solid var(--usa-red);
    border-bottom: 5px solid var(--usa-navy);
    border-radius: 9px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.search-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--usa-navy);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.search-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-field input:focus {
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 3px rgba(31, 90, 153, 0.13);
}

.search-button {
    align-self: end;
    height: 44px;
    background: var(--usa-navy);
    border-color: var(--usa-navy);
    box-shadow: 0 4px 10px rgba(18, 50, 91, 0.22);
}

.search-button:hover {
    background: var(--usa-blue);
    border-color: var(--usa-blue);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

/* --------------------------------------------------
   BENEFITS
-------------------------------------------------- */

.benefits {
    padding: 72px 0 80px;
    background: var(--white);
    text-align: center;
}

.benefits h2,
.claim-section h2,
.page-heading h1 {
    margin: 0;
    color: var(--usa-navy);
    font-size: 36px;
}

.claim-section h2 {
    color: var(--off-white);
}

.section-intro {
    margin: 10px 0 36px;
    color: var(--muted);
    font-size: 17px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-top: 5px solid var(--golf-green);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(18, 50, 91, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.benefit-card:nth-child(2) {
    border-top-color: var(--usa-navy);
}

.benefit-card:nth-child(3) {
    border-top-color: var(--usa-red);
}

.benefit-card:nth-child(4) {
    border-top-color: var(--golf-green-dark);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 50, 91, 0.14);
}

.benefit-icon {
    color: var(--golf-green);
    font-size: 38px;
}

.benefit-card h3 {
    margin: 15px 0 10px;
    color: var(--usa-navy);
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* --------------------------------------------------
   CLAIM SECTION
-------------------------------------------------- */

.claim-section {
    position: relative;
    padding: 70px 0;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            var(--golf-green-dark),
            var(--usa-navy)
        );
    border-top: 6px solid var(--usa-red);
    border-bottom: 6px solid var(--usa-navy);
}

.claim-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    opacity: 0.08;
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0 20px,
            var(--white) 20px 40px
        );
}

.claim-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.claim-layout p {
    max-width: 760px;
    line-height: 1.7;
}

/* --------------------------------------------------
   SEARCH RESULTS PAGE
-------------------------------------------------- */

.search-page {
    padding: 58px 0 84px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f4f7fb
        );
}

.page-heading {
    margin-bottom: 30px;
    text-align: center;
}

.page-heading p {
    color: var(--muted);
}

.search-page-form {
    margin-bottom: 36px;
}

.results-heading {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--usa-red);
}

.results-heading h2 {
    margin: 0;
    color: var(--usa-navy);
}

.course-list {
    display: grid;
    gap: 18px;
}

.course-result {
    display: grid;
    grid-template-columns: 190px 1fr 170px;
    gap: 22px;
    padding: 19px;
    border: 1px solid var(--border);
    border-left: 6px solid var(--golf-green);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 7px 20px rgba(18, 50, 91, 0.08);
}

.course-image-placeholder {
    min-height: 130px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background:
        linear-gradient(
            135deg,
            var(--golf-green-light),
            #edf3fa
        );
    color: var(--golf-green);
    font-size: 48px;
}

.course-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.course-title-row h3 {
    margin: 0 0 5px;
    color: var(--usa-navy);
    font-size: 23px;
}

.course-location {
    margin: 0;
    color: var(--muted);
}

.course-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 18px 0;
    color: var(--text);
    font-size: 14px;
}

.badge {
    padding: 7px 10px;
    border-radius: 4px;
    background: #eef1f4;
    color: #59615c;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.badge-verified {
    background: var(--golf-green-light);
    color: var(--golf-green-dark);
}

.badge-featured {
    background: #fff0c2;
    color: #7f5a00;
    border: 1px solid #e4c05e;
}

.course-result-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.text-link {
    color: var(--usa-red);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.empty-results {
    padding: 62px 30px;
    border: 2px dashed #aeb9c5;
    border-radius: 9px;
    background: var(--white);
    text-align: center;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.site-footer {
    padding: 42px 0;
    color: var(--white);
    background:
        linear-gradient(
            90deg,
            var(--golf-green-dark),
            var(--usa-navy)
        );
    border-top: 6px solid var(--usa-red);
}

.site-footer strong {
    font-size: 20px;
}

.site-footer p {
    margin-bottom: 0;
    color: #dbe6f0;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.powered-by-footer {
    color: var(--off-white);
}

.powered-by-footer:hover {
    color: var(--white);
    transform: translateY(-1px);
}

/* --------------------------------------------------
   COMING SOON PAGE
-------------------------------------------------- */

.coming-soon {
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    padding: 48px 0;
    background:
        linear-gradient(
            135deg,
            var(--golf-green-dark),
            var(--usa-navy)
        );
}

.coming-soon-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 48px;
}

.coming-soon-image {
    overflow: hidden;
    border: 4px solid var(--off-white);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.coming-soon-image img {
    display: block;
    width: 100%;
    height: auto;
}

.coming-soon-content {
    color: var(--off-white);
}

.coming-soon-eyebrow {
    margin: 0 0 12px;
    color: var(--off-white);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.coming-soon-content h1 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.98;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.coming-soon-text {
    max-width: 560px;
    margin: 0 0 16px;
    color: var(--off-white);
    font-size: 18px;
    line-height: 1.65;
}

.coming-soon-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-left: 5px solid var(--usa-red);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.powered-by-coming-soon {
    display: block;
    width: fit-content;
    margin-top: 26px;
    color: var(--off-white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.powered-by-coming-soon:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .coming-soon-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .coming-soon-image {
        max-width: 760px;
        margin: 0 auto;
    }

    .coming-soon-content {
        text-align: center;
    }

    .coming-soon-text {
        margin-left: auto;
        margin-right: auto;
    }

    .powered-by-coming-soon {
        margin-left: auto;
        margin-right: auto;
    }
    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px 18px;
    }

    .contact-field-full {
        grid-column: auto;
    }
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 960px) {
    .main-nav a:not(.button) {
        display: none;
    }

    .course-search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-button {
        grid-column: span 2;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-result {
        grid-template-columns: 150px 1fr;
    }

    .course-result-actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .page-width {
        width: min(calc(100% - 24px), var(--page-width));
    }

    .nav-wrapper {
        min-height: 72px;
    }

    .course-search-form,
    .benefit-grid,
    .course-result {
        grid-template-columns: 1fr;
    }

    .search-button {
        grid-column: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hero-actions,
    .claim-layout,
    .course-result-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .course-title-row {
        flex-direction: column;
    }

    .benefits h2,
    .claim-section h2,
    .page-heading h1 {
        font-size: 30px;
    }

    /* --------------------------------------------------
   CONTACT PAGE
-------------------------------------------------- */

.contact-page {
    min-height: calc(100vh - 170px);
    padding: 64px 0 84px;
    background:
        linear-gradient(
            180deg,
            var(--white),
            var(--off-white)
        );
}

.contact-layout {
    max-width: 860px;
}

.contact-heading {
    margin-bottom: 32px;
    text-align: center;
}

.contact-eyebrow {
    margin: 0 0 8px;
    color: var(--usa-red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-heading h1 {
    margin: 0;
    color: var(--usa-navy);
    font-size: clamp(36px, 6vw, 52px);
}

.contact-heading p:last-child {
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 32px;
    border: 1px solid var(--border);
    border-top: 6px solid var(--golf-green);
    border-bottom: 6px solid var(--usa-navy);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(18, 50, 91, 0.12);
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--usa-navy);
    font-size: 13px;
    font-weight: 800;
}

.contact-field label span {
    color: var(--usa-red);
}

.contact-field label .optional-label {
    color: var(--muted);
    font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-field input,
.contact-field select {
    height: 46px;
}

.contact-field textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 3px rgba(31, 90, 153, 0.13);
}

.contact-actions {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.contact-actions .button {
    min-width: 190px;
}

.contact-note {
    margin-top: 28px;
    padding: 22px 26px;
    border-left: 6px solid var(--usa-red);
    border-radius: 6px;
    background: var(--usa-navy);
    color: var(--white);
    text-align: center;
    box-shadow: 0 8px 22px rgba(18, 50, 91, 0.14);
}

.contact-note strong {
    font-size: 17px;
}

.contact-note p {
    margin: 7px 0 0;
    color: var(--off-white);
    line-height: 1.6;
}
}