:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #edf3ff;
  --card: #f4f7fe;
  --text: #101828;
  --text-muted: #5f6c8a;
  --line: #e4eaf6;
  --blue: #1a7efa;
  --blue-2: #2c98ff;
  --blue-3: #0d5ee6;
  --navy: #09182f;
  --navy-2: #0a2645;
  --shadow: 0 24px 60px rgba(15, 33, 69, 0.12);
  --shadow-soft: 0 18px 40px rgba(34, 95, 193, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 146, 255, 0.10), transparent 32%),
    radial-gradient(circle at bottom right, rgba(15, 123, 234, 0.12), transparent 25%),
    var(--bg);
  color: var(--text);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.page-shell {
  max-width: 1440px;
  margin: 26px auto 40px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(185, 201, 232, 0.7);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 28px;
  padding-top: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0d5ee6 0%, #47baff 100%);
  transform: rotate(-18deg);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(34, 122, 255, 0.3);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 7px;
}

.brand-mark::before {
  width: 10px;
  height: 16px;
  left: 5px;
  top: 4px;
  transform: skewY(-22deg);
}

.brand-mark::after {
  width: 10px;
  height: 16px;
  right: 5px;
  top: 4px;
  transform: skewY(22deg);
}

.brand-mark__inner {
  position: absolute;
  width: 10px;
  height: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transform: rotate(45deg);
  left: 8px;
  top: 4px;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--navy);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 145px;
  height: 47px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 16px 28px rgba(26, 126, 250, 0.28);
}

.cta-button span {
  font-size: 1.25rem;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 30px 0 14px;
  gap: 32px;
}

.hero-copy {
  padding: 18px 0 10px;
}

.kicker,
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5d7ca7;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
  color: var(--navy);
}

.hero-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  box-shadow: 0 18px 28px rgba(33, 125, 255, 0.24);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(19, 39, 83, 0.08);
  color: var(--navy);
}

.primary-btn:hover,
.secondary-btn:hover,
.cta-button:hover,
.inline-link:hover {
  transform: translateY(-1px);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.avatars {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #f4f7fb;
  margin-left: -8px;
  background: linear-gradient(135deg, #c8d9ff, #8aa8ff);
  box-shadow: inset 0 0 0 1px rgba(18, 27, 52, 0.04);
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) {
  background: linear-gradient(135deg, #f7d3bf, #cf8d77);
}

.avatars span:nth-child(3) {
  background: linear-gradient(135deg, #d2f1d6, #82b98f);
}

.social-proof__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
}

.social-proof__text strong {
  font-size: 1.4rem;
  letter-spacing: -0.08em;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.display-panel {
  position: relative;
  width: min(560px, 100%);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-glow {
  position: absolute;
  inset: 36% 10% 10% 10%;
  background: linear-gradient(180deg, rgba(35, 113, 249, 0.34), rgba(11, 223, 255, 0.1));
  filter: blur(32px);
  border-radius: 50%;
}

.platform-ring {
  position: absolute;
  inset: 26% 18% 8% 18%;
  border-radius: 44% 46% 52% 48% / 38% 32% 68% 62%;
  border: 3px solid rgba(27, 129, 255, 0.66);
  box-shadow: inset 0 0 18px rgba(80, 186, 255, 0.2), 0 0 30px rgba(39, 141, 255, 0.2);
  transform: rotate(-18deg);
}

.platform-base {
  position: absolute;
  bottom: 52px;
  width: 340px;
  height: 112px;
  background: linear-gradient(180deg, rgba(6, 58, 111, 0.85), rgba(10, 25, 49, 0.96));
  border-radius: 50% 50% 30% 30% / 52% 52% 40% 40%;
  box-shadow: inset 0 0 0 2px rgba(104, 177, 255, 0.12), 0 22px 28px rgba(9, 20, 38, 0.3);
}

.platform-base::before,
.platform-base::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, rgba(68, 101, 145, 0.2), rgba(75, 201, 255, 0.7), rgba(68, 101, 145, 0.2));
  border-radius: 50%;
  height: 7px;
  bottom: 18px;
}

.platform-base::before {
  left: 18%;
  width: 64%;
}

.platform-base::after {
  left: 30%;
  width: 42%;
  bottom: 8px;
}

.system-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8, 145, 255, 0.96), rgba(20, 231, 255, 0.86));
  box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.18), 0 0 18px rgba(70, 180, 255, 0.5);
}

