/* SeniorMove ID - Accessible Community Styling */
:root {
  --teal-main: #0E7490;
  --teal-dark: #155E75;
  --yellow-warm: #EAB308;
  --bg-page: #F0FDFA;
  --bg-card: #FFFFFF;
  --text-dark: #083344;
  --text-muted: #475569;
  --border-light: #CCFBF1;
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Poppins', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-page); color: var(--text-dark); line-height: 1.65; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top notification */
.senior-top { background: #083344; color: #CCFBF1; font-size: 0.84rem; padding: 8px 0; }
.senior-top-inner { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.senior-header { background: #FFFFFF; border-bottom: 2px solid var(--border-light); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(14,116,144,0.06); }
.nav-row { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.senior-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-txt { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 800; color: var(--teal-main); }
.brand-txt span { color: var(--yellow-warm); }
.brand-desc { font-size: 0.72rem; color: var(--text-muted); display: block; }
.senior-nav { display: flex; gap: 22px; list-style: none; align-items: center; }
.senior-nav a { text-decoration: none; color: #1E293B; font-size: 0.94rem; font-weight: 600; transition: color 0.2s; }
.senior-nav a:hover, .senior-nav a.active { color: var(--teal-main); }
.btn-teal { background: var(--teal-main); color: #FFFFFF; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-teal:hover { background: var(--teal-dark); }

/* Hero */
.senior-hero { background: linear-gradient(135deg, #0E7490 0%, #155E75 100%); color: #FFFFFF; padding: 60px 0; }
.hero-flex { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.pill-badge { background: rgba(234, 179, 8, 0.25); color: #FEF08A; padding: 6px 14px; border-radius: 30px; font-size: 0.82rem; font-weight: 700; display: inline-block; margin-bottom: 14px; }
.hero-h1 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-sub { color: #E0F2FE; font-size: 1.05rem; margin-bottom: 24px; line-height: 1.6; }
.hero-img-box { width: 100%; height: 350px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

/* Grid & Cards */
.spad { padding: 60px 0; }
.shead { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.shead h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--teal-main); margin-bottom: 10px; }
.shead p { color: var(--text-muted); font-size: 0.95rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.comm-card { background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border-light); padding: 24px; box-shadow: 0 4px 15px rgba(14,116,144,0.04); }
.comm-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.comm-card h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--text-dark); margin-bottom: 8px; }
.comm-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* 6MWT Tool */
.calc-card { background: #FFFFFF; border-radius: 16px; border: 2px solid #A5F3FC; padding: 34px; margin: 40px 0; box-shadow: 0 6px 20px rgba(14,116,144,0.06); }
.calc-card h3 { font-family: var(--font-heading); font-size: 1.45rem; color: var(--teal-main); margin-bottom: 6px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.form-grp label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: #083344; }
.form-grp input, .form-grp select { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid #CBD5E1; font-family: inherit; font-size: 0.92rem; }
.res-box { background: #ECFEFF; border-left: 4px solid var(--teal-main); padding: 18px; border-radius: 8px; margin-top: 20px; display: none; }

/* Footer */
.senior-footer { background: #083344; color: #94A3B8; padding: 50px 0 24px; font-size: 0.86rem; }
.foot-layout { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.foot-layout h4 { color: #FFFFFF; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 14px; }
.foot-layout ul { list-style: none; }
.foot-layout ul li { margin-bottom: 8px; }
.foot-layout ul a { color: #94A3B8; text-decoration: none; }
.foot-layout ul a:hover { color: #FFFFFF; }
.foot-bottom { border-top: 1px solid #164E63; padding-top: 20px; text-align: center; font-size: 0.78rem; }

/* Modal */
.modal-shade { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-window { background: #FFFFFF; border-radius: 14px; max-width: 500px; width: 100%; padding: 30px; position: relative; }
.modal-close-btn { position: absolute; top: 16px; right: 18px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; color: #64748B; }

/* Cookie */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #083344; color: #F8FAFC; padding: 12px 0; z-index: 999; font-size: 0.82rem; border-top: 2px solid var(--teal-main); }
.cookie-inner { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .hero-flex, .grid-3, .grid-2, .foot-layout, .calc-grid { grid-template-columns: 1fr; }
  .senior-nav { display: none; }
}
