/* =========================================================
   NOAH Portal – Limay Polytechnic College
   Layout: sticky header → full-width scrolling banner →
           two-column body (services + hub | hotlines sidebar)
   Palette: LPC green + LPC gold, mint-tinted neutrals
   ========================================================= */

:root {
  color-scheme: light;
  /* Brand (same in both themes – used on the green banner) */
  --lpc-green-950: #062b18;
  --lpc-green-900: #0a3d22;
  --lpc-green-800: #0d5530;
  --lpc-green-700: #0f6b3a;
  --lpc-green-500: #1f9a52;
  --lpc-gold-500: #f5c518;
  --lpc-gold-400: #ffd84a;
  --lpc-gold-200: #fff0b0;
  --on-brand: #ffffff;

  /* Surfaces & text */
  --bg: #fbfdf9;
  --surface: #ffffff;
  --surface-2: #fcfefb;
  --ink: #12301f;
  --muted: #4c6656;
  --line: #dbe7d8;
  --shadow: 0 1px 2px rgba(10, 61, 34, .06), 0 8px 24px rgba(10, 61, 34, .07);
  --heading: #0a3d22;
  --link: #0f6b3a;
  --focus: #f5c518;

  /* Service / tile tints */
  --t-green: #e4f3e7;  --a-green: #0f7a3e;  --f-green: #ffffff;
  --t-teal:  #def2ee;  --a-teal:  #0f7d6b;  --f-teal:  #ffffff;
  --t-gold:  #fff3cc;  --a-gold:  #f2b705;  --f-gold:  #1f2a0e;  --i-gold: #b07f00;
  --t-olive: #eef2d6;  --a-olive: #5b7a12;  --f-olive: #ffffff;
  --t-lime:  #edf6d9;  --a-lime:  #4f8a1a;

  --danger: #d63b33;
  --danger-2: #ef5a4f;

  /* Type */
  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius: 16px;
  --radius-sm: 10px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

/* Dark mode – switched on by the header toggle (data-mode="dark" on <html>) */
:root[data-mode="dark"] {
  color-scheme: dark;
  --bg: #0c1810;
  --surface: #12231a;
  --surface-2: #162b1f;
  --ink: #e4f0e6;
  --muted: #a3bcab;
  --line: #244031;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --heading: #f1f7f2;
  --link: #f5c518;
  --t-green: #163524;  --a-green: #45c174;  --f-green: #0a1a10;
  --t-teal:  #12332e;  --a-teal:  #3cc0a6;  --f-teal:  #0a1a10;
  --t-gold:  #33290b;  --a-gold:  #f5c518;  --f-gold:  #1f2a0e;  --i-gold: #f5c518;
  --t-olive: #262f12;  --a-olive: #a7c94a;  --f-olive: #0a1a10;
  --t-lime:  #22311a;  --a-lime:  #9fd35b;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn .ic { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic { transform: translateX(2px); }
.btn-gold { background: var(--lpc-gold-500); color: var(--lpc-green-950); box-shadow: 0 6px 18px rgba(245, 197, 24, .35); }
.btn-gold:hover { background: var(--lpc-gold-400); }
.btn-green { background: var(--lpc-green-700); color: var(--on-brand); }
.btn-green:hover { background: var(--lpc-green-800); }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface);
  border-bottom: 3px solid var(--lpc-gold-500);
  box-shadow: 0 2px 12px rgba(10, 61, 34, .08);
}
.header-inner {
  max-width: 1320px; margin: 0 auto;
  padding-block: 10px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--lpc-gold-500), 0 0 0 5px var(--lpc-green-700);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.85rem;
  line-height: 1; color: var(--heading); letter-spacing: -.01em;
}
.brand-name em { font-style: normal; color: var(--lpc-green-500); }
.brand-sub { font-size: .8rem; line-height: 1.25; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-weight: 600; color: var(--muted);
  border-radius: 10px; position: relative;
  transition: color .15s ease, background-color .15s ease;
}
.nav-link .ic { width: 1.3em; height: 1.3em; }
.nav-link:hover { color: var(--heading); background: var(--t-green); }
.nav-link.is-active { color: var(--heading); font-weight: 700; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--lpc-gold-500);
}
.btn-login { background: var(--lpc-green-700); color: var(--on-brand); margin-left: 14px; padding: .75em 1.6em; border-radius: 12px; }
.btn-login:hover { background: var(--lpc-green-800); }
.btn-login .ic { width: 1.2em; height: 1.2em; }
.btn-login:hover .ic { transform: none; }