.orb-1 {
  width: 122px;
  height: 122px;
  top: 88px;
  left: 120px;
  transform: rotate(15deg);
}

.orb-2 {
  width: 160px;
  height: 160px;
  top: 120px;
  right: 120px;
  background: linear-gradient(135deg, rgba(27, 108, 214, 0.94), rgba(23, 225, 255, 0.65));
}

.orb-3 {
  width: 70px;
  height: 70px;
  left: 40%;
  top: 80px;
}

.bars {
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: 150px;
  height: 86px;
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.bars span {
  display: block;
  width: 16px;
  height: var(--bar-h);
  background: linear-gradient(180deg, rgba(60, 198, 255, 0.92), rgba(10, 93, 212, 0.95));
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 18px rgba(54, 176, 255, 0.4);
}

.mini-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(113, 148, 198, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 26px rgba(18, 49, 91, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.mini-badge strong {
  display: block;
  font-size: 0.82rem;
}

.mini-badge small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.badge-top {
  top: 38px;
  left: 18px;
}

.badge-right {
  right: 0;
  top: 118px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-badge__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
}

.mini-badge__value {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(130, 155, 202, 0.24);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 22px rgba(15, 31, 71, 0.07);
  min-width: 120px;
}

.left-card {
  left: 36px;
  bottom: 72px;
}

.right-card {
  right: 20px;
  bottom: 90px;
}

.dot,
.line-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfeeff, #cfe3ff);
  color: var(--blue-3);
  font-size: 0.9rem;
}

.floating-card strong {
  display: block;
  font-size: 0.82rem;
}

.floating-card small {
  color: var(--text-muted);
  font-size: 0.67rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
  padding: 12px 0 32px;
}

.stat-item {
  padding: 18px 12px 10px;
  text-align: center;
  border: 1px solid rgba(160, 175, 207, 0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.35);
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(39, 122, 241, 0.12), rgba(77, 196, 255, 0.15));
  color: var(--blue-3);
  font-size: 1.1rem;
}

.stat-value {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--navy);
}

.stat-label {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.services,
.why-us,
.projects,
.process,
.testimonials {
  padding: 32px 0 18px;
}

.section-head,
.section-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-head h2,
.section-header-row h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  color: var(--navy);
}

.section-head p,
.section-header-row p {
  margin: 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-3);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 20px 18px;
  min-height: 220px;
  box-shadow: 0 14px 25px rgba(16, 27, 60, 0.04);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(32, 112, 255, 0.09), rgba(77, 212, 255, 0.14));
  color: var(--blue-3);
}

.service-card__icon.cyan {
  background: linear-gradient(135deg, rgba(31, 161, 255, 0.12), rgba(36, 244, 255, 0.12));
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edf6ff, #dfeeff);
  color: var(--blue-3);
  font-size: 1.3rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-item {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  min-height: 190px;
}

.feature-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(42, 123, 255, 0.1), rgba(77, 176, 255, 0.1));
  color: var(--blue-3);
  font-size: 1.3rem;
}

.feature-item h3 {
  margin: 18px 0 12px;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 30px rgba(17, 26, 53, 0.04);
}

.dark-card {
  background: linear-gradient(180deg, #0b1831 0%, #0f2543 100%);
  color: #ecf4ff;
}

.blue-card {
  background: linear-gradient(180deg, #eaf4ff 0%, #dfeeff 100%);
}

.project-preview {
  position: relative;
  height: 220px;
  padding: 18px;
}

.preview-1 {
  background: linear-gradient(135deg, rgba(25, 95, 223, 0.85), rgba(19, 48, 90, 0.96));
}

.preview-2 {
  background: linear-gradient(135deg, rgba(69, 146, 255, 0.82), rgba(40, 96, 224, 0.8));
}

.preview-3 {
  background: linear-gradient(135deg, rgba(19, 57, 104, 0.92), rgba(8, 29, 58, 0.98));
}

.mini-window {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 28px;
  height: 120px;
  border-radius: 18px;
  border: 2px solid rgba(187, 222, 255, 0.8);
  background: rgba(255,255,255,0.07);
}

.mini-window::before, .mini-window::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 196, 255, 0.8), rgba(22, 92, 234, 0.8));
}

.mini-window::before {
  width: 72%;
  height: 12px;
  left: 12%;
  top: 24px;
}

