:root {
    --schoolBlue: #0a4184;
    --schoolBlueDark: #09356e;
    --schoolGreen: #18a75a;
    --schoolGreenSoft: #eef6f0;
    --pageBackground: #ffffff;
    --cardBackground: #ffffff;
    --borderSoft: #dfe8e2;
    --textInk: #17314d;
    --textMuted: #556575;
    --footerBlue: #09356e;
    --smallShadow: 0 6px 18px rgba(10, 65, 132, 0.08);
    --largeRadius: 20px;
    --mediumRadius: 16px;
    --pillRadius: 999px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--pageBackground);
    color: var(--textInk);
    font-family: "Segoe UI", Arial, sans-serif;
}

#heroSection,
#categorySection,
#benefitSection,
#providerSection,
#footerSection {
    scroll-margin-top: 92px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
}

.pageShell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.topHeader {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #edf2ef;
}

.headerShell {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brandBlock {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 auto;
}

.logoHorizontal {
    display: block;
    width: auto;
    height: 52px;
    max-width: 340px;
    object-fit: contain;
}

.mainNav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #394c62;
    font-size: 15px;
    white-space: nowrap;
}

.mainNav a {
    position: relative;
}

.mainNav .activeNavItem::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 4px;
    border-radius: var(--pillRadius);
    background: var(--schoolGreen);
}

.supportButton {
    padding: 12px 22px;
    border-radius: 14px;
    background: var(--schoolBlue);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(9, 53, 110, 0.12);
}

.pageMain {
    padding-bottom: 30px;
}

.heroSection {
    display: grid;
    grid-template-columns: 38% 62%;
    align-items: stretch;
    height: 250px;
    margin-top: 6px;
    overflow: hidden;
}

.heroContent {
    position: relative;
    z-index: 2;
    height: 250px;
    padding: 16px 22px 12px 0;
    background: #ffffff;
    overflow: hidden;
}

.heroContent::after {
    content: "";
    position: absolute;
    top: 0;
    right: -26px;
    width: 52px;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.heroContent h1 {
    margin: 0 0 10px;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.heroTitleBlue {
    display: block;
    color: var(--schoolBlue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3.4vw, 33px);
    font-weight: 700;
}

.heroTitleGreen {
    display: block;
    color: var(--schoolGreen);
    font-size: clamp(16px, 2.5vw, 25px);
    font-weight: 500;
}

.heroContent p {
    max-width: 380px;
    margin: 0 0 14px;
    color: var(--textMuted);
    font-size: 14px;
    line-height: 1.45;
}

.primaryButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--pillRadius);
    background: var(--schoolGreen);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(24, 167, 90, 0.18);
}

.buttonIcon {
    font-size: 18px;
    line-height: 0;
}

.heroVisual {
    position: relative;
    min-width: 0;
    height: 250px;
    overflow: hidden;
}

