/* GeroVita Care - Preventive Geriatrics & Proprioceptive Balance Styling */
:root {
  --teal-ocean: #0E7490;
  --teal-dark: #155E75;
  --coral-sun: #EA580C;
  --coral-light: #FFEDD5;
  --bg-aqua: #F0FDFA;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border-teal: #CCFBF1;
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Poppins', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-aqua); color: var(--text-dark); line-height: 1.65; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top notification */
.gero-topbar { background: var(--teal-dark); color: #CCFBF1; font-size: 0.82rem; padding: 8px 0; border-bottom: 2px solid var(--coral-sun); }
.gero-topbar-flex { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.gero-header { background: #FFFFFF; border-bottom: 1px solid var(--border-teal); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(14,116,144,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.gero-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gero-logo-icon { width: 40px; height: 40px; border-radius: 8px; }
.brand-title { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 800; color: var(--teal-ocean); letter-spacing: -0.5px; }
.brand-title span { color: var(--coral-sun); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); display: block; font-family: var(--font-body); }
.gero-nav { display: flex; gap: 24px; list-style: none; align-items: center; }
.gero-nav a { text-decoration: none; color: #334155; font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.gero-nav a:hover, .gero-nav a.active { color: var(--teal-ocean); }
.btn-coral { background: var(--coral-sun); color: #FFFFFF; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-coral:hover { background: #C2410C; }

/* Hero */
.gero-hero { background: linear-gradient(135deg, #155E75 0%, #0E7490 100%); color: #FFFFFF; padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.gero-badge { background: rgba(234,88,12,0.25); color: #FFEDD5; border: 1px solid rgba(254,215,170,0.4); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; display: inline-block; margin-bottom: 14px; }
.hero-title { font-family: var(--font-heading); font-size: 2.7rem; color: #FFFFFF; line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero-desc { color: #E0F2FE; font-size: 1.05rem; margin-bottom: 24px; line-height: 1.65; }
.hero-img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.25); border: 2px solid rgba(255,255,255,0.15); }

/* Section & Cards */
.gero-section { padding: 60px 0; }
.gero-heading { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.gero-heading h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--teal-ocean); margin-bottom: 10px; font-weight: 800; }
.gero-heading p { color: var(--text-muted); font-size: 0.98rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gero-card { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-teal); padding: 24px; box-shadow: 0 4px 15px rgba(14,116,144,0.03); transition: transform 0.2s, box-shadow 0.2s; }
.gero-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(14,116,144,0.08); }
.gero-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.gero-card h3 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--teal-dark); margin-bottom: 8px; font-weight: 700; }
.gero-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Interactive Calculator */
.calc-wrapper { background: #FFFFFF; border-radius: 14px; border: 2px solid var(--teal-ocean); padding: 34px; margin: 40px 0; box-shadow: 0 6px 20px rgba(14,116,144,0.06); }
.calc-wrapper h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--teal-ocean); margin-bottom: 8px; font-weight: 800; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.calc-field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: var(--text-dark); }
.calc-field select, .calc-field input { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid #CBD5E1; font-family: inherit; font-size: 0.92rem; }
.calc-result-box { background: #F0FDFA; border-left: 4px solid var(--coral-sun); padding: 18px; border-radius: 8px; margin-top: 20px; display: none; }

/* Footer */
.gero-footer { background: var(--teal-dark); color: #CCFBF1; padding: 50px 0 24px; font-size: 0.86rem; border-top: 3px solid var(--coral-sun); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.footer-cols h4 { color: #FFFFFF; font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 14px; font-weight: 700; }
.footer-cols ul { list-style: none; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols ul a { color: #CCFBF1; text-decoration: none; }
.footer-cols ul a:hover { color: #FFFFFF; }
.gero-copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.78rem; color: #99F6E4; }

/* Modal */
.gero-modal-layer { position: fixed; inset: 0; background: rgba(0,0,0,0.65); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.gero-modal-box { background: #FFFFFF; border-radius: 12px; max-width: 500px; width: 100%; padding: 32px; position: relative; }
.gero-modal-close { position: absolute; top: 16px; right: 18px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; color: #64748B; }

/* Cookie */
.gero-cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--teal-dark); color: #F0FDFA; padding: 12px 0; z-index: 999; font-size: 0.84rem; border-top: 2px solid var(--coral-sun); }
.cookie-flex { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .footer-cols, .calc-inputs { grid-template-columns: 1fr; }
  .gero-nav { display: none; }
}