.mini-window::after {
  width: 48%;
  height: 10px;
  left: 12%;
  top: 52px;
}

.mini-window--small {
  width: 42%;
  height: 92px;
  left: auto;
  right: 28px;
  top: 84px;
  background: rgba(18, 65, 125, 0.24);
}

.phone-frame {
  position: absolute;
  right: 70px;
  top: 26px;
  width: 182px;
  height: 166px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.1));
  border: 2px solid rgba(255,255,255,0.38);
  box-shadow: 0 18px 30px rgba(9, 18, 35, 0.16);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 18px 22px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(204,225,255,0.35));
}

.chart-bars {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  width: 180px;
  height: 110px;
}

.chart-bars span {
  display: block;
  width: 22px;
  height: var(--h);
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(104, 234, 255, 0.9), rgba(35, 128, 255, 0.95));
  box-shadow: 0 0 20px rgba(70, 183, 255, 0.4);
}

.project-info {
  padding: 22px 20px 22px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(42, 121, 255, 0.12);
  color: var(--blue-3);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-card.dark-card .project-tag {
  color: #dfeeff;
  background: rgba(255,255,255,0.09);
}

.project-info h3 {
  margin: 14px 0 8px;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: inherit;
}

.project-info p {
  margin: 0;
  color: inherit;
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 18px;
  min-height: 210px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(43, 119, 255, 0.06), rgba(98, 205, 255, 0.16));
  color: var(--blue-3);
  font-weight: 700;
  font-size: 0.82rem;
}

.step-card h3 {
  margin: 18px 0 8px;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.quote-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 18px;
  min-height: 210px;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9e7ff, #8eb5ff);
  position: relative;
  overflow: hidden;
}

.person-avatar::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  left: 16px;
  top: 10px;
  background: rgba(255,255,255,0.8);
}

.person-avatar::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 18px;
  left: 10px;
  right: 10px;
  bottom: 7px;
  border-radius: 14px 14px 50% 50%;
  background: rgba(255,255,255,0.82);
}

