:root {
  --navy: #0b2345;
  --navy-2: #062c5f;
  --blue: #0c66c7;
  --blue-2: #1884e8;
  --light-blue: #eaf4ff;
  --pale: #f5f8fc;
  --line: #d9e4f0;
  --text: #1f2c3d;
  --muted: #5a6a7f;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(18, 53, 95, 0.12);
  --soft-shadow: 0 8px 22px rgba(18, 53, 95, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 22px;
}

.site-logo {
  display: flex;
  align-items: center;
  min-width: 215px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.logo-main {
  font-size: 20px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

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

.nav-contact-link {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #064fa8);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(12, 102, 199, 0.22);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 48px;
  background:
    radial-gradient(circle at 72% 20%, rgba(24, 132, 232, 0.16), transparent 34%),
    linear-gradient(115deg, #ffffff 0%, #f5faff 48%, #eaf4ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(12, 102, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 102, 199, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-lead,
.page-hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #25364b;
  font-size: 16px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #074fa7);
  box-shadow: 0 12px 24px rgba(12, 102, 199, 0.25);
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.btn-light {
  min-width: 250px;
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 14px 24px rgba(0, 24, 65, 0.22);
}

.mail-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mail-icon::before,
.mail-icon::after {
  position: absolute;
  top: 1px;
  width: 10px;
  height: 2px;
  background: currentColor;
  content: "";
}

.mail-icon::before {
  left: 1px;
  transform: rotate(34deg);
  transform-origin: left center;
}

.mail-icon::after {
  right: 1px;
  transform: rotate(-34deg);
  transform-origin: right center;
}

.sheet-small {
  position: relative;
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.sheet-small::before,
.sheet-small::after {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: currentColor;
  content: "";
}

.sheet-small::before {
  top: 5px;
}

.sheet-small::after {
  top: 10px;
}

.arrow-icon {
  width: 10px;
  height: 10px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
}

.hero-image-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  margin: 0;
}

.hero-image-panel img {
  display: block;
  width: min(100%, 620px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(8, 36, 78, 0.18));
}

.visual-grid-lines {
  position: absolute;
  inset: 12px 6px 0 6px;
  background-image:
    linear-gradient(rgba(12, 102, 199, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 102, 199, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  border-radius: 8px;
}

.visual-label {
  position: absolute;
  z-index: 4;
  padding: 5px 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0755b8);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.label-top {
  top: 3px;
  left: 42%;
}

.label-right {
  top: 145px;
  right: 8px;
}

.label-bottom {
  bottom: 26px;
  left: 35%;
}

.visual-laptop {
  position: absolute;
  right: 74px;
  bottom: 74px;
  z-index: 3;
  width: 330px;
  transform: rotate(5deg);
}

.laptop-screen {
  height: 210px;
  padding: 22px 24px;
  background: linear-gradient(145deg, #fdfefe, #d9e8f8);
  border: 12px solid #566b83;
  border-radius: 14px 14px 8px 8px;
  box-shadow: 0 24px 36px rgba(8, 36, 78, 0.28);
}

.screen-toolbar {
  height: 18px;
  margin-bottom: 18px;
  background: var(--blue);
  border-radius: 5px;
}

.screen-row {
  width: 65%;
  height: 9px;
  margin-bottom: 12px;
  background: #b8c9dc;
  border-radius: 999px;
}

.screen-row.wide {
  width: 78%;
}

.screen-row.short {
  width: 47%;
}

.chart-bars {
  position: absolute;
  right: 42px;
  bottom: 54px;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 70px;
}

.chart-bars span {
  width: 18px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-radius: 4px 4px 0 0;
}

.chart-bars span:nth-child(1) {
  height: 36px;
}

.chart-bars span:nth-child(2) {
  height: 56px;
}

.chart-bars span:nth-child(3) {
  height: 46px;
}

.laptop-base {
  width: 370px;
  height: 26px;
  margin-left: -20px;
  background: linear-gradient(180deg, #aab8c8, #6b7f96);
  border-radius: 0 0 24px 24px;
}

.db-stack {
  position: absolute;
  left: 42px;
  bottom: 90px;
  z-index: 2;
  width: 100px;
  height: 116px;
}

.db-stack span {
  position: absolute;
  left: 0;
  width: 100px;
  height: 44px;
  background: linear-gradient(180deg, #4aa7ff, #0b67c4);
  border: 2px solid #81c2ff;
  border-radius: 50%;
  box-shadow: 0 12px 20px rgba(12, 102, 199, 0.2);
}

.db-stack span:nth-child(1) {
  top: 0;
}

.db-stack span:nth-child(2) {
  top: 28px;
}

.db-stack span:nth-child(3) {
  top: 56px;
}

.excel-tile {
  position: absolute;
  top: 50px;
  left: 78px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 72px;
  height: 82px;
  color: var(--white);
  background: linear-gradient(145deg, #20a464, #0d7d45);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 38px;
  font-weight: 900;
}

.gear-shape {
  position: absolute;
  right: 4px;
  bottom: 56px;
  z-index: 2;
  width: 92px;
  height: 92px;
  background: conic-gradient(from 8deg, #8ca3bd 0 10deg, transparent 10deg 25deg, #8ca3bd 25deg 38deg, transparent 38deg 54deg, #8ca3bd 54deg 68deg, transparent 68deg 86deg, #8ca3bd 86deg 102deg, transparent 102deg 126deg, #8ca3bd 126deg 142deg, transparent 142deg 166deg, #8ca3bd 166deg 182deg, transparent 182deg 206deg, #8ca3bd 206deg 222deg, transparent 222deg 246deg, #8ca3bd 246deg 262deg, transparent 262deg 286deg, #8ca3bd 286deg 302deg, transparent 302deg 326deg, #8ca3bd 326deg 342deg, transparent 342deg 360deg);
  border-radius: 50%;
}

.gear-shape::after {
  position: absolute;
  inset: 25px;
  background: #edf5ff;
  border: 8px solid #7890ab;
  border-radius: 50%;
  content: "";
}

.flow-card {
  position: absolute;
  z-index: 3;
  width: 56px;
  height: 48px;
  background: linear-gradient(180deg, #d9edff, #8fc6ff);
  border: 2px solid #4f9cec;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.flow-card::before,
.flow-card::after {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: #0c66c7;
  border-radius: 999px;
  content: "";
}

.flow-card::before {
  top: 15px;
}

.flow-card::after {
  top: 25px;
}

.card-a {
  top: 118px;
  left: 214px;
}

.card-b {
  top: 194px;
  left: 168px;
}

.card-c {
  top: 220px;
  left: 285px;
}

.flow-line {
  position: absolute;
  z-index: 1;
  border: 2px dashed #75aee9;
  border-right: 0;
  border-bottom: 0;
}

.line-a {
  top: 107px;
  left: 135px;
  width: 120px;
  height: 100px;
  border-radius: 20px 0 0 0;
}

.line-b {
  top: 140px;
  left: 252px;
  width: 140px;
  height: 90px;
  border-radius: 20px 0 0 0;
}

.section {
  padding: 62px 0;
}

.compact-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-muted {
  background: var(--pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading h2::after {
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 34px;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.align-left h2::after {
  left: 0;
  transform: none;
}

.section-heading p {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.two-line-copy span {
  display: block;
}

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

.service-card {
  position: relative;
  min-height: 258px;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.card-number,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.card-number {
  position: absolute;
  top: 16px;
  left: 16px;
}

.icon-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 10px 0 22px 42px;
  color: var(--white);
  background: var(--light-blue);
  border-radius: 8px;
  font-weight: 900;
}

.service-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 4px 0 20px 42px;
  object-fit: contain;
}

.icon-excel {
  background: linear-gradient(145deg, #21a366, #107c41);
  font-size: 30px;
}

.icon-window {
  border: 2px solid #80bfff;
}

.icon-window::before {
  position: absolute;
  inset: 10px;
  border-top: 9px solid #2985de;
  background:
    linear-gradient(#bddcff 0 0) 0 17px / 100% 4px no-repeat,
    linear-gradient(#bddcff 0 0) 0 29px / 70% 4px no-repeat;
  content: "";
}

.icon-db::before,
.icon-db::after,
.icon-db {
  background: linear-gradient(180deg, #4ba7ff, #0c66c7);
  border-radius: 50%;
}

.icon-db {
  box-shadow: inset 0 -18px 0 rgba(0, 55, 130, 0.16);
}

.icon-db::before,
.icon-db::after {
  position: absolute;
  left: 0;
  width: 58px;
  height: 22px;
  border-top: 2px solid #a5d5ff;
  content: "";
}

.icon-db::before {
  top: 18px;
}

.icon-db::after {
  top: 34px;
}

.icon-site {
  border: 4px solid #1769bf;
  background: #f5fbff;
}

.icon-site::before {
  position: absolute;
  left: 16px;
  bottom: -10px;
  width: 22px;
  height: 10px;
  border-bottom: 4px solid #1769bf;
  border-left: 4px solid #1769bf;
  border-right: 4px solid #1769bf;
  content: "";
}

.icon-terminal {
  background: #152f4f;
}

.icon-terminal::before {
  position: absolute;
  left: 13px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  content: "";
  transform: rotate(45deg);
}

.icon-terminal::after {
  position: absolute;
  right: 12px;
  bottom: 17px;
  width: 18px;
  height: 3px;
  background: #ffffff;
  content: "";
}

.icon-camera {
  border: 4px solid #1e416f;
  background: #edf6ff;
  border-radius: 50%;
}

.icon-camera::before {
  position: absolute;
  inset: 12px;
  border: 7px solid #1e416f;
  border-radius: 50%;
  content: "";
}

.icon-camera::after {
  position: absolute;
  top: -10px;
  width: 24px;
  height: 10px;
  background: #1e416f;
  border-radius: 7px 7px 0 0;
  content: "";
}

.service-card h3,
.flow-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.service-card p,
.flow-step p {
  margin: 0;
  color: #3d4c5e;
  font-size: 14px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-bubble {
  position: relative;
  min-height: 96px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: var(--navy);
  font-weight: 800;
}

.case-bubble::after {
  position: absolute;
  right: 22px;
  bottom: -13px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  content: "";
  transform: rotate(45deg);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tag-grid span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-weight: 800;
}

.tag-grid span::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--blue);
  border-radius: 3px;
  content: "";
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.flow-step {
  position: relative;
  padding: 22px 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--blue);
  content: "";
  transform: translateY(-50%);
}

.flow-step h3 {
  margin-top: 12px;
}

.profile-panel {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.profile-avatar {
  position: relative;
  width: 152px;
  height: 152px;
  margin: 0 auto;
  background: linear-gradient(180deg, #eef7ff, #d8ebff);
  border: 2px solid #c8dff6;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-head {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 52px;
  height: 58px;
  background: #ffffff;
  border: 4px solid var(--navy-2);
  border-radius: 45% 45% 48% 48%;
  transform: translateX(-50%);
}

.avatar-head::before {
  position: absolute;
  top: 19px;
  left: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--navy-2);
  border-radius: 50%;
  box-shadow: 19px 0 0 -2px #ffffff, 19px 0 0 0 var(--navy-2);
  content: "";
}

.avatar-body {
  position: absolute;
  bottom: -26px;
  left: 50%;
  width: 106px;
  height: 78px;
  background: #ffffff;
  border: 4px solid var(--navy-2);
  border-radius: 42px 42px 0 0;
  transform: translateX(-50%);
}

.profile-lead {
  margin: 0 0 18px;
  font-weight: 700;
}

.profile-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile-lists h3 {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-size: 14px;
}

.profile-lists ul {
  margin: 0;
  padding-left: 20px;
  color: #37485c;
}

.profile-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  font-weight: 700;
}

.profile-note span {
  display: block;
  color: var(--blue);
  font-size: 13px;
}

.cta-section {
  overflow: hidden;
  padding: 42px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 7% 30%, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(135deg, #075fbd, #003f89 58%, #062a55);
}

.cta-panel {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 26px;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
}

.cta-icon .mail-icon {
  width: 32px;
  height: 23px;
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.35;
}

.cta-panel p {
  margin: 0;
  opacity: 0.92;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: linear-gradient(135deg, #06274e, #031a35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.2fr;
  gap: 36px;
}

.footer-logo {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
}

.site-footer p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-note {
  font-size: 13px;
}

.page-hero {
  padding: 70px 0 58px;
  background:
    radial-gradient(circle at 85% 18%, rgba(24, 132, 232, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #edf6ff);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 900px;
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  min-height: 74px;
  padding: 20px 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-weight: 800;
}

.topic-card::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.form-card,
.side-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.full-field,
.form-submit,
.form-message {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  background: #fbfdff;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(12, 102, 199, 0.14);
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-message {
  display: none;
  margin: 0;
  padding: 13px 16px;
  color: var(--navy);
  background: var(--light-blue);
  border: 1px solid #badcff;
  border-radius: 8px;
  font-weight: 800;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  color: #0b4d2a;
  background: #e9f8ef;
  border-color: #b8e7c9;
}

.form-message.is-error {
  color: #8a1f1f;
  background: #fff0f0;
  border-color: #f2c0c0;
}

.gotcha-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.side-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
}

.side-card p {
  margin: 0 0 12px;
}

.contact-mail {
  font-weight: 800;
}

.contact-mail a {
  color: var(--blue);
}

.small-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 14px;
  }

  .site-logo {
    min-width: auto;
  }

  .logo-main {
    font-size: 18px;
  }

  .site-nav {
    gap: 15px;
    font-size: 13px;
  }

  .header-cta {
    padding: 0 14px;
  }

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

  .hero-visual {
    min-height: 390px;
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-image-panel {
    min-height: auto;
  }

  .hero-image-panel img {
    width: min(100%, 560px);
  }

  .service-grid,
  .contact-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .tag-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact-link {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 35px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

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

  .hero-image-panel {
    margin-top: 6px;
  }

  .hero-image-panel img {
    width: min(100%, 350px);
  }

  .service-icon {
    width: 66px;
    height: 66px;
  }

  .visual-laptop {
    right: 30px;
    bottom: 64px;
    width: 238px;
  }

  .laptop-screen {
    height: 154px;
    padding: 15px;
    border-width: 9px;
  }

  .laptop-base {
    width: 268px;
    height: 20px;
    margin-left: -15px;
  }

  .chart-bars {
    right: 31px;
    bottom: 40px;
    gap: 5px;
    height: 48px;
  }

  .chart-bars span {
    width: 13px;
  }

  .db-stack {
    left: 14px;
    bottom: 80px;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .excel-tile {
    top: 45px;
    left: 24px;
    width: 54px;
    height: 62px;
    font-size: 28px;
  }

  .gear-shape {
    right: 0;
    bottom: 42px;
    width: 66px;
    height: 66px;
  }

  .gear-shape::after {
    inset: 18px;
    border-width: 5px;
  }

  .flow-card,
  .flow-line {
    display: none;
  }

  .visual-label {
    font-size: 11px;
    padding: 4px 10px;
  }

  .label-top {
    left: 36%;
  }

  .label-right {
    top: 118px;
    right: 0;
  }

  .label-bottom {
    left: 28%;
    bottom: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .service-grid,
  .case-grid,
  .tag-grid,
  .flow-steps,
  .profile-lists,
  .contact-topic-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .profile-panel {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-icon {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 46px 0 40px;
  }

  .form-card,
  .side-card {
    padding: 22px 18px;
  }

  .form-submit {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .logo-main {
    font-size: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 31px;
  }

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

  .hero-image-panel img {
    width: min(100%, 330px);
  }

  .visual-laptop {
    right: 18px;
    width: 218px;
  }

  .laptop-base {
    width: 246px;
  }

  .label-right {
    top: 112px;
  }

  .section-heading h2 {
    font-size: 23px;
  }
}