.heroImage {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.categorySection {
    padding: 24px 0 24px;
}

.sectionTitleLine {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: min(700px, 100%);
    margin: 0 auto 22px;
}

.sectionTitleLine span {
    height: 2px;
    background: #78b89a;
}

.sectionTitleLine h2 {
    margin: 0;
    color: var(--schoolBlue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
}

.categoryTiles {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
}

.categoryTile {
    min-height: 128px;
    padding: 14px 12px;
    border: 1px solid #ecf1ee;
    border-radius: var(--mediumRadius);
    background: #ffffff;
    box-shadow: var(--smallShadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.categoryTile:hover,
.categoryTile:focus-visible,
.activeCategoryTile {
    transform: translateY(-2px);
    border-color: #b7e2c6;
    box-shadow: 0 10px 20px rgba(24, 167, 90, 0.12);
}

.categoryImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.categoryName {
    color: var(--schoolBlue);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.categoryCount {
    color: var(--textMuted);
    font-size: 14px;
}

.benefitSection {
    margin-top: 6px;
    padding: 16px 18px 18px;
    border-radius: var(--largeRadius);
    background: var(--schoolGreenSoft);
}

.sectionHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.sectionTitleWithIcon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sectionIcon {
    color: var(--schoolGreen);
    font-size: 24px;
}

.sectionHeader h2 {
    margin: 0;
    color: var(--schoolBlue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
}

.sectionLink {
    color: var(--schoolBlue);
    font-size: 14px;
    font-weight: 700;
}

.benefitStrip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.benefitCard {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--smallShadow);
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 158px;
}

.benefitImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #edf3ef;
}

.benefitBody {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefitProvider {
    color: var(--schoolBlue);
    font-size: 14px;
    font-weight: 700;
}

.benefitTitle {
    color: var(--schoolBlueDark);
    font-size: 24px;
    line-height: 1.02;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.benefitDescription {
    color: var(--textMuted);
    font-size: 14px;
    line-height: 1.42;
}

.benefitValidity {
    align-self: flex-start;
    margin-top: auto;
    padding: 7px 12px;
    border-radius: var(--pillRadius);
    background: #eff6ef;
    color: #5c6d62;
    font-size: 13px;
    font-weight: 700;
}

.providerSection {
    padding: 26px 0 24px;
}

.providerHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.providerTitleWrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.providerTitleWrap h2 {
    margin: 0;
    color: var(--schoolBlue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
}

.providerTitleWrap span {
    display: block;
    height: 2px;
    background: #78b89a;
}

.providerControls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.searchInputWrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 250px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dbe6de;
    border-radius: var(--pillRadius);
    background: #ffffff;
}

.searchIcon {
    color: var(--schoolGreen);
    font-size: 14px;
}

.searchInput {
    width: 100%;
    border: 0;
    outline: none;
    color: var(--textInk);
    font-size: 14px;
    background: transparent;
}

.sortSelect,
.smallTextButton {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #dbe6de;
    border-radius: 12px;
    background: #ffffff;
    color: var(--textInk);
    font-size: 14px;
}

.smallTextButton {
    cursor: pointer;
    font-weight: 600;
}

.resultCount {
    margin-bottom: 12px;
    color: #6a7d71;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
}

.providerCards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.providerCard {
    overflow: hidden;
    border: 1px solid #ecf1ee;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--smallShadow);
}

.providerImageWrap {
    position: relative;
    height: 210px;
    background: #eef4f1;
}

.providerImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.providerCategoryPill {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--pillRadius);
    background: #ffffff;
    color: var(--schoolBlue);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(9, 53, 110, 0.10);
}

.providerBody {
    padding: 16px 16px 18px;
}

.providerName {
    margin: 0 0 10px;
    color: var(--schoolBlue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.18;
}

.providerDescription {
    margin: 0 0 12px;
    color: var(--textMuted);
    font-size: 14px;
    line-height: 1.5;
}

.providerAddress {
    margin-bottom: 10px;
    color: var(--textMuted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.recommendedBy {
    margin-bottom: 10px;
    color: var(--schoolBlueDark);
    font-size: 14px;
    font-weight: 700;
}

.couponList {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.couponChip {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--schoolGreenSoft);
    color: var(--textInk);
    font-size: 14px;
    line-height: 1.45;
}

.couponChip strong {
    display: block;
    margin-bottom: 4px;
    color: var(--schoolBlue);
    font-size: 14px;
}

.contactLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contactLink {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe6de;
    border-radius: var(--pillRadius);
    background: #ffffff;
    color: var(--schoolBlue);
    font-size: 14px;
    font-weight: 700;
}

.infoBand {
    position: relative;
    margin-bottom: 0;
    padding: 18px 18px 14px;
    border: 1px solid #e6eeee;
    border-radius: 18px 18px 0 0;
    background: #f7faf9;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    overflow: hidden;
}

.disclaimerBand {
    position: relative;
    margin-bottom: 0;
    padding: 18px 18px 14px;
    border: 1px solid #e6eeee;
    border-radius: 0 0 18px 18px;
    background: #f7faf9;
    gap: 16px;
    overflow: hidden;
}

.infoBand article {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 82px;
}

.infoBand strong {
    color: var(--schoolBlue);
    font-size: 14px;
}

.infoBand span {
    color: var(--textMuted);
    font-size: 14px;
    line-height: 1.45;
}

.disclaimerBand span {
    color: var(--textMuted);
    font-size: 12px;
	font-style: italic;
    line-height: 1;
}

.footerMascot {
    position: absolute;
    right: 8px;
    bottom: -4px;
    width: 94px;
    height: auto;
}

.pageFooter {
    background: var(--footerBlue);
    color: #ffffff;
}

.footerInner {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 14px;
}

.heartIcon {
    color: #9fe3be;
}

.emptyState {
    margin-top: 12px;
    padding: 18px;
    border: 1px dashed #c8d6cc;
    border-radius: 14px;
    color: var(--textMuted);
    background: #fbfdfc;
}

.hiddenState {
    display: none;
}

.uiAutocomplete {
    border: 1px solid #dfe8e2 !important;
    border-radius: 14px !important;
    box-shadow: var(--smallShadow) !important;
    overflow: hidden;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 10px 14px !important;
    border: 0 !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: var(--schoolGreenSoft) !important;
    color: var(--schoolBlue) !important;
}

@media (max-width: 1200px) {
    .headerShell {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .mainNav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 24px;
    }

    .mainNav .activeNavItem::after {
        bottom: -10px;
    }

    .heroSection {
        grid-template-columns: 1fr;
        height: auto;
    }

    .heroContent {
        height: auto;
        padding: 24px 0 18px;
    }

    .heroContent::after {
        display: none;
    }

    .heroVisual,
    .heroImage {
        height: 300px;
    }

    .heroVisual {
        border-radius: 22px;
    }

    .categoryTiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .benefitStrip,
    .providerCards,
    .infoBand {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pageShell {
        width: min(100%, calc(100% - 24px));
    }

    .logoHorizontal {
        height: 42px;
        max-width: 100%;
    }

    .mainNav {
        font-size: 14px;
    }

    .supportButton {
        width: 100%;
        text-align: center;
    }

    .heroSection {
        height: auto;
    }

    .heroContent {
        height: auto;
    }

    .sectionTitleLine h2,
    .sectionHeader h2,
    .providerTitleWrap h2 {
        font-size: 28px;
    }

    .sectionHeader,
    .providerHeader,
    .providerControls,
    .footerInner {
        flex-direction: column;
        align-items: stretch;
    }

    .providerTitleWrap {
        grid-template-columns: 1fr;
    }

    .providerTitleWrap span {
        display: none;
    }

    .searchInputWrap {
        width: 100%;
    }

    .categoryTiles,
    .benefitStrip,
    .providerCards,
    .infoBand {
        grid-template-columns: 1fr;
    }

    .benefitCard {
        grid-template-columns: 1fr;
    }

    .footerInner {
        min-height: auto;
        padding: 18px 0;
        gap: 8px;
    }
	.infoDisclaimer {
		display: block;
		width: min(1280px, calc(100% - 32px));
		margin: -1px auto 0;
		padding: 5px 9px 6px;
		background: #f7faf9;
		border-left: 1px solid #e6eeee;
		border-right: 1px solid #e6eeee;
		color: var(--textMuted);
		font-size: 12px;
		line-height: 1;
		text-align: center;
	}
}