.avatar-two {
  background: linear-gradient(135deg, #fde9d9, #d5a798);
}

.avatar-three {
  background: linear-gradient(135deg, #dff3e8, #99ceb9);
}

.quote-person strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.quote-person small {
  color: var(--text-muted);
}

.quote-card p {
  margin: 18px 0 14px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.stars {
  color: #ffb02e;
  letter-spacing: 0.2em;
  font-size: 0.86rem;
}

.mini-arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  color: var(--navy);
  font-size: 1.2rem;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  margin-bottom: 40px;
  padding: 26px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0d1830 0%, #0d2b5a 48%, #0b85ef 100%);
  box-shadow: 0 24px 40px rgba(14, 31, 65, 0.18);
}

.cta-banner__text p {
  margin: 0;
  font-size: clamp(1.9rem, 2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.06em;
  color: #fff;
}

.cta-banner__text span {
  display: block;
  margin-top: 10px;
  max-width: 650px;
  color: rgba(230, 240, 255, 0.8);
  font-size: 0.96rem;
  line-height: 1.7;
}

.cta-button.alt {
  min-width: 220px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 18px 0 30px;
}

.footer-brand-block {
  max-width: 360px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand-block p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.socials span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(39, 125, 255, 0.08);
  color: var(--blue-3);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 28px;
  flex: 1;
}

.footer-links h4 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 26px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .service-grid,
  .process-grid,
  .feature-list,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .page-shell {
    margin: 16px auto 20px;
    border-radius: 20px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .section-head,
  .section-header-row,
  .cta-banner,
  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats,
  .service-grid,
  .feature-list,
  .project-grid,
  .process-grid,
  .testimonial-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .stats {
    display: grid;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    min-height: 350px;
  }

  .cta-banner {
    padding: 22px 18px;
  }

  .cta-button {
    width: 100%;
  }
}

/* Shared navigation and detail pages */
.mobile-menu { display: none; }
.main-nav a[aria-current="page"] { color: var(--blue-3); font-weight: 700; }
.hero-note { margin-top: 20px !important; font-size: .92rem !important; }
.project-detail { display: inline-flex; margin-top: 16px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.quote-card h3 { margin: 4px 0 0; color: var(--navy); font-size: 1.3rem; }
.quote-card p { margin-bottom: 0; }
.brand:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 4px; }
.copyright a:hover, .footer-links a:hover { color: var(--blue-3); }
.detail-card, .notice-panel, .contact-primary, .contact-aside, .policy-content { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 25px rgba(16,27,60,.04); }
.subpage-hero { padding: 70px 0 48px; }
.subpage-hero h1 { max-width: 850px; margin: 16px 0 20px; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.06em; }
.subpage-hero p { max-width: 760px; margin: 0; color: var(--text-muted); font-size: 1.1rem; line-height: 1.75; }
.content-section { padding: 12px 0 34px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.detail-card { padding: 30px; scroll-margin-top: 24px; }
.detail-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--panel-soft); color: var(--blue-3); font-weight: 800; font-size: 1.2rem; }
.detail-card h2, .contact-layout h2, .notice-panel h2, .split-content h2, .policy-content h2 { margin: 18px 0 12px; color: var(--navy); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.05em; line-height: 1.2; }
.detail-card h3 { margin: 24px 0 10px; font-size: 1rem; color: var(--navy); }
.detail-card p, .detail-card li, .contact-layout p, .contact-layout li, .notice-panel p, .split-content p, .policy-content p { color: var(--text-muted); line-height: 1.75; }
.detail-card ul, .contact-layout ul { padding-left: 20px; margin: 0 0 22px; }
.detail-card a, .policy-content a { color: var(--blue-3); font-weight: 700; }
.detail-type { margin: 16px 0 0 !important; color: var(--blue-3) !important; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.split-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 30px 0; }
.split-content p:first-child { margin-top: 0; }
.notice-panel { padding: 30px; }
.notice-panel h2 { margin-top: 0; }
.notice-panel p { max-width: 780px; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.contact-primary, .contact-aside { padding: 34px; }
.contact-primary .primary-btn { margin: 16px 0 24px; }
.contact-address { display: block; width: fit-content; color: var(--blue-3); font-weight: 700; }
.selected-topic { padding: 12px 16px; border-radius: 12px; background: var(--panel-soft); color: var(--blue-3) !important; font-weight: 700; }
.selected-topic[hidden] { display: none; }
.contact-aside li { margin-bottom: 10px; }
.policy-content { max-width: 850px; padding: 30px 36px; }
.policy-content h2:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .topbar { position: relative; }
  .main-nav, .header-cta { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: flex; width: 46px; height: 46px; padding: 12px 10px; flex-direction: column; justify-content: space-around; background: var(--panel-soft); border-radius: 12px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; }
  .mobile-menu nav { position: absolute; z-index: 20; top: calc(100% - 8px); left: 0; right: 0; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .mobile-menu nav a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: var(--navy); }
  .mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--panel-soft); color: var(--blue-3); }
}

@media (max-width: 760px) {
  .container { width: min(1220px, calc(100% - 36px)); }
  .topbar { flex-wrap: nowrap; justify-content: space-between; min-height: 72px; padding: 10px 0; }
  .hero { padding-top: 22px; gap: 8px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 9vw, 3.1rem); line-height: 1.08; }
  .hero-copy h1 br, .hero-copy > p:not(.hero-note) br, .section-head p br { display: none; }
  .hero-actions { width: 100%; flex-wrap: wrap; gap: 10px; }
  .hero-actions a { min-width: 0; flex: 1 1 145px; }
  .hero-visual { min-height: 300px; overflow: hidden; }
  .display-panel { height: 300px; }
  .platform-base { width: min(300px, 84%); height: 95px; bottom: 36px; }
  .orb-1 { left: 18%; top: 65px; width: 90px; height: 90px; }
  .orb-2 { right: 18%; top: 86px; width: 120px; height: 120px; }
  .orb-3 { top: 57px; }
  .bars { bottom: 56px; }
  .mini-badge, .floating-card { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-item { padding: 16px 8px; }
  .stat-value { font-size: 1.25rem; }
  .service-card { min-height: 0; padding-bottom: 72px; }
  .section-head, .section-header-row { align-items: flex-start; }
  .cta-button.alt { width: 100%; }
  .subpage-hero { padding: 44px 0 30px; }
  .subpage-hero h1 { font-size: clamp(2.25rem, 9vw, 3.2rem); }
  .detail-grid, .split-content, .contact-layout { grid-template-columns: 1fr; }
  .detail-card, .contact-primary, .contact-aside, .notice-panel, .policy-content { padding: 24px; }
  .split-content { gap: 8px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-actions a { flex-basis: 100%; }
  .section-head h2, .section-header-row h2 { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
