/* Pick an age floor plan (home page). Script: plan.js. */
.plan-section { padding: 96px 24px; background: var(--sea-wash, #f0f7f8); }
.plan-inner { max-width: 1120px; margin: 0 auto; }
.plan-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.plan-head .num { font-size: 0.8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea, #0f5876); margin-bottom: 10px; }
.plan-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; color: var(--gray-900, #101828); }
.plan-head p { color: var(--gray-600, #4a5565); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.plan-lab { background: #fff; border: 1px solid var(--sea-soft, #cce5eb); border-radius: 24px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 10px 40px rgba(15,88,118,.08); }
.age-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.age-tab { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--gray-200, #e5e7eb); background: #fff; font: 600 0.92rem var(--font); color: var(--gray-600, #4a5565); cursor: pointer; transition: all .2s; }
.age-tab:hover { border-color: var(--gray-400, #99a1af); color: var(--gray-900, #101828); }
.age-tab.on { background: var(--sea, #0f5876); color: #fff; border-color: var(--sea, #0f5876); }
.age-tab .sub { display: block; font-size: 0.72rem; font-weight: 500; opacity: .8; margin-top: 1px; }
.plan-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-stage { background: #fbfaf8; border: 1px solid var(--gray-100, #f3f4f6); border-radius: 16px; overflow: hidden; }
.plan-stage svg { width: 100%; height: auto; display: block; }
#plan-svg .room { fill: #fff; stroke: var(--gray-200, #e5e7eb); stroke-width: 1.5; cursor: pointer; transition: fill .2s, stroke .2s; }
#plan-svg .room:hover { fill: var(--sea-wash, #f0f7f8); }
#plan-svg .room.active { fill: var(--sea-wash, #f0f7f8); stroke: var(--sea, #0f5876); stroke-width: 2.5; }
#plan-svg .room-label { fill: var(--gray-500, #6a7282); font: 600 11px var(--font); pointer-events: none; }
#plan-svg .hz { cursor: pointer; }
#plan-svg .hz.sev-critical circle { fill: #dc2626; }
#plan-svg .hz.sev-high circle { fill: #ea580c; }
#plan-svg .hz.sev-moderate circle { fill: #ca8a04; }
#plan-svg .hz.sev-low circle { fill: #65a30d; }
#plan-svg .hz .halo { opacity: .28; animation: hzPulse 2.4s ease-in-out infinite; }
@keyframes hzPulse { 0%,100% { transform: scale(1); opacity: .3; } 50% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #plan-svg .hz .halo { animation: none; } }
.plan-panel .ph { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.plan-panel h3 { font-size: 1.2rem; margin: 0; color: var(--gray-900, #101828); }
.plan-panel .count { font-size: 0.85rem; font-weight: 700; color: var(--sea, #0f5876); }
.plan-panel .hint { font-size: 0.92rem; color: var(--gray-500, #6a7282); margin: 0 0 14px; }
.haz-list { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; }
.haz { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--gray-100, #f3f4f6); border-radius: 12px; }


.haz .hn { font-weight: 700; color: var(--gray-900, #101828); font-size: 1rem; }
.haz .ht { font-size: 0.88rem; color: var(--gray-500, #6a7282); margin-top: 2px; }
.haz .htip { font-size: 0.95rem; color: var(--sea-ink, #133c4e); margin-top: 6px; line-height: 1.5; }
.haz .hbuy { display: inline-block; margin-top: 8px; font-size: 0.88rem; font-weight: 600; color: var(--sea, #0f5876); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .haz .hbuy { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; } }
.haz .sevpill { align-self: start; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.haz.sev-critical .sevpill { background: #fef2f2; color: #dc2626; } .haz.sev-high .sevpill { background: #fff7ed; color: #c2410c; }
.haz.sev-moderate .sevpill { background: #fefce8; color: #a16207; } .haz.sev-low .sevpill { background: #f7fee7; color: #4d7c0f; }
.plan-fix { display: flex; justify-content: center; margin-top: 16px; padding: 14px 24px; border-radius: 100px; background: var(--sea, #0f5876); color: #fff; font-weight: 600; text-decoration: none; }
.plan-fix:hover { background: var(--sea-ink, #133c4e); }
.plan-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 0.85rem; color: var(--gray-500, #6a7282); }
.plan-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.plan-note { font-size: 0.85rem; color: var(--gray-500, #6a7282); margin-top: 14px; }
.plan-note a { color: inherit; }

/* HBOT for the brain card (home page) */
.hbot-section { padding: 72px 24px; }
.hbot-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 20px; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 24px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 40px rgba(16,24,40,.06); transition: transform .2s, box-shadow .2s; }
.hbot-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(16,24,40,.1); }
.hbot-card img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--gray-100, #f3f4f6); display: block; }
.hbot-text .num { font-size: 0.8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea, #0f5876); margin-bottom: 10px; }
.hbot-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 12px; color: var(--gray-900, #101828); }
.hbot-text p { color: var(--gray-600, #4a5565); font-size: 1.02rem; line-height: 1.6; margin: 0 0 20px; }
.hbot-btn { display: inline-flex; padding: 13px 24px; border-radius: 100px; background: var(--sea, #0f5876); color: #fff; font-weight: 600; }
@media (max-width: 820px) { .hbot-card { grid-template-columns: 1fr; gap: 20px; } }