/* Light / dark toggle */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--heading);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.theme-toggle:hover { background: var(--lpc-gold-500); color: var(--lpc-green-950); border-color: var(--lpc-gold-500); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .ic { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
:root[data-mode="dark"] .theme-toggle .i-sun { display: block; }
:root[data-mode="dark"] .theme-toggle .i-moon { display: none; }
:root[data-mode="dark"] .site-header { box-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
:root[data-mode="dark"] .hero-quote { color: #ffffff; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--heading);
  align-items: center; justify-content: center;
}

/* ---------- Hero / scrolling banner ---------- */
.hero {
  position: relative;
  background: var(--lpc-green-900);
  color: var(--on-brand);
  overflow: hidden;
}
.hero-viewport { overflow: hidden; outline: none; touch-action: pan-y; }
.hero-viewport:focus-visible { outline: 3px solid var(--lpc-gold-500); outline-offset: -3px; }
.hero-track {
  display: flex;
  transition: transform .8s cubic-bezier(.65, .05, .3, 1);
  will-change: transform;
}
.hero-track.no-anim { transition: none; }

.slide {
  flex: 0 0 100%; min-width: 0;
  position: relative; isolation: isolate;
  background:
    radial-gradient(60% 90% at 12% 110%, rgba(245, 197, 24, .28), transparent 60%),
    radial-gradient(45% 70% at 92% -10%, rgba(31, 154, 82, .55), transparent 70%),
    linear-gradient(120deg, var(--lpc-green-900) 0%, var(--lpc-green-700) 55%, var(--lpc-green-800) 100%);
}
/* soft leaf shapes */
.slide::before, .slide::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0));
}
.slide::before { width: 300px; height: 300px; left: -60px; top: -80px; transform: rotate(18deg); }
.slide::after  { width: 220px; height: 220px; right: 22%; bottom: -120px; transform: rotate(-30deg); background: linear-gradient(135deg, rgba(245, 197, 24, .22), rgba(245, 197, 24, 0)); }

.slide-inner {
  max-width: 1320px; margin: 0 auto; height: 100%;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: grid;
  grid-template-columns: minmax(250px, .95fr) minmax(0, 1.35fr) minmax(230px, .8fr);
  align-items: center; gap: 24px;
}

/* Slide 1 */
.mascot-wrap { position: relative; align-self: end; padding-top: 24px; }
.mascot {
  width: 100%; max-width: 380px; height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25));
}
.hi-noah {
  position: absolute; left: -4px; top: 34%;
  font-family: var(--font-hand); font-size: 2.6rem; line-height: .9;
  color: var(--lpc-gold-400); transform: rotate(-12deg);
  text-shadow: 0 3px 0 rgba(6, 43, 24, .55);
  z-index: 1;
}
.hero-copy { text-align: center; padding-block: 40px 76px; min-width: 0; }
.hero-leaf { width: 54px; height: 54px; color: var(--lpc-gold-500); stroke-width: 1.8; margin: 0 auto 2px; display: block; }
.hero-title {
  font-weight: 800; font-size: clamp(3rem, 6.4vw, 5.6rem);
  color: var(--on-brand); letter-spacing: -.02em; line-height: .9;
  text-shadow: 0 4px 0 rgba(6, 43, 24, .4);
}
.hero-title span { color: var(--lpc-gold-500); }
.hero-acronym {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  letter-spacing: .38em; margin-top: 6px; padding-left: .38em;
}
.hero-school { font-size: 1.1rem; line-height: 1.3; margin-top: 12px; color: var(--lpc-gold-200); letter-spacing: .02em; }
.hero-quote {
  position: relative; margin: 20px auto 0; max-width: 470px;
  padding: 16px 44px 16px 52px; text-align: left;
  font-size: 1.08rem; line-height: 1.4;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  backdrop-filter: blur(4px);
}
.hero-quote::before, .hero-quote::after {
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1;
  color: var(--lpc-gold-500); position: absolute;
}
.hero-quote::before { content: "\201C"; left: 12px; top: 6px; }
.hero-quote::after  { content: "\201D"; right: 12px; bottom: -18px; }

