/* NCEL — Nano Chemistry Electronics Laboratory
   Modern magazine-style design inspired by nagroup.ewha.ac.kr */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --blue-900: #0b2a5b;
  --blue-800: #123c7d;
  --blue-700: #1a4d9e;
  --blue-600: #1d5fc2;
  --blue-500: #2f74d0;
  --violet-600: #6d3fd4;
  --blue-100: #dbe8f9;
  --blue-50: #f0f5fc;
  --ink: #1b2432;
  --ink-soft: #5b6675;
  --ink-faint: #9aa4b2;
  --line: #e5eaf1;
  --bg: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 34px rgba(11, 42, 91, 0.08);
  --shadow-hover: 0 18px 48px rgba(11, 42, 91, 0.16);
  --grad: linear-gradient(90deg, var(--blue-600), var(--violet-600));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Inter", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(11, 42, 91, 0.1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--blue-900); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--grad);
  color: #fff; font-weight: 800; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
}
.brand-text { line-height: 1.25; }
.brand-text strong { display: block; font-size: 0.9rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-text span { display: block; font-size: 0.68rem; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; font-size: 0.7rem; }
  .brand-text strong { font-size: 0.78rem; }
  .brand-text span { font-size: 0.6rem; }
}

.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  transition: 0.2s; white-space: nowrap;
}
.main-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.main-nav a.active { background: var(--grad); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--blue-900); border-radius: 2px; transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; animation: navDrop 0.3s ease; }
  .main-nav ul { flex-direction: column; padding: 12px 16px; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  margin: 20px auto 0;
  max-width: 1320px;
  height: min(78vh, 640px);
}
@media (max-width: 1360px) { .hero-slider { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 640px) { .hero-slider { height: 520px; margin-left: 12px; margin-right: 12px; } }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 20, 46, 0.82) 0%, rgba(13, 42, 88, 0.6) 55%, rgba(13, 42, 88, 0.25) 100%);
}
.slide-content {
  position: relative; z-index: 2; color: #fff;
  padding: 0 clamp(28px, 6vw, 80px); max-width: 760px;
}
.slide-content .slide-meta {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85); margin-bottom: 16px;
}
.slide-content .slide-meta strong { color: #fff; }
.slide-content h1, .slide-content h2 {
  font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.2;
  font-weight: 700; margin-bottom: 26px;
}
.slide.active .slide-content > * {
  animation: slideUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.12s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.24s; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem; transition: 0.25s;
}
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(41, 78, 190, 0.4); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(41, 78, 190, 0.55); color: #fff; }
.btn-grad .arrow { transition: transform 0.25s; }
.btn-grad:hover .arrow { transform: translateX(4px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.65); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.slider-dots {
  position: absolute; z-index: 3; bottom: 26px; left: clamp(28px, 6vw, 80px);
  display: flex; gap: 10px;
}
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.45); transition: 0.3s; padding: 0;
}
.slider-dots button.active { background: #fff; transform: scale(1.3); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 48px 0; }
.section-label {
  color: var(--ink-faint); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.02em; margin-bottom: 28px;
}
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-900); margin-top: 4px; font-weight: 700; }
.section-head p.desc { color: var(--ink-soft); margin-top: 10px; max-width: 680px; }

.page-hero {
  background: linear-gradient(115deg, var(--blue-900) 0%, var(--blue-700) 70%, var(--violet-600) 130%);
  color: #fff; padding: 72px 0;
}
.page-hero .kicker { color: var(--blue-100); font-weight: 700; letter-spacing: 0.14em; font-size: 0.8rem; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 8px; font-weight: 800; }
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, 0.85); max-width: 720px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card h3 { color: var(--blue-800); font-size: 1.1rem; margin-bottom: 12px; font-weight: 700; }
.card ul { padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.card ul li { margin: 7px 0; }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  background: var(--blue-50); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}

/* Image-topped research cards (home) */
.img-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.img-card .thumb { height: 220px; overflow: hidden; }
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.img-card:hover .thumb img { transform: scale(1.06); }
.img-card .body { padding: 26px 28px 30px; }
.img-card .body .tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.img-card .body h3 { color: var(--ink); font-size: 1.15rem; margin: 6px 0 10px; font-weight: 700; }
.img-card .body p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- People ---------- */
.people-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.person .photo { aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--blue-100); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.45s; }
.person:hover .photo img { transform: scale(1.05); }
.person .photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500); font-size: 3rem; font-weight: 800;
}
.person .info { padding: 22px 24px 24px; }
.person .info h3 { color: var(--blue-900); font-size: 1.05rem; font-weight: 700; }
.person .info h3 small { color: var(--ink-faint); font-weight: 600; font-size: 0.82rem; }
.person .info .role {
  display: inline-block; margin: 8px 0 10px; padding: 3px 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font-size: 0.74rem; font-weight: 700;
}
.person .info ul { list-style: none; color: var(--ink-soft); font-size: 0.84rem; }
.person .info ul li { margin: 4px 0; padding-left: 12px; position: relative; }
.person .info ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue-500);
}
.person .info .email { margin-top: 10px; font-size: 0.83rem; }

