/* Internet4Schools — unified design system */
:root {
  --navy: #0a2240;
  --navy-mid: #10325c;
  --navy-deep: #06172d;
  --blue: #0066e0;
  --blue-bright: #1a7cff;
  --cyan: #00b8e6;
  --sky: #78e0fc;
  --mint: #10b981;
  --mint-soft: #34d399;
  --amber: #f59e0b;
  --coral: #ff6b4a;
  --ink: #0f243d;
  --muted: #52657c;
  --paper: #f3f8ff;
  --surface: #ffffff;
  --ice: #e8f3ff;
  --line: #d4e4f7;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow: 0 10px 30px rgba(10, 34, 64, 0.07);
  --shadow-lg: 0 22px 50px rgba(10, 34, 64, 0.13);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Exo 2', Arial, sans-serif;
  --body: 'Exo 2', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(0, 184, 230, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, rgba(16, 185, 129, 0.06), transparent 50%),
    var(--paper);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display {
  font-family: var(--display);
  color: var(--navy);
  margin: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; height: auto; }
::selection { background: #bde8ff; color: var(--navy); }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 36px;
}

/* Scroll indicator */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 120;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--mint), var(--cyan), var(--blue));
  pointer-events: none;
}

/* Top bar & Header */
.top {
  background: linear-gradient(105deg, #06172d 0%, #0a2f5c 48%, #0a4a7a 100%);
  color: #d6e4f5;
  font-size: 12px;
  padding: 9px 0;
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top strong, .top span { color: var(--sky); font-weight: 600; }

header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
header.is-scrolled { box-shadow: 0 10px 28px rgba(10, 34, 64, 0.08); }
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.image-logo {
  display: block;
  width: 245px;
  flex-shrink: 0;
  background: transparent;
}
.image-logo img { display: block; width: 100%; height: auto; object-fit: contain; }

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
nav a {
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.22s var(--ease);
}
nav a:hover, nav a[aria-current="page"] { color: var(--blue); }
nav a:hover::after, nav a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(125deg, var(--blue) 0%, #0090f5 55%, var(--cyan) 100%);
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 102, 224, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: linear-gradient(125deg, #0054bd 0%, var(--cyan) 55%, var(--mint-soft) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 184, 230, 0.32);
}
.btn.blue { background: var(--blue); }
.btn.cyan { background: var(--cyan); color: #05203b; }
.btn.cyan:hover { background: #38d2f8; }
.btn.line {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #c4d5e8;
  box-shadow: none;
}
.btn.line:hover {
  background: var(--ice);
  border-color: var(--blue);
  box-shadow: none;
}
.btn.line-dark {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #c6d4e6;
  box-shadow: none;
}
.btn.line-dark:hover {
  background: var(--ice);
  border-color: var(--blue);
  box-shadow: none;
}

.menu {
  display: none;
  background: var(--ice);
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 600;
}

/* Crisp Light Bento Hero — distinctly Internet4Schools */
.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 54px;
  background:
    radial-gradient(ellipse 55% 50% at 92% 8%, rgba(0, 184, 230, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 40% at 6% 90%, rgba(16, 185, 129, 0.12), transparent 55%),
    radial-gradient(ellipse 35% 30% at 40% 0%, rgba(255, 107, 74, 0.07), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #eaf5ff 55%, #e5f7f2 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 34, 64, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 34, 64, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero .eyebrow {
  background: #ffffff;
  border: 1px solid #cde2f7;
  padding: 7px 13px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(10, 34, 64, 0.05);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 184, 230, 0.18);
}
.hero h1 {
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 20px 0 18px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--blue) 0%, var(--cyan) 50%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 500px;
  margin: 0;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.micro { font-size: 13px; color: #64788f; margin: 0; line-height: 1.5; }

/* Asymmetric Bento Visual Collage */
.hero-bento {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.bento-photo {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 400px;
  border: 1px solid rgba(183, 211, 240, 0.9);
  box-shadow:
    0 24px 52px rgba(10, 34, 64, 0.14),
    0 4px 12px rgba(10, 34, 64, 0.06);
}
.bento-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 23, 45, 0.42) 100%);
  pointer-events: none;
}
.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 26%;
  transition: transform 0.8s var(--ease);
}
.bento-photo:hover img { transform: scale(1.04); }
.bento-photo-tag {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  background: rgba(8, 28, 56, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(120, 224, 252, 0.34);
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(5, 18, 38, 0.28);
}
.bento-photo-tag i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.26);
  flex-shrink: 0;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.bento-card::after {
  content: '';
  position: absolute;
  right: -52px; top: -52px;
  width: 170px; height: 170px;
  border-radius: 50%;
  pointer-events: none;
}
.bento-card:hover { transform: translateY(-4px); }
.bento-card.navy {
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 184, 230, 0.24), transparent 55%),
    linear-gradient(148deg, #0b2648 0%, #103563 58%, #0c2c54 100%);
  color: #ffffff;
  border: 1px solid rgba(120, 224, 252, 0.28);
  box-shadow:
    0 18px 38px rgba(7, 24, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.bento-card.navy::after {
  background: radial-gradient(circle, rgba(120, 224, 252, 0.18), transparent 70%);
}
.bento-card.navy:hover {
  border-color: rgba(120, 224, 252, 0.48);
  box-shadow:
    0 24px 44px rgba(7, 24, 48, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.bento-card.ice {
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 102, 224, 0.08), transparent 55%),
    linear-gradient(155deg, #ffffff 0%, #f2f8ff 100%);
  color: var(--navy);
  border: 1px solid #d4e4f7;
  box-shadow:
    0 14px 32px rgba(10, 34, 64, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bento-card.ice::after {
  background: radial-gradient(circle, rgba(0, 184, 230, 0.12), transparent 70%);
}
.bento-card.ice:hover {
  border-color: #9ec5f0;
  box-shadow:
    0 20px 40px rgba(10, 34, 64, 0.11),
    inset 0 1px 0 #ffffff;
}
.bento-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  position: relative;
  z-index: 1;
}
.bento-card.navy .bento-ico {
  background: rgba(120, 224, 252, 0.16);
  border: 1px solid rgba(120, 224, 252, 0.28);
  color: var(--sky);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.bento-card.ice .bento-ico {
  background: linear-gradient(135deg, #e8f3ff, #d8ebff);
  border: 1px solid #c2dcf9;
  color: var(--blue);
}
.bento-ico svg { width: 20px; height: 20px; }
.bento-card > div:last-child { position: relative; z-index: 1; }
.bento-card strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.bento-card span { font-size: 12.5px; line-height: 1.55; opacity: 0.86; display: block; }

/* Architectural 4-Column Pillar Cards */
.hero-pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 22px 22px 24px;
  border-radius: 22px;
  border: 1px solid #d5e6f7;
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(0, 102, 224, 0.1), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    0 14px 32px rgba(10, 34, 64, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.pillar-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.pillar-card::after {
  content: '';
  position: absolute;
  right: -28px; bottom: -36px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 224, 0.08), transparent 68%);
  pointer-events: none;
}
.pillar-edu { border-color: #c9def8; }
.pillar-edu::before { background: linear-gradient(180deg, #0066e0, #00b8e6); }
.pillar-edu .pillar-ico {
  background: linear-gradient(145deg, #ffffff, #dcebff);
  border-color: #b7d4f8;
  box-shadow: 0 10px 20px rgba(0, 102, 224, 0.14);
}
.pillar-conn {
  border-color: #c5e8f2;
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(8, 145, 178, 0.12), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f3fbff 100%);
}
.pillar-conn::before { background: linear-gradient(180deg, #0891b2, #38bdf8); }
.pillar-conn::after { background: radial-gradient(circle, rgba(8, 145, 178, 0.1), transparent 68%); }
.pillar-conn .pillar-ico {
  background: linear-gradient(145deg, #ffffff, #d5f4fb);
  border-color: #9fdff0;
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.16);
}
.pillar-filter {
  border-color: #f3d0d8;
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(225, 29, 72, 0.1), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #fff8f9 100%);
}
.pillar-filter::before { background: linear-gradient(180deg, #e11d48, #fb7185); }
.pillar-filter::after { background: radial-gradient(circle, rgba(225, 29, 72, 0.09), transparent 68%); }
.pillar-filter .pillar-ico {
  background: linear-gradient(145deg, #ffffff, #ffe4ea);
  border-color: #fdc8d3;
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.14);
}
.pillar-uk {
  border-color: #c7ebd9;
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(5, 150, 105, 0.11), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f4fcf8 100%);
}
.pillar-uk::before { background: linear-gradient(180deg, #059669, #34d399); }
.pillar-uk::after { background: radial-gradient(circle, rgba(5, 150, 105, 0.1), transparent 68%); }
.pillar-uk .pillar-ico {
  background: linear-gradient(145deg, #ffffff, #d8f8e8);
  border-color: #a7efc9;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.14);
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(10, 34, 64, 0.11);
}
.pillar-visual {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pillar-ico {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.pillar-card:hover .pillar-ico { transform: translateY(-2px) scale(1.04); }
.pillar-ico img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.pillar-card h3 {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.pillar-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 28ch;
}

/* Sections & Typography */
section { padding: 76px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}
.section-head h2, section h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-top: 10px;
}
.section-head p {
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Partners marquee */
.partners-band {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  overflow: hidden;
}
.partners-label {
  position: relative;
  z-index: 2;
  padding: 0 22px 0 36px;
  background: linear-gradient(90deg, #ffffff 70%, rgba(255, 255, 255, 0));
  white-space: nowrap;
}
.partners-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.partners-label span::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 0 0 4px rgba(0, 184, 230, 0.15);
}
.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 18px 0;
  animation: partnersScroll 42s linear infinite;
}
.partners-band:hover .partners-track,
.motion-off .partners-track {
  animation-play-state: paused;
}
.partner-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 220px;
  height: 88px;
  padding: 12px 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e6f7;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(10, 34, 64, 0.05);
}
.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
}
.partner-logo img[alt="Guardz"] {
  max-height: 46px;
  max-width: 100%;
}
.partner-logo img[alt="Securly"] {
  max-height: 34px;
  max-width: 100%;
}
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 820px) {
  .partners-band { grid-template-columns: 1fr; }
  .partners-label {
    padding: 14px 18px 0;
    background: transparent;
  }
}

/* Setting Highlight Cards (clean left-accented tiles, distinct from circular medallions) */
.intro-band {
  background:
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(0, 102, 224, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 40%, rgba(0, 184, 230, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
  border-bottom: 1px solid var(--line);
}
.setting-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.setting-tile {
  background: linear-gradient(165deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.setting-tile.t-cyan {
  border-top-color: var(--cyan);
  background: linear-gradient(165deg, #ffffff 0%, #eefbff 100%);
}
.setting-tile.t-mint {
  border-top-color: var(--mint);
  background: linear-gradient(165deg, #ffffff 0%, #f0fdf7 100%);
}
.setting-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 102, 224, 0.12);
  background: #ffffff;
}
.setting-tile-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #e8f3ff, #cfe5ff); color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.setting-tile.t-cyan .setting-tile-ico { background: linear-gradient(135deg, #e0f7fe, #bae6fd); color: #0284c7; }
.setting-tile.t-mint .setting-tile-ico { background: linear-gradient(135deg, #dcfce7, #a7f3d0); color: #059669; }
.setting-tile-ico svg { width: 21px; height: 21px; }
.setting-tile h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.setting-tile p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 16px; flex: 1; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--blue);
}
.text-link:hover { text-decoration: underline; }

/* School Selector Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.tabs button:hover { border-color: var(--blue); color: var(--blue); }
.tabs button[aria-selected="true"] {
  background: linear-gradient(125deg, var(--navy), #0d3d7a 55%, #0a5f8f);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 34, 64, 0.2);
}
.school-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.school-copy { padding: 38px; }
.school-copy h3 { font-size: 28px; font-weight: 800; margin: 10px 0 14px; letter-spacing: -0.02em; }
.school-copy p { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0 0 22px; }
.school-right { background: var(--ice); padding: 34px 36px; }
.school-right .eyebrow { margin-bottom: 14px; }
.fit-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-top: 1px solid #c9d9ed;
}
.fit-row > span {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: #ffffff; border: 1px solid #c6daef;
  border-radius: 6px; padding: 5px 8px; flex-shrink: 0;
}
.fit-row b { display: block; font-size: 14px; color: var(--navy); }
.fit-row small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.school-right .micro { color: var(--muted); margin-top: 10px; font-size: 12px; }

/* Dark Services Section + Network Diagram */
.services {
  background: linear-gradient(155deg, #051638 0%, #072259 100%);
  color: #ffffff;
}
.services .eyebrow { color: var(--sky); }
.services h2 { color: #ffffff; }
.services .section-head p { color: #c4d7f2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(114, 189, 255, 0.22);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.08);
}
.service-card .ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(0, 168, 235, 0.16);
  border: 1px solid rgba(95, 210, 255, 0.35);
  color: var(--sky);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-card .ico svg { width: 22px; height: 22px; }
.service-card h3 { color: #ffffff; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #c6d7ee; line-height: 1.7; margin: 0; }
.service-card ul {
  padding: 0; list-style: none; margin: 16px 0 22px;
  font-size: 13px; color: #e2ecf9; width: 100%;
}
.service-card li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.service-card li svg { width: 15px; height: 15px; color: var(--sky); flex-shrink: 0; }
.service-card .btn { margin-top: auto; }
.service-card .text-link { margin-top: auto; color: var(--sky); }

.arch-diagram {
  margin-top: 34px;
  background: #ffffff;
  border: 1px solid rgba(120, 224, 252, 0.34);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1.48fr 0.72fr;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(3, 14, 34, 0.42);
}
.arch-visual {
  background: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arch-visual img,
.arch-visual > svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.motion-off .arch-visual .flow {
  animation: none !important;
  opacity: 0;
}
.motion-off .arch-visual .pulse-dots {
  display: none;
}
.arch-copy {
  background: linear-gradient(160deg, #f5f9ff 0%, #eaf3ff 100%);
  border-left: 1px solid #d5e4f5;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.arch-copy .eyebrow { color: var(--blue); margin-bottom: 10px; }
.arch-copy h3 { color: var(--navy); font-size: 21px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.015em; }
.arch-copy p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 16px; }
.arch-points {
  list-style: none;
  padding: 14px 0 0;
  margin: 0 0 22px;
  border-top: 1px solid #d5e4f5;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.arch-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.arch-points li svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

/* Interactive Web Filtering */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.filter-demo {
  background: var(--ice);
  border: 1px solid #ccddf1;
  border-radius: var(--r-lg);
  padding: 28px;
}
.demo-window {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.demo-top {
  padding: 16px 20px;
  background: #f5f9ff;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--navy);
}
.demo-top span { color: var(--blue); }
.demo-tabs {
  display: flex; gap: 6px; padding: 14px 20px 0; flex-wrap: wrap;
}
.demo-tabs button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 50px;
  transition: all 0.18s;
}
.demo-tabs button[aria-selected="true"] {
  background: var(--blue); border-color: var(--blue); color: #ffffff;
}
.demo-body { padding: 18px 20px 22px; }
.demo-body h3 { font-size: 19px; margin: 4px 0 14px; }
.policy {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid #edf2f8; padding: 12px 0; font-size: 13px;
}
.badge {
  padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  background: #dcfce7; color: #166534;
}
.badge.blue { background: #e0f2fe; color: #0369a1; }
.badge.grey { background: #fee2e2; color: #991b1b; }
.demo-note { font-size: 11px; color: var(--muted); margin: 14px 0 0; }

.filter-copy p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.check-list { padding: 0; list-style: none; margin: 18px 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 14px; color: var(--ink);
}
.check-list li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.filter-copy .micro { color: var(--muted); margin-bottom: 20px; font-size: 12px; }

/* Cyber Security Section */
.cyber-section {
  background: linear-gradient(155deg, #061c46 0%, #092c6c 100%);
  color: #ffffff;
}
.cyber-section .eyebrow { color: var(--sky); }
.cyber-section h2 { color: #ffffff; }
.cyber-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.cyber-intro > div > p { font-size: 15px; line-height: 1.75; color: #cadbf2; max-width: 480px; }
.cyber-link { color: var(--sky); font-size: 14px; font-weight: 700; }
.security-stack {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(114, 189, 255, 0.25);
  border-radius: var(--r-md);
  padding: 26px;
}
.security-stack-title {
  display: flex; align-items: center; gap: 10px;
  color: var(--sky); font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.security-layer {
  display: flex; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 15px 0;
}
.security-layer:last-child { padding-bottom: 0; }
.security-layer > span { font-size: 12px; font-weight: 700; color: var(--sky); padding-top: 2px; }
.security-layer h3 { color: #ffffff; font-size: 16px; margin-bottom: 4px; }
.security-layer p { font-size: 13px; color: #c4d7f2; line-height: 1.6; margin: 0; }
.cyber-note {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 32px; padding-top: 20px;
  display: flex; gap: 28px; font-size: 13px; line-height: 1.7;
}
.cyber-note strong { color: var(--sky); white-space: nowrap; }
.cyber-note span { color: #c4d7f2; }

/* Cyber Essentials Interactive Controls */
.essentials-section { background: var(--surface); }
.essentials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch;
}
.essentials-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.essentials-copy h3 { font-size: 21px; margin-bottom: 8px; }
.essentials-copy > p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.control-list {
  display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px;
}
.control-btn {
  text-align: left; width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--navy);
  transition: all 0.18s;
}
.control-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600;
}
.control-row b { color: var(--blue); margin-right: 10px; font-size: 12px; }
.ce-chev { font-size: 16px; font-weight: 700; color: var(--muted); }
.control-note {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #dce9f9;
}
.control-btn:hover { border-color: var(--blue); }
.control-btn[aria-selected="true"] {
  background: var(--navy); border-color: var(--navy); color: #ffffff;
}
.control-btn[aria-selected="true"] b,
.control-btn[aria-selected="true"] .ce-chev { color: var(--sky); }
.control-btn[aria-selected="true"] .control-note { display: block; }
.essentials-copy .text-link { margin-top: auto; }

.essentials-path {
  background: var(--ice);
  border: 1px solid #d0e1f4;
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.essentials-path > .eyebrow { margin-bottom: 20px; }
.ce-step { display: flex; gap: 14px; margin-bottom: 18px; }
.ce-step > span {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #ffffff; font-size: 12px; font-weight: 700;
}
.ce-step h3 { font-size: 16px; margin-bottom: 4px; }
.ce-step p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.ce-levels-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: auto 0 20px;
  padding-top: 16px;
  border-top: 1px solid #c9dcef;
}
.ce-levels-mini > div {
  background: #ffffff;
  border: 1px solid #d4e3f4;
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
.ce-levels-mini strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 3px; }
.ce-levels-mini span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.essentials-path .btn { align-self: flex-start; }

.ce-disclosure { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.65; }

/* UK Coverage Hub Preview + Map */
.coverage-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 8% 15%, rgba(0, 184, 230, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 40% at 95% 75%, rgba(16, 185, 129, 0.12), transparent 55%),
    radial-gradient(ellipse 30% 30% at 50% 100%, rgba(245, 158, 11, 0.08), transparent 50%),
    linear-gradient(180deg, #eef7ff 0%, #e8f4fb 55%, #eaf8f3 100%);
  border-top: 1px solid var(--line);
}
.coverage-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: stretch;
}
.coverage-map-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid #d5e4f5;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 18px 42px rgba(10, 34, 64, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  transform: translateZ(0);
}
.uk-live-map {
  position: relative;
  z-index: 0;
  width: 100%;
  flex: 1;
  min-height: 480px;
  background: #e8eef5;
  overflow: hidden;
  border-radius: inherit;
}
.coverage-pin {
  position: relative;
  width: 18px;
  height: 18px;
}
.coverage-pin span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 102, 224, 0.45);
  z-index: 2;
}
.coverage-pin i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgba(0, 102, 224, 0.35);
  z-index: 1;
}
.motion-on .coverage-pin i {
  animation: mapPulse 2.2s var(--ease) infinite;
}
.leaflet-container {
  font: inherit;
  background: #e8eef5;
  z-index: 0 !important;
  max-width: 100%;
}
.coverage-map-card .leaflet-pane,
.coverage-map-card .leaflet-top,
.coverage-map-card .leaflet-bottom {
  /* Keep Leaflet's internal stacking below site chrome */
  z-index: auto;
}
.coverage-map-card .leaflet-map-pane { z-index: 1; }
.coverage-map-card .leaflet-tile-pane { z-index: 2; }
.coverage-map-card .leaflet-overlay-pane { z-index: 3; }
.coverage-map-card .leaflet-shadow-pane { z-index: 4; }
.coverage-map-card .leaflet-marker-pane { z-index: 5; }
.coverage-map-card .leaflet-tooltip-pane { z-index: 6; }
.coverage-map-card .leaflet-popup-pane { z-index: 7; }
.coverage-map-card .leaflet-control { z-index: 8; }
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255, 255, 255, 0.82) !important;
}
.coverage-tooltip {
  background: #0a2240;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(10, 34, 64, 0.25);
}
.coverage-tooltip::before { border-top-color: #0a2240 !important; }
@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.coverage-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d5e4f5;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(10, 34, 64, 0.07);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.coverage-panel > .btn { align-self: flex-start; margin-top: 18px; }

.loc-controls {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 16px;
}
.loc-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-filter-pills button {
  border: 1px solid #d0e0f2;
  background: #ffffff;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.loc-filter-pills button:hover { border-color: var(--blue); color: var(--blue); }
.loc-filter-pills button[aria-pressed="true"] {
  background: linear-gradient(125deg, var(--blue), #008ef4);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 102, 224, 0.22);
}
.loc-search {
  flex: 1 1 200px;
  padding: 10px 16px;
  border: 1px solid #c5d4e6;
  border-radius: 50px;
  background: #ffffff;
  color: var(--navy);
  font-size: 13px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.loc-search:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 224, 0.12);
}

.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.loc-grid.three { grid-template-columns: repeat(3, 1fr); }
.loc-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d7e5f5;
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.loc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  opacity: 0.7;
  transition: opacity 0.22s, width 0.22s;
}
.loc-card[data-loc-type="nation"]::before { background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.loc-card[data-loc-type="county"]::before { background: linear-gradient(180deg, var(--mint), #34d399); }
.loc-card[data-loc-type="city"]::before { background: linear-gradient(180deg, var(--amber), var(--coral)); }
.loc-card:hover {
  transform: translateY(-3px);
  border-color: #9ec5f0;
  box-shadow: 0 14px 30px rgba(10, 34, 64, 0.1);
}
.loc-card:hover::before { opacity: 1; width: 4px; }
.loc-card .meta {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 6px;
}
.loc-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.loc-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; flex: 1; }
.loc-card .text-link { font-size: 13px; }

/* Process */
.process {
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(0, 184, 230, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 100%, rgba(16, 185, 129, 0.07), transparent 55%),
    var(--surface);
  border-top: 1px solid var(--line);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.step {
  background: linear-gradient(165deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--r-md);
  padding: 22px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step:nth-child(1) { border-top-color: var(--blue); }
.step:nth-child(2) { border-top-color: var(--cyan); background: linear-gradient(165deg, #ffffff 0%, #eefbff 100%); }
.step:nth-child(2) span { color: #0284c7; }
.step:nth-child(3) { border-top-color: var(--mint); background: linear-gradient(165deg, #ffffff 0%, #f0fdf7 100%); }
.step:nth-child(3) span { color: #059669; }
.step:nth-child(4) { border-top-color: var(--amber); background: linear-gradient(165deg, #ffffff 0%, #fffbeb 100%); }
.step:nth-child(4) span { color: #d97706; }
.step span { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; }
.step h3 { font-size: 18px; margin: 8px 0; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* About + AI Answer Summary */
.about {
  background:
    radial-gradient(ellipse 45% 50% at 100% 20%, rgba(0, 184, 230, 0.12), transparent 55%),
    radial-gradient(ellipse 35% 40% at 0% 80%, rgba(0, 102, 224, 0.08), transparent 50%),
    linear-gradient(180deg, #e8f3ff 0%, #eef8ff 100%);
  padding: 72px 0;
}
.about .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.about-lead h2 { margin-bottom: 18px; }
.about-lead p { color: var(--muted); line-height: 1.75; font-size: 15px; margin: 0 0 14px; }
.about-lead p:last-child { margin-bottom: 0; }

.about-card {
  background: var(--surface);
  border: 1px solid #cce0f5;
  border-top: 4px solid var(--blue);
  border-radius: var(--r-md);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.about-card-head h3 { font-size: 21px; font-weight: 800; margin: 8px 0 12px; color: var(--navy); }
.about-card > p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.about-facts {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.about-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.about-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-facts span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.about-facts strong { color: var(--navy); text-align: right; }
.about-facts a { color: var(--blue); }
.about-facts a:hover { text-decoration: underline; }

.ai-answer {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #c6daef;
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-top: 18px;
}
.ai-answer h2, .ai-answer h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.ai-answer p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 880px; margin: auto; }
.faq h2 { text-align: center; margin-bottom: 30px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  margin: 10px 0;
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: var(--cyan);
  background: linear-gradient(180deg, #ffffff 0%, #f0faff 100%);
  box-shadow: 0 12px 28px rgba(0, 184, 230, 0.12);
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--navy); }
.faq details p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 12px 0 0; }

/* Contact CTA */
.contact {
  background:
    radial-gradient(ellipse 40% 80% at 90% 50%, rgba(16, 185, 129, 0.28), transparent 55%),
    radial-gradient(ellipse 35% 70% at 10% 80%, rgba(255, 107, 74, 0.18), transparent 50%),
    linear-gradient(125deg, #061f52 0%, #0070e0 55%, #00a8eb 82%, #12c4a8 100%);
  color: #ffffff;
  padding: 68px 0;
}
.contact .wrap {
  display: flex; justify-content: space-between; gap: 32px; align-items: center;
}
.contact .eyebrow { color: var(--sky); }
.contact h2 { color: #ffffff; font-size: clamp(28px, 3.2vw, 42px); margin: 10px 0; }
.contact p { color: #dceafd; font-size: 15px; margin: 0; }
.contact .btn { background: #ffffff; color: var(--navy); flex-shrink: 0; }
.contact .btn:hover { background: var(--ice); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }

/* Footer */
footer { background: var(--navy-deep); color: #cddbf0; padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer .image-logo { width: 240px; margin-bottom: 12px; }
footer p, footer a { font-size: 13px; line-height: 1.85; color: #c4d5ec; }
footer a:hover { color: #ffffff; }
footer h4 { font-size: 12px; letter-spacing: 0.12em; color: var(--sky); margin: 0 0 12px; }
footer .links { display: flex; flex-direction: column; gap: 4px; }
.bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px; padding-top: 20px;
  display: flex; justify-content: space-between; font-size: 12px; color: #9cb3d1;
}
footer .legal-note {
  margin: 14px 0 0;
  max-width: 920px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8aa3c2;
}

/* Location Subpages */
.breadcrumb { padding: 18px 0 0; font-size: 12px; color: var(--muted); }
.loc-aside .micro { color: var(--muted); }
.loc-hero .breadcrumb { padding: 0 0 16px; color: #b8d0ef; }
.loc-hero .breadcrumb a { color: var(--sky); }
.loc-hero .breadcrumb li:not(:last-child)::after { color: rgba(255, 255, 255, 0.35); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: #9db0c7; }
.breadcrumb a { color: var(--blue); font-weight: 600; }

.loc-hero {
  background: linear-gradient(135deg, #05163a 0%, #072259 60%, #09327c 100%);
  color: #ffffff;
  padding: 52px 0;
}
.loc-hero .eyebrow { color: var(--sky); }
.loc-hero h1 { color: #ffffff; font-size: clamp(34px, 4vw, 50px); margin: 14px 0; letter-spacing: -0.02em; }
.loc-hero h1 em { font-style: normal; color: var(--sky); }
.loc-hero .lead { color: #d3e2f7; max-width: 640px; font-size: 17px; line-height: 1.7; }
.loc-hero .micro { color: #9db7dc; margin-top: 14px; }

.loc-content {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start;
  margin-top: 32px;
}
.loc-content .prose h2 { font-size: 24px; margin: 28px 0 10px; }
.loc-content .prose p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.loc-aside {
  background: var(--ice); border: 1px solid #c9dcef;
  border-radius: var(--r-md); padding: 26px;
}
.loc-aside h3 { font-size: 18px; margin-bottom: 12px; }
.loc-aside ul { padding: 0; list-style: none; margin: 0 0 18px; }
.loc-aside li { padding: 9px 0; border-top: 1px solid #c6daef; font-size: 14px; }
.loc-aside li:first-child { border-top: 0; }
.nation-note {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm); padding: 16px 20px;
  font-size: 13px; color: var(--muted); line-height: 1.7; margin: 22px 0;
}
.related-locs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.related-locs a {
  border: 1px solid var(--line); background: var(--surface);
  padding: 9px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.related-locs a:hover { border-color: var(--blue); color: var(--blue); }

/* Dialogs */
dialog {
  border: 0; border-radius: var(--r-lg); width: min(540px, 92vw);
  padding: 30px; color: var(--navy); box-shadow: var(--shadow-lg);
}
dialog::backdrop { background: rgba(5, 22, 56, 0.72); backdrop-filter: blur(4px); }
dialog h2 { font-size: 26px; margin-bottom: 8px; }
dialog p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.close { float: right; border: 0; background: var(--ice); border-radius: 50%; width: 34px; height: 34px; font-size: 18px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input, select {
  width: 100%; padding: 11px 12px; border: 1px solid #c5d4e6;
  border-radius: var(--r-sm); background: #ffffff; color: var(--navy);
}
form .btn { width: 100%; margin-top: 18px; border-radius: 50px; }
.success { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Subtle Motion */
.motion-toggle {
  position: fixed; bottom: 14px; right: 14px; z-index: 40;
  border: 1px solid #c5d5ea; background: rgba(255, 255, 255, 0.94);
  color: var(--navy); border-radius: 50px; padding: 7px 12px;
  font-size: 11px; font-weight: 600; box-shadow: var(--shadow);
}
.motion-on .reveal.is-waiting { opacity: 0; transform: translateY(16px); }
.motion-on .reveal { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation: none !important; transition: none !important;
}
.motion-off .reveal.is-waiting { opacity: 1; transform: none; }
.panel-enter { animation: panelIn 0.3s var(--ease) both; }

@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes panelIn { from { opacity: 0.3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .wrap { padding-inline: 26px; }
  .nav-actions .btn { display: none; }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .setting-strip, .loc-grid.three { grid-template-columns: repeat(2, 1fr); }
  .coverage-layout { grid-template-columns: 1fr; }
  .coverage-map-card { max-width: 480px; margin-inline: auto; }
  .arch-diagram { grid-template-columns: 1fr; }
  .arch-copy { border-left: 0; border-top: 1px solid #d5e4f5; }
}

@media (max-width: 820px) {
  .menu { display: inline-flex; align-items: center; gap: 6px; }
  nav {
    display: none;
    position: absolute; top: 88px; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    flex-direction: column; align-items: flex-start; gap: 14px;
    box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  .hero-grid, .school-panel, .filter-grid,
  .cyber-intro, .essentials-grid, .ce-levels, .about .wrap, .loc-content {
    grid-template-columns: 1fr;
  }
  .ce-levels > div + div { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 18px; }
  .top .wrap { flex-direction: column; text-align: center; gap: 2px; font-size: 11px; }
  .nav { height: 76px; }
  nav { top: 76px; }
  .image-logo { width: 195px; }
  .hero { padding: 34px 0 38px; }
  .hero-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-photo { grid-row: auto; min-height: 250px; }
  .hero-pillars { grid-template-columns: 1fr; }
  .setting-strip, .service-grid, .loc-grid, .loc-grid.three,
  .steps, .foot-grid, .ce-levels-mini,
  .insight-grid, .review-strip, .review-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .school-copy, .school-right { padding: 24px; }
  .arch-visual { padding: 10px; }
  .arch-copy { padding: 22px; }
  .coverage-panel { padding: 16px; }
  .coverage-map-card, .uk-live-map { min-height: 360px; }
  .bottom { flex-direction: column; gap: 10px; }
}

/* Insights / blog / reviews */
.insights-band {
  background:
    radial-gradient(ellipse 45% 50% at 10% 0%, rgba(0, 184, 230, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 45% at 90% 100%, rgba(0, 102, 224, 0.06), transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #d7e6f7;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(10, 34, 64, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(10, 34, 64, 0.09);
}
.insight-card h2,
.insight-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.insight-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.insight-card .text-link { margin-top: auto; }
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.insight-meta time,
.insight-meta span:not(:first-child) {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.insight-card.listed a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.insight-card.compact {
  padding: 18px;
  min-height: 0;
}
.insight-card.compact h3 { font-size: 1.02rem; }
.insights-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}
.review-strip,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.review-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.review-card {
  margin: 0;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  border: 1px solid #d7e6f7;
  border-radius: 18px;
}
.review-stars {
  display: inline-block;
  color: #e8a317;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}
.review-card blockquote {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}
.review-card figcaption {
  display: grid;
  gap: 2px;
  font-size: 0.86rem;
}
.review-card figcaption strong { color: var(--ink); }
.review-card figcaption span { color: var(--muted); }
.review-card figcaption em {
  font-style: normal;
  color: var(--cyan-deep, #0077a8);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.blog-hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(0, 184, 230, 0.1), transparent 55%),
    linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 18ch;
  margin: 12px 0 14px;
}
.blog-list-band,
.reviews-band { border-bottom: 1px solid var(--line); }
.wrap.narrow { max-width: 760px; }
.blog-article { padding: 36px 0 20px; }
.blog-header { margin-bottom: 28px; }
.blog-header h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 12px 0 14px;
}
.blog-body { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.blog-body h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 1.6em 0 0.55em;
}
.blog-body p { margin: 0 0 1em; }
.blog-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}
.blog-body li { margin: 0.35em 0; }
.blog-callout {
  margin: 1.6em 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 102, 224, 0.08), rgba(0, 184, 230, 0.1));
  border: 1px solid #cfe3f8;
}
.blog-callout p { margin: 0; font-weight: 600; }
.blog-schools {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid #d7e6f7;
}
.blog-schools h2 { font-size: 1rem; margin: 0 0 8px; }
.blog-schools ul { margin: 0; padding-left: 1.1em; }
.blog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 32px 0 12px;
  padding: 22px;
  border-radius: 18px;
  background: var(--navy, #071d48);
  color: #fff;
}
.blog-cta p { margin: 0; flex: 1 1 220px; }
.blog-related { padding-top: 12px; border-top: 1px solid var(--line); }
.page-hero .breadcrumb,
.blog-article .breadcrumb { margin-bottom: 18px; }

@media (max-width: 900px) {
  .insight-grid,
  .review-strip { grid-template-columns: 1fr; }
  .blog-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-waiting { opacity: 1 !important; transform: none !important; }
  .partners-track { transform: none !important; }
}
