*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --g50: #E1F5EE; --g100: #9FE1CB; --g200: #5DCAA5;
  --g500: #1D9E75; --g700: #0F6E56; --g900: #085041;
  --text: #1a1a1a; --muted: #6b7280; --border: #e5e7eb; --bg: #fff;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; }

/* NAV */
nav { background: var(--g900); height: 60px; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1060px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-family: 'DM Serif Display', serif; font-size: 17px; color: #fff; text-decoration: none; }
.logo span { color: var(--g200); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.65); padding: 6px 12px; border-radius: 6px; text-decoration: none; transition: all 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* HERO */
.hero { background: var(--g900); padding: 64px 40px 80px; }
.hero-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 500; color: var(--g200); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: 40px; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 28px; }
.search-wrap { display: flex; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); }
.search-wrap input { flex: 1; padding: 13px 16px; background: transparent; border: none; font-size: 14px; color: #fff; font-family: 'DM Sans', sans-serif; outline: none; }
.search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.search-wrap button { padding: 13px 20px; background: var(--g500); border: none; color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s; white-space: nowrap; }
.search-wrap button:hover { background: var(--g700); }
.hero-stats { display: flex; flex-direction: column; gap: 14px; }
.hero-stat { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.hero-stat-icon { width: 40px; height: 40px; background: rgba(93,202,165,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.hero-stat-num { font-size: 20px; font-weight: 500; color: #fff; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* WAVE */
.wave { background: var(--g900); line-height: 0; }
.wave svg { display: block; width: 100%; }

/* PAGE HERO */
.page-hero { background: var(--g50); border-bottom: 1px solid var(--g100); padding: 40px 40px 0; }
.page-hero-inner { max-width: 1060px; margin: 0 auto; padding-bottom: 32px; }
.eyebrow { font-size: 11px; font-weight: 500; color: var(--g500); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: 30px; color: var(--g900); margin-bottom: 6px; }
.page-hero p { font-size: 15px; color: var(--muted); }

/* CONTAINER & SECTION */
.container { max-width: 1060px; margin: 0 auto; padding: 0 40px; }
.section { padding: 52px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-eyebrow { font-size: 11px; font-weight: 500; color: var(--g500); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--g900); margin-bottom: 4px; }
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: inherit; display: block; transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: #b0c4bc; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--g50); border: 1px solid var(--g100); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--g700); flex-shrink: 0; }
.card-name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.card-sub { font-size: 12px; color: var(--muted); }
.card-arrow { margin-left: auto; color: var(--g500); font-size: 18px; flex-shrink: 0; }
.card-detail { font-size: 12px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; font-size: 11px; padding: 3px 10px; border-radius: 20px; margin-top: 10px; font-weight: 500; background: #d1fae5; color: #065f46; }
.card-more { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-style: dashed !important; }
.card-more-title { font-size: 13px; font-weight: 500; color: var(--g500); }
.card-more-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* FILTER */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-bar input { flex: 1; min-width: 220px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; }
.filter-bar input:focus { border-color: var(--g500); }

/* PROGRAM CARDS */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.program-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 22px; text-decoration: none; color: inherit; display: block; transition: border-color 0.15s; }
.program-card:hover { border-color: #b0c4bc; }
.program-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--g50); border: 1px solid var(--g100); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.program-title { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--g900); margin-bottom: 6px; }
.program-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.program-link { font-size: 13px; color: var(--g500); font-weight: 500; margin-top: 12px; display: block; }

/* CTA TILES */
.cta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cta-tile { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s; }
.cta-tile:hover { border-color: #b0c4bc; }
.cta-icon { font-size: 20px; }
.cta-title { font-size: 14px; font-weight: 500; }
.cta-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* SPOED BANNER */
.spoed-banner { background: var(--g900); border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.spoed-banner h2 { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.spoed-banner p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 460px; }
.spoed-num { font-size: 28px; font-weight: 500; color: var(--g200); letter-spacing: -0.5px; }
.spoed-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.spoed-right { text-align: right; flex-shrink: 0; }
.spoed-hours { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 12px; }

/* DETAIL */
.detail-hero { background: var(--g900); padding: 48px 40px; }
.detail-hero-inner { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.detail-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--g500); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: #fff; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.2); }
.detail-hero h1 { font-family: 'DM Serif Display', serif; font-size: 26px; color: #fff; margin-bottom: 4px; }
.detail-hero .sub { font-size: 14px; color: rgba(255,255,255,0.6); }
.detail-layout { max-width: 1060px; margin: 0 auto; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dcard { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.dcard:last-child { margin-bottom: 0; }
.dcard h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.drow { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; gap: 16px; }
.drow:last-child { border-bottom: none; }
.drow-l { color: var(--muted); }
.drow-r { font-weight: 500; text-align: right; }
.map-wrap { border-radius: 8px; overflow: hidden; height: 200px; margin-top: 12px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--g700); text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: var(--g900); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: all 0.2s; text-decoration: none; margin-top: 12px; }
.btn-primary { background: var(--g500); color: #fff; }
.btn-primary:hover { background: var(--g700); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* FORMS */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 13px; border: 1px solid var(--border); border-radius: 7px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--g500); }
.form-group textarea { height: 90px; resize: vertical; }

/* INFO PAGES */
.info-body { max-width: 720px; }
.info-body h2 { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--g900); margin: 32px 0 12px; }
.info-body h2:first-child { margin-top: 0; }
.info-body p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.info-body ul { padding-left: 20px; margin-bottom: 16px; }
.info-body li { font-size: 15px; line-height: 1.8; margin-bottom: 6px; }
.tip-box { background: var(--g50); border-left: 3px solid var(--g500); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0; font-size: 14px; color: var(--g900); }
.warn-box { background: #fff8f0; border-left: 3px solid #f59e0b; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0; font-size: 14px; color: #78350f; }

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-icon { width: 36px; height: 36px; background: var(--g50); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

/* FOOTER */
footer { background: var(--g900); padding: 48px 40px 32px; margin-top: 48px; }
.footer-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 18px; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--g200); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--g200); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1060px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 48px 16px 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .container { padding: 0 16px; }
  .page-hero { padding: 24px 16px 0; }
  .detail-hero { padding: 32px 16px; }
  .detail-layout { grid-template-columns: 1fr; padding: 20px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .spoed-banner { flex-direction: column; }
  .spoed-right { text-align: left; }
}