.group-title {
  display: flex; align-items: center; gap: 14px;
  margin: 60px 0 28px; color: var(--blue-900); font-size: 1.35rem; font-weight: 700;
}
.group-title:first-of-type { margin-top: 0; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Professor ---------- */
.prof-layout { display: grid; grid-template-columns: 330px 1fr; gap: 52px; align-items: start; }
@media (max-width: 860px) { .prof-layout { grid-template-columns: 1fr; } }
.prof-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 96px; }
.prof-card { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 24px 26px; }
.prof-card h2 { font-size: 1.3rem; }
.prof-card p { color: var(--blue-100); font-size: 0.88rem; margin-top: 4px; }
.prof-card a { color: #fff; text-decoration: underline; }

.timeline { list-style: none; position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--blue-100);
}
.timeline li { position: relative; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad); border: 3px solid var(--blue-100);
}
.timeline .period { color: var(--blue-600); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; }
.timeline h3 { color: var(--blue-900); font-size: 1.12rem; margin: 3px 0 6px; font-weight: 700; }
.timeline p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- News ---------- */
.news-list { list-style: none; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 130px 1fr; gap: 22px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }
.news-item .date { color: var(--blue-600); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.news-item .body { color: var(--ink); font-size: 0.94rem; }
.news-item .body p { margin: 4px 0; }
.news-item .body a { font-size: 0.86rem; word-break: break-all; }
.badge {
  display: inline-block; padding: 2px 12px; border-radius: 999px; margin-bottom: 6px;
  background: var(--grad); color: #fff; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.03em;
}

/* Home news feed */
.feed-list { list-style: none; }
.feed-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feed-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.feed-item .headline { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.feed-item .when { color: var(--ink-faint); font-size: 0.82rem; white-space: nowrap; }
@media (max-width: 640px) { .feed-item { flex-direction: column; gap: 4px; } }

/* ---------- Papers ---------- */
.year-block { margin-bottom: 52px; }
.year-block h2 {
  color: var(--blue-900); font-size: 1.5rem; margin-bottom: 18px; font-weight: 700;
  display: flex; align-items: center; gap: 14px;
}
.year-block h2 .tag {
  font-size: 0.7rem; padding: 3px 12px; border-radius: 999px;
  background: var(--grad); color: #fff; letter-spacing: 0.06em;
}
.year-block h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.paper-list { list-style: none; }
.paper-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 20px; margin-bottom: 10px; font-size: 0.9rem; color: var(--ink-soft);
  display: flex; gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.paper-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.paper-list .num { color: var(--blue-600); font-weight: 800; flex: none; min-width: 38px; }
.paper-list .title { font-style: normal; color: var(--ink); font-weight: 600; }
.paper-list .journal { color: var(--blue-700); font-weight: 600; font-style: italic; }
.paper-list .cover-note { color: #b7791f; font-weight: 700; font-size: 0.8rem; }
.paper-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 10px; padding: 2px 12px; border-radius: 999px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-700); font-size: 0.74rem; font-weight: 700;
  white-space: nowrap; vertical-align: 2px; transition: 0.2s;
}
.paper-link:hover { background: var(--grad); border-color: transparent; color: #fff; }
.note { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 20px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
.gallery-grid figure {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.35s, box-shadow 0.35s;
}
.gallery-grid figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.45s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { padding: 13px 16px; font-size: 0.84rem; font-weight: 600; color: var(--blue-800); }

/* ---------- Research ---------- */
.research-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 60px; }
@media (max-width: 860px) { .research-feature { grid-template-columns: 1fr; } }
.research-feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
.research-feature h3 { color: var(--blue-900); font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; }
.research-feature p { color: var(--ink-soft); }
.research-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.research-imgs img {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%;
  transition: transform 0.35s;
}
.research-imgs img:hover { transform: translateY(-4px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 75%, var(--violet-600) 140%);
  color: #fff; border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 1.25rem; margin-bottom: 22px; }
.contact-info-card dl { display: grid; gap: 18px; }
.contact-info-card dt { color: var(--blue-100); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-info-card dd { font-size: 0.97rem; margin-top: 2px; }
.contact-info-card a { color: #fff; text-decoration: underline; }

/* ---------- Recruit panel (Korean) ---------- */
.recruit-panel {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-50) 0%, #fff 55%, #f4f0fd 100%);
  border: 1.5px solid var(--blue-100);
  box-shadow: var(--shadow);
  padding: 48px clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.recruit-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad);
}
.recruit-badge {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.recruit-panel h2 {
  color: var(--blue-900); font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800; line-height: 1.35; margin-bottom: 12px;
}
.recruit-panel .quote {
  color: var(--blue-700); font-weight: 600; font-size: 1.02rem; margin-bottom: 10px;
}
.recruit-panel .lede { color: var(--ink-soft); font-size: 0.95rem; max-width: 860px; }
.recruit-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 30px;
}
.recruit-col {
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.recruit-col h3 {
  color: var(--blue-800); font-size: 0.98rem; font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.recruit-col ul { list-style: none; color: var(--ink-soft); font-size: 0.88rem; }
.recruit-col ul li { margin: 7px 0; padding-left: 14px; position: relative; }
.recruit-col ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500);
}
.recruit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.recruit-actions .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid var(--blue-600); color: var(--blue-700);
  font-weight: 700; font-size: 0.9rem; transition: 0.2s;
}
.recruit-actions .btn-outline:hover { background: var(--blue-50); }

/* ---------- Home extras ---------- */
.highlight-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .highlight-band { grid-template-columns: 1fr; } }
.highlight-band img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; margin-top: 16px; }
.check-list li { padding-left: 32px; position: relative; margin: 11px 0; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 7px; font-size: 0.72rem;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.cta-band {
  background: linear-gradient(110deg, var(--blue-800), var(--blue-600) 65%, var(--violet-600) 130%);
  border-radius: var(--radius); color: #fff; padding: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 1.5rem; font-weight: 700; }
.cta-band p { color: var(--blue-100); margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--blue-800); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: var(--blue-100); margin-top: 80px; }
.footer-inner { padding: 52px 0 42px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer p, .site-footer li { font-size: 0.86rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--blue-100); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0; font-size: 0.8rem; text-align: center; color: rgba(255, 255, 255, 0.6);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(41, 78, 190, 0.45);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: 0.3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-3px); }
