:root {
  --t24-navy: #0b1f3a;
  --t24-deep: #123a73;
  --t24-blue: #1e63d6;
  --t24-cyan: #22d3ee;
  --t24-light: #eaf6ff;
  --t24-white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(30, 99, 214, .14);
  --card: rgba(255,255,255,.88);
  --shadow: 0 24px 70px rgba(18,58,115,.10);
  --icon-color: var(--t24-blue);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Public Sans, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(34,211,238,.18), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(30,99,214,.14), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
  color: var(--text);
}

img { max-width: 100%; display: block; }

.site-header {
  padding: 26px 24px 10px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--t24-navy);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(30,99,214,.16);
}

.brand strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.03em;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
}

.nav-pill {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--t24-deep);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  font-weight: 800;
}

.hero {
  max-width: 1180px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy, .hero-card, .panel, .service-area {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 42px;
  overflow: hidden;
  position: relative;
}

.hero-copy:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,211,238,.26), rgba(30,99,214,.18));
}

.eyebrow, .section-kicker {
  color: var(--t24-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0;
  color: var(--t24-navy);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}

.stats {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.stats div {
  min-width: 150px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-size: 34px;
  color: var(--t24-blue);
}

.stats span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.toggle-group {
  display: grid;
  gap: 10px;
}

.toggle {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--t24-deep);
  font-weight: 900;
  text-align: left;
  transition: .2s ease;
}

.toggle:hover, .toggle.active {
  background: linear-gradient(135deg, var(--t24-blue), #09b8df);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(30,99,214,.22);
}

main {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 24px 38px;
}

.panel {
  padding: 22px;
}

.search-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.search-panel h2, .selected-head h2 {
  margin: 0;
  font-size: 30px;
  color: var(--t24-navy);
}

.search-box {
  min-width: min(420px, 100%);
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 15px 18px;
  outline: none;
  font-size: 15px;
}

.search-box input:focus {
  border-color: rgba(30,99,214,.55);
  box-shadow: 0 0 0 4px rgba(30,99,214,.12);
}

.category-wrap {
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.category-circle {
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 28px;
  min-height: 168px;
  padding: 18px 12px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--t24-navy);
  box-shadow: 0 12px 34px rgba(18,58,115,.07);
  transition: .2s ease;
}

.category-circle:hover,
.category-circle.active {
  transform: translateY(-4px);
  border-color: rgba(30,99,214,.42);
  box-shadow: 0 22px 50px rgba(18,58,115,.13);
}

.category-circle.active {
  background: linear-gradient(135deg, #ffffff, #eaf6ff);
}

.icon-bubble {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(30,99,214,.10);
  margin-bottom: 12px;
  overflow: hidden;
}

.category-circle h3 {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.category-circle small {
  color: var(--muted);
  font-weight: 900;
}

.icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.mask-icon {
  width: 58px;
  height: 58px;
  display: inline-block;
  background: var(--icon-color);
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

body.icon-mode-white {
  --icon-color: #ffffff;
}

body.icon-mode-current {
  --icon-color: #1e63d6;
}

body.icon-mode-white .icon-bubble,
body.icon-mode-white .service-icon,
body.icon-mode-white .sub-icon {
  background: linear-gradient(135deg, var(--t24-navy), var(--t24-blue));
  border-color: rgba(255,255,255,.2);
}

.service-area {
  padding: 24px;
}

.selected-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 22px;
}

.selected-head p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.6;
}

.count-badge {
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, var(--t24-blue), #04b8de);
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 26px;
  padding: 18px;
  transition: .2s ease;
  cursor: default;
}

.service-card.has-sub {
  cursor: pointer;
}

.service-card.has-sub:hover,
.service-card.open {
  transform: translateY(-3px);
  border-color: rgba(30,99,214,.38);
  box-shadow: 0 20px 40px rgba(18,58,115,.10);
}

.service-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.service-icon, .sub-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--t24-light);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.service-card h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.sub-count {
  display: inline-block;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 900;
  color: var(--t24-blue);
  background: #eef6ff;
  border-radius: 999px;
  padding: 6px 10px;
}

.subservice-panel {
  margin-top: 16px;
  border-top: 1px dashed rgba(18,58,115,.22);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.subservice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(30,99,214,.10);
}

.sub-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.sub-icon .icon-img,
.sub-icon .mask-icon {
  width: 34px;
  height: 34px;
}

.empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed rgba(18,58,115,.25);
  border-radius: 26px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.footer {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0 24px;
  color: var(--muted);
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px;
  }

  .search-panel,
  .selected-head {
    flex-direction: column;
    align-items: stretch;
  }

  .count-badge {
    width: fit-content;
  }

  .category-wrap {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .brand small {
    display: none;
  }
}