.affirmations { display: grid; gap: 12px; padding-block: 24px 70px; }
.affirmations li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: var(--lpc-green-900);
  font-weight: 600; font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  transition: transform .2s ease;
}
.affirmations li:hover { transform: translateX(-4px); }
.affirmations .ic {
  width: 34px; height: 34px; padding: 6px; border-radius: 50%;
  background: var(--lpc-gold-500); color: var(--lpc-green-900); stroke-width: 2.2;
}

/* Slides 2–4 */
.slide-inner--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); min-height: 420px; }
.promo-copy { padding-block: 48px 84px; max-width: 600px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--lpc-green-950); background: var(--lpc-gold-500);
  padding: 5px 12px; border-radius: 999px;
}
.promo-title {
  color: var(--on-brand); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.6rem); margin-top: 16px;
}
.promo-text { margin-top: 14px; font-size: 1.12rem; line-height: 1.55; max-width: 52ch; opacity: .92; }
.promo-text strong { color: var(--lpc-gold-400); }
.promo-copy .btn { margin-top: 24px; font-size: 1rem; }
.promo-art { display: flex; justify-content: center; align-self: end; }
.mascot--small { max-width: 330px; }

.slide-alt--gold {
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(120deg, #f5c518 0%, #ffd84a 60%, #f0b400 100%);
  color: var(--lpc-green-950);
}
.slide-alt--gold .promo-title { color: var(--lpc-green-900); }
.slide-alt--gold .eyebrow { background: var(--lpc-green-800); color: var(--lpc-gold-400); }
.slide-alt--gold::before { background: linear-gradient(135deg, rgba(15, 107, 58, .14), rgba(15, 107, 58, 0)); }
.slide-alt--gold::after { background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); }
.promo-art--icons {
  align-self: center;
  display: grid; grid-template-columns: repeat(3, 92px); gap: 14px;
}
.promo-art--icons span {
  width: 92px; height: 92px; border-radius: 24px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .7); color: var(--lpc-green-800);
  box-shadow: 0 8px 20px rgba(122, 90, 0, .18);
}
.promo-art--icons span:nth-child(even) { background: var(--lpc-green-800); color: var(--lpc-gold-400); transform: translateY(18px); }
.promo-art--icons .ic { width: 44px; height: 44px; stroke-width: 1.8; }

.slide-alt--deep {
  background:
    radial-gradient(50% 80% at 80% 50%, rgba(245, 197, 24, .2), transparent 70%),
    linear-gradient(120deg, var(--lpc-green-950) 0%, var(--lpc-green-900) 100%);
}
.big-number {
  align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--lpc-gold-500);
  padding-block: 40px;
}
.big-number .ic { width: 84px; height: 84px; stroke-width: 1.6; }
.big-number span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .9;
  letter-spacing: .02em;
}
.slide-alt--deep .promo-art { align-self: center; }

/* Controls */
.hero-controls {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 999px;
  background: rgba(6, 43, 24, .55); backdrop-filter: blur(6px);
  z-index: 5;
}
.hero-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: var(--on-brand);
  transition: background-color .15s ease;
}
.hero-arrow:hover { background: var(--lpc-gold-500); color: var(--lpc-green-950); }
.hero-arrow .ic { width: 18px; height: 18px; }
.hero-pause .ic { stroke-width: 2.6; }
.hero-pause.is-paused .ic { fill: currentColor; stroke-width: 1.5; }
.hero-dots { display: flex; gap: 8px; padding-inline: 4px; }
.hero-dot {
  position: relative; overflow: hidden;
  width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .45);
  transition: width .3s ease, background-color .3s ease;
}
.hero-dot.is-active { width: 40px; background: rgba(255, 255, 255, .35); }
.hero-dot.is-active::after {
  content: ""; position: absolute; inset: 0; transform-origin: left;
  background: var(--lpc-gold-500);
  animation: dotfill var(--slide-ms, 6000ms) linear forwards;
}
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Page body ---------- */
.page {
  max-width: 1320px; margin: 0 auto;
  padding-block: 28px 40px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.col-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 1.9rem; font-weight: 800; }
.section-head p { color: var(--muted); }
.section-icon { width: 46px; height: 46px; color: var(--lpc-green-500); stroke-width: 1.8; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service {
  --tint: var(--t-green); --accent: var(--a-green); --fg: var(--f-green); --icon: var(--a-green);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 18px 22px; border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service--teal  { --tint: var(--t-teal);  --accent: var(--a-teal);  --fg: var(--f-teal);  --icon: var(--a-teal); }
.service--gold  { --tint: var(--t-gold);  --accent: var(--a-gold);  --fg: var(--f-gold);  --icon: var(--i-gold); }
.service--olive { --tint: var(--t-olive); --accent: var(--a-olive); --fg: var(--f-olive); --icon: var(--a-olive); }
.service-icon {
  width: 76px; height: 76px; border-radius: 22px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--icon);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 22%, transparent);
}
.service-icon .ic { width: 42px; height: 42px; stroke-width: 1.7; }
.service h3 { font-size: 1.4rem; font-weight: 800; margin-top: 16px; color: var(--heading); }
.service p { color: var(--muted); font-size: .92rem; margin-top: 10px; flex: 1; }
.btn-service { margin-top: 18px; background: var(--accent); color: var(--fg); width: 100%; font-size: .9rem; padding-inline: 1em; }
.btn-service:hover { filter: brightness(1.06); }

/* Learning hub */
.hub {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.hub-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hub-icon { width: 56px; height: 56px; color: var(--lpc-green-700); stroke-width: 1.7; }
.hub-title { flex: 1; min-width: 220px; }
.hub-title h2 { font-size: 1.75rem; font-weight: 800; }
.hub-title p { color: var(--muted); margin-top: 4px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 700; font-size: .92rem; }
.text-link .ic { width: 1em; height: 1em; transition: transform .15s ease; }
.text-link:hover .ic { transform: translateX(3px); }

.hub-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hub-tile {
  --tint: var(--t-green); --accent: var(--a-green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 112px; padding: 16px 10px; border-radius: 14px; text-align: center;
  background: var(--tint); color: var(--heading);
  font-weight: 700; font-size: .92rem; line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hub-tile .ic { width: 40px; height: 40px; color: var(--accent); stroke-width: 1.8; }
.hub-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent); }
.t-gold { --tint: var(--t-gold); --accent: var(--i-gold); }
.t-teal { --tint: var(--t-teal); --accent: var(--a-teal); }
.t-lime { --tint: var(--t-lime); --accent: var(--a-lime); }

/* Reminder strip */
.reminder {
  display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding-inline: 8px;
}
.reminder-noah { display: flex; align-items: center; gap: 4px; flex: 1 1 340px; min-width: 0; }
.reminder-img { width: 170px; height: auto; flex: none; }
.bubble {
  position: relative; padding: 16px 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 1.08rem; line-height: 1.35;
}
.bubble strong { color: var(--heading); font-family: var(--font-display); font-size: 1.25rem; }
.bubble::before {
  content: ""; position: absolute; left: -9px; top: 50%; width: 16px; height: 16px;
  background: var(--surface); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}
.pillars { flex: 2 1 420px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 8px; }
.pillars li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--heading); }
.pill-icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--t-green); color: var(--a-green);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent);
}
.pill-icon .ic { width: 28px; height: 28px; }
.p-teal { background: var(--t-teal); color: var(--a-teal); }
.p-lime { background: var(--t-lime); color: var(--a-lime); }
.p-gold { background: var(--lpc-gold-500); color: var(--lpc-green-900); }
.p-green .ic { fill: currentColor; }

/* ---------- Sidebar ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.28rem; font-weight: 800; margin-bottom: 12px; }
.panel-title .ic { width: 30px; height: 30px; color: var(--lpc-green-700); stroke-width: 2; }

.hotlines li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.hotlines li:last-child { border-bottom: 0; }
.hotlines .ic { width: 22px; height: 22px; color: var(--a-green); margin-top: 2px; }
.hl-name { display: block; font-size: .9rem; color: var(--ink); }
.hl-num { display: block; font-size: .92rem; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; user-select: all; }
.hl-num i { font-style: normal; color: var(--muted); font-weight: 400; padding-inline: 2px; }

.emergency {
  display: flex; align-items: center; gap: 14px; margin-top: 8px;
  padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(100deg, var(--danger), var(--danger-2)); color: #ffffff;
}
.emergency .ic { width: 34px; height: 34px; stroke-width: 2.2; }
.emergency span { display: block; font-size: .92rem; }
.emergency strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }

.nowserving { display: flex; align-items: center; gap: 12px; }
.nowserving > div { min-width: 0; flex: 1; }
.nowserving h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--heading); }
.nowserving p { font-size: .9rem; color: var(--muted); margin: 4px 0 12px; }
.ns-art {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--t-gold); color: var(--lpc-green-700);
}
.ns-art .ic { width: 44px; height: 44px; stroke-width: 1.6; }
.ns-art .ns-users {
  position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; padding: 5px;
  border-radius: 50%; background: var(--lpc-green-700); color: var(--lpc-gold-400); stroke-width: 2.2;
}

.quick-links li { border-bottom: 1px solid var(--line); }
.quick-links li:last-child { border-bottom: 0; }
.quick-links a {
  display: flex; align-items: center; gap: 12px; padding: 11px 4px;
  font-size: .95rem; color: var(--ink); border-radius: 8px;
  transition: background-color .15s ease, padding .15s ease;
}
.quick-links a:hover { background: var(--t-green); padding-inline: 10px; }
.quick-links .ic { width: 22px; height: 22px; color: var(--a-green); }
.quick-links .chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--lpc-green-900); color: var(--lpc-gold-200); border-top: 4px solid var(--lpc-gold-500); }
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  padding-block: 20px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--lpc-gold-500); }
.footer-brand strong { display: block; color: var(--on-brand); font-family: var(--font-display); font-size: 1.2rem; line-height: 1; }
.footer-brand span { font-size: .85rem; }
.footer-note { font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .slide-inner { grid-template-columns: minmax(220px, .9fr) minmax(0, 1.4fr); }
  .affirmations { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; margin-left: 0; order: 3; }
  .theme-toggle { margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter-r) 16px var(--gutter-l);
    background: var(--surface); border-bottom: 3px solid var(--lpc-gold-500);
    box-shadow: 0 12px 24px rgba(10, 61, 34, .12);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link.is-active::after { left: 14px; right: auto; width: 28px; }
  .btn-login { margin: 8px 0 0; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .col-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 760px) {
  .slide-inner, .slide-inner--split { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .mascot-wrap { order: 2; justify-self: center; padding-top: 0; }
  .mascot { max-width: 250px; margin: 0 auto; }
  .hi-noah { font-size: 2rem; left: -18px; top: 30%; }
  .hero-copy { padding-block: 28px 8px; }
  .promo-copy { padding-block: 36px 16px; }
  .promo-art { padding-bottom: 64px; }
  .mascot--small { max-width: 220px; }
  .promo-art--icons { grid-template-columns: repeat(3, 72px); gap: 10px; padding-bottom: 84px; }
  .promo-art--icons span { width: 72px; height: 72px; border-radius: 18px; }
  .promo-art--icons .ic { width: 34px; height: 34px; }
  .big-number { padding-block: 0 80px; }
  .big-number .ic { width: 56px; height: 56px; }
  .brand-name { font-size: 1.5rem; }
  .brand-avatar { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  .brand-sub { font-size: .72rem; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { padding: 16px; }
  .hub-head .text-link { order: 3; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .reminder-img { width: 120px; }
  .hero-quote { padding: 14px 34px 14px 42px; font-size: 1rem; }
  .hero-acronym { letter-spacing: .24em; padding-left: .24em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { transition-duration: .01ms; }
  .hero-dot.is-active::after { animation: none; transform: scaleX(1); }
  .btn, .service, .hub-tile, .affirmations li { transition: none; }
}
