@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  src: url("fonts/DMSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  src: url("fonts/DMSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400 800;
  src: url("fonts/DMSans-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterTight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterTight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #c8102e;
  --red-dark: #5e0712;
  --red-soft: #ffe1e7;
  --ink: #242627;
  --ink-2: #161719;
  --muted: #5f6567;
  --line: rgba(0, 0, 0, 0.15);
  --white: #ffffff;
  --paper: #f5f5f5;
  --dark: #161719;
  --max: 1280px;
  --header-height: 70px;
  --radius: 4px;
  --image-radius: 40px;
  --shadow: 0 28px 80px rgba(36, 38, 39, 0.18);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Helvetica, Arial, "DM Sans", sans-serif;
  line-height: 1.4;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--red-dark);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container.narrow {
  max-width: 765px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--paper);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.solid {
  position: sticky;
  top: 0;
  background: var(--white);
  color: var(--ink);
  border-bottom: 0;
}

.site-header.is-stuck {
  position: fixed;
  background: var(--red);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(22, 23, 25, 0.18);
  animation: navDrop 220ms ease both;
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(153px, 0.16fr) minmax(0, 1fr) auto;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.site-header.solid .nav-shell {
  border-bottom-color: var(--line);
}

.site-header.is-stuck .nav-shell {
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 153px;
  min-height: var(--header-height);
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding-right: 0;
  color: currentColor;
  font-size: 2.05rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand-mark::after {
  content: none;
}

.site-header.solid:not(.is-stuck) .brand-mark {
  color: var(--red);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  display: none;
}

.brand-copy small {
  max-width: 88px;
  color: currentColor;
  opacity: 1;
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.nav-item {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--header-height);
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--red-soft);
  opacity: 1;
}

.site-header.solid:not(.is-stuck) .nav-link:hover,
.site-header.solid:not(.is-stuck) .nav-link:focus-visible {
  color: var(--red);
}

.has-menu .nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-item::before {
  display: none;
}

.nav-item:nth-child(1) {
  --nav-icon: url("service-desktop.svg");
}

.nav-item:nth-child(2) {
  --nav-icon: url("service-laptop.svg");
}

.nav-item:nth-child(3) {
  --nav-icon: url("service-tablet.svg");
}

.nav-item:nth-child(4) {
  --nav-icon: url("service-smartphone.svg");
}

.nav-item:nth-child(5) {
  --nav-icon: url("service-laptop.svg");
}

.dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 80;
  width: max-content;
  min-width: 292px;
  max-width: calc(100vw - 48px);
  padding: 16px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(22, 23, 25, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.primary-nav .nav-item:nth-child(1) .dropdown {
  width: min(430px, calc(100vw - 48px));
}

.primary-nav .nav-item:nth-child(2) .dropdown {
  width: min(820px, calc(100vw - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  min-height: 78px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 40px 15px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.18;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropdown a::before {
  content: none;
}

.dropdown a::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.55;
  transition: transform 180ms ease, opacity 180ms ease;
}

.dropdown a:hover {
  background: var(--red-soft);
  border-color: rgba(200, 16, 46, 0.18);
  color: var(--red-dark);
  transform: translateY(-1px);
}

.dropdown a:hover::before {
  content: none;
}

.dropdown a:hover::after {
  opacity: 1;
  transform: translate(4px, -50%) rotate(45deg);
}

.dropdown span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-link {
  display: none;
}

.language-switch {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.language-switch a {
  min-width: 33px;
  padding: 8px 9px;
  border-radius: calc(var(--radius) - 1px);
  text-align: center;
  opacity: 0.72;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.language-switch a:hover,
.language-switch a.active {
  background: var(--red-soft);
  color: var(--red-dark);
  opacity: 1;
}

.site-header.solid:not(.is-stuck) .language-switch {
  border-color: rgba(200, 16, 46, 0.22);
  background: rgba(200, 16, 46, 0.06);
  color: var(--red-dark);
}

.site-header.is-stuck .language-switch {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn {
  min-height: 45px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--ink);
}

.btn:hover::after {
  transform: translateX(4px) rotate(45deg);
}

.site-header.is-stuck .btn,
.site-header.is-stuck .btn.light {
  background: var(--red-soft);
  color: var(--red-dark);
}

.btn.light {
  background: var(--red-soft);
  color: var(--red-dark);
}

.btn.light:hover {
  background: var(--red);
  color: var(--white);
}

.site-header .btn.light:hover,
.site-header .btn:hover {
  background: var(--white);
  color: var(--ink);
}

.btn.dark {
  background: var(--ink);
  color: var(--white);
}

.btn.dark:hover {
  background: var(--red);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: currentColor;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -7px;
}

.menu-lines::after {
  top: 7px;
}

.menu-open .menu-lines {
  transform: rotate(45deg);
}

.menu-open .menu-lines::before {
  transform: translateY(7px) rotate(90deg);
}

.menu-open .menu-lines::after {
  opacity: 0;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 23, 25, 0.08), rgba(22, 23, 25, 0.88)),
    linear-gradient(110deg, rgba(22, 23, 25, 0.96) 0%, rgba(94, 7, 18, 0.72) 56%, rgba(22, 23, 25, 0.8) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 148px 0 86px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.52fr);
  gap: 70px;
  align-items: end;
}

.hero-content {
  max-width: 790px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: fadeInUp 900ms ease 520ms both;
}

.hero-visual img {
  width: 100%;
  height: min(64vh, 620px);
  min-height: 440px;
  border-radius: var(--image-radius);
  object-fit: cover;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.hero-stat {
  position: absolute;
  right: -18px;
  bottom: 44px;
  width: min(270px, 72%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.hero-stat strong {
  display: block;
  margin-bottom: 9px;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.9;
}

.hero-stat span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin: 0 0 17px;
  color: var(--red);
  font-size: 0.96rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  animation: fadeIn 780ms ease 100ms both;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 6.3vw, 5rem);
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  animation: fadeIn 860ms ease 160ms both;
}

.hero-copy {
  max-width: 585px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.4;
  animation: fadeInUp 820ms ease 400ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 820ms ease 540ms both;
}

.page-hero .eyebrow,
.page-hero .page-title,
.page-hero .lead {
  animation: fadeInUp 800ms ease both;
}

.page-hero .page-title {
  animation-delay: 120ms;
}

.page-hero .lead {
  animation-delay: 260ms;
}

.reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-target.bounce-target.is-visible {
  animation: bounceIn 860ms ease both;
}

.section {
  padding: 112px 0;
}

.section.compact {
  padding: 86px 0;
}

.section.centered {
  text-align: center;
}

.centered .lead {
  margin-inline: auto;
}

.intro-section {
  padding-bottom: 88px;
}

.intro-section .section-title {
  font-size: clamp(2.15rem, 4.15vw, 3.6rem);
}

.section-title {
  margin-bottom: 24px;
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
}

.intro-cta {
  margin-top: 28px;
}

.logo-strip {
  overflow: hidden;
  padding-bottom: 104px;
}

.logo-strip .container {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-row {
  width: max-content;
  display: flex;
  animation: logoMarquee 26s linear infinite;
}

.logo-row:hover {
  animation-play-state: paused;
}

.logo-item {
  width: 256px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(22, 23, 25, 0.54);
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  font-weight: 800;
  text-align: center;
}

.logo-item::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--red-soft) url("service-laptop.svg") center / 78% no-repeat;
  transition: transform 180ms ease;
}

.logo-item:nth-child(5n+1)::before {
  background-image: url("service-desktop.svg");
}

.logo-item:nth-child(5n+2)::before {
  background-image: url("service-laptop.svg");
}

.logo-item:nth-child(5n+3)::before {
  background-image: url("service-tablet.svg");
}

.logo-item:nth-child(5n+4)::before {
  background-image: url("service-smartphone.svg");
}

.logo-item:nth-child(5n+5)::before {
  background-image: url("service-desktop.svg");
}

.logo-item:hover::before {
  transform: rotate(7deg) scale(1.12);
}

.feature-photo-section {
  padding: 0 0 150px;
}

.feature-photo {
  position: relative;
  padding-bottom: 72px;
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 2.22;
  border-radius: var(--image-radius);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 32px 90px rgba(22, 23, 25, 0.16);
}

.feature-photo .floating-badge {
  left: 34px;
  bottom: -36px;
  width: min(390px, 56%);
  min-height: 270px;
}

.service-head {
  align-items: start;
}

.mini-grid.service-tile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
}

.mini-grid.service-tile-grid .mini-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 1)),
    var(--white);
  box-shadow: 0 18px 48px rgba(22, 23, 25, 0.06);
}

.mini-grid.service-tile-grid .mini-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 48px;
  height: 48px;
  border-right: 2px solid rgba(200, 16, 46, 0.24);
  border-bottom: 2px solid rgba(200, 16, 46, 0.24);
  transition: transform 240ms ease, border-color 240ms ease;
}

.mini-grid.service-tile-grid .mini-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 24px 58px rgba(22, 23, 25, 0.11);
}

.mini-grid.service-tile-grid .mini-card:hover::after {
  transform: translate(4px, 4px);
  border-color: var(--red);
}

.mini-grid.service-tile-grid .mini-card.highlight {
  grid-column: span 1;
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.mini-grid.service-tile-grid .mini-card.highlight::after {
  border-color: rgba(255, 255, 255, 0.45);
}

.mini-grid.service-tile-grid .mini-card.highlight:hover {
  background: var(--red-dark);
  color: var(--white);
}

.mini-grid.service-tile-grid .mini-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background-color: var(--red);
  color: transparent;
}

.mini-grid.service-tile-grid .mini-icon::before {
  filter: brightness(0) invert(1);
}

.mini-grid.service-tile-grid .mini-card.highlight .mini-icon {
  background: var(--white);
}

.mini-grid.service-tile-grid .mini-card.highlight .mini-icon::before {
  filter: invert(13%) sepia(77%) saturate(2842%) hue-rotate(338deg) brightness(86%) contrast(103%);
}

.mini-tag {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 11px;
  border: 1px solid rgba(200, 16, 46, 0.24);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
}

.mini-grid.service-tile-grid .mini-card.highlight .mini-tag {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.mini-grid.service-tile-grid .mini-card h3,
.mini-grid.service-tile-grid .mini-card p {
  position: relative;
  z-index: 1;
}

.mini-grid.service-tile-grid .mini-card h3 {
  min-height: 2.35em;
}

.mini-grid.service-tile-grid .mini-card p {
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.58fr);
  gap: 76px;
  align-items: center;
}

.visual-stack {
  position: relative;
  min-height: 625px;
}

.rounded-photo {
  position: absolute;
  inset: 0 0 70px 0;
  overflow: hidden;
  border-radius: var(--image-radius);
  background: var(--paper);
}

.rounded-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.055);
  transition: transform 1150ms ease;
}

.rounded-photo.is-visible img,
.visual-stack:hover .rounded-photo img {
  transform: scale(1);
}

.oval-card {
  position: absolute;
  left: 34px;
  bottom: 20px;
  width: min(365px, 72%);
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 34px 38px;
  border-radius: 48% 52% 46% 54% / 56% 44% 56% 44%;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.oval-card strong {
  display: block;
  margin: 0 0 12px;
  font-size: 4.6rem;
  line-height: 0.9;
}

.oval-card span {
  display: block;
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.18;
}

.feature-photo .floating-badge span {
  max-width: 28ch;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 38px;
  margin-top: 42px;
}

.mini-card {
  --card-icon: url("service-laptop.svg");
  padding-top: 26px;
  border-top: 1px solid var(--line);
  transition: transform 240ms ease, border-color 240ms ease;
}

.mini-card:nth-child(4n+1) {
  --card-icon: url("service-desktop.svg");
}

.mini-card:nth-child(4n+2) {
  --card-icon: url("service-laptop.svg");
}

.mini-card:nth-child(4n+3) {
  --card-icon: url("service-tablet.svg");
}

.mini-card:nth-child(4n+4) {
  --card-icon: url("service-smartphone.svg");
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.35);
}

.mini-icon {
  width: 68px;
  height: 68px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(200, 16, 46, 0.14);
  border-radius: 20px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0;
}

.mini-icon::before {
  content: "";
  width: 42px;
  height: 42px;
  display: block;
  background: var(--card-icon) center / contain no-repeat;
  animation: iconFloat 5.2s ease-in-out infinite;
}

.mini-icon::after {
  content: "";
  position: absolute;
  inset: auto 9px 8px auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: softPulse 2.8s ease-in-out infinite;
}

.mini-card:hover .mini-icon::before {
  transform: scale(1.08) rotate(4deg);
}

.mini-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.mini-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.paper {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.42fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 48px;
}

.row-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.number-row {
  --row-icon: url("service-laptop.svg");
  display: grid;
  grid-template-columns: 92px minmax(0, 0.68fr) minmax(230px, 0.42fr) 48px;
  gap: 30px;
  align-items: center;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 220ms ease, transform 220ms ease;
}

.number-row:nth-child(4n+1) {
  --row-icon: url("service-desktop.svg");
}

.number-row:nth-child(4n+2) {
  --row-icon: url("service-laptop.svg");
}

.number-row:nth-child(4n+3) {
  --row-icon: url("service-tablet.svg");
}

.number-row:nth-child(4n+4) {
  --row-icon: url("service-smartphone.svg");
}

.number-row:hover {
  border-color: rgba(200, 16, 46, 0.34);
  transform: translateX(6px);
}

.number-row:hover small::before {
  animation: iconPop 520ms ease both;
}

.number-row small {
  display: grid;
  gap: 7px;
  justify-items: start;
  color: var(--red);
  font-weight: 800;
}

.number-row small::before {
  content: "";
  width: 48px;
  height: 48px;
  display: block;
  border: 1px solid rgba(200, 16, 46, 0.14);
  border-radius: 16px;
  background: var(--red-soft) var(--row-icon) center / 72% no-repeat;
}

.number-row h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.65vw, 2.35rem);
  line-height: 1.08;
}

.number-row p {
  margin: 0;
  color: var(--muted);
}

.circle-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  transition: transform 220ms ease, background 220ms ease;
}

.circle-link:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--ink);
}

.card-grid {
  counter-reset: imageCards;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.client-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.portfolio-card-grid .image-card {
  min-height: 430px;
}

.image-card {
  --card-icon: url("service-laptop.svg");
  min-height: 460px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.image-card:nth-child(3n+1) {
  --card-icon: url("service-desktop.svg");
}

.image-card:nth-child(3n+2) {
  --card-icon: url("service-laptop.svg");
}

.image-card:nth-child(3n+3) {
  --card-icon: url("service-tablet.svg");
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 19, 0.05), rgba(17, 17, 19, 0.86)),
    var(--img) var(--img-position, center) / cover no-repeat;
  transition: transform 420ms ease;
}

.image-card::after {
  counter-increment: imageCards;
  content: "0" counter(imageCards);
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(22, 23, 25, 0.22);
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.image-card:hover::before {
  transform: scale(1.08);
}

.image-card > div {
  position: relative;
  z-index: 1;
}

.image-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1;
}

.image-card h3::before {
  content: "";
  width: 54px;
  height: 54px;
  display: block;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92) var(--card-icon) center / 72% no-repeat;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform 240ms ease;
}

.image-card:hover h3::before {
  transform: translateY(-5px) rotate(5deg);
}

.image-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.showcase-section {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
}

.showcase-head {
  align-items: start;
}

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

.showcase-card {
  min-height: 560px;
  position: relative;
  display: grid;
  grid-template-rows: minmax(230px, 0.7fr) minmax(260px, auto);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 26px 64px rgba(22, 23, 25, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.showcase-card.large {
  grid-column: span 1;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 34px 86px rgba(22, 23, 25, 0.14);
}

.showcase-card.red {
  background: var(--red);
  color: var(--white);
}

.showcase-media {
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(22, 23, 25, 0), rgba(22, 23, 25, 0.18)),
    var(--img) var(--img-position, center) / cover no-repeat;
  transition: transform 800ms ease;
}

.showcase-card:hover .showcase-media {
  transform: scale(1.045);
}

.showcase-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  padding: 30px;
}

.showcase-number {
  font-family: "Inter Tight", "DM Sans", Arial, sans-serif;
  color: var(--red);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 700;
  line-height: 0.9;
}

.showcase-card.red .showcase-number {
  color: rgba(255, 255, 255, 0.7);
}

.showcase-label {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  margin: 18px 0 22px;
  padding: 0 12px;
  border: 1px solid rgba(200, 16, 46, 0.28);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.showcase-card.red .showcase-label {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.showcase-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.showcase-card p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
}

.showcase-card.red p {
  color: rgba(255, 255, 255, 0.78);
}

.showcase-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.showcase-card.red .showcase-link {
  color: var(--white);
}

.showcase-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.showcase-link:hover::after {
  transform: translateX(5px) rotate(45deg);
}

.red-band {
  padding: 104px 0;
  background: var(--red);
  color: var(--white);
}

.red-band .section-kicker,
.red-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.red-band .section-title {
  color: var(--white);
}

.red-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.43fr);
  gap: 68px;
  align-items: center;
}

.metric-box {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 240ms ease, background 240ms ease;
}

.metric-box:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.18);
}

.metric-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(3.2rem, 6.5vw, 5.4rem);
  line-height: 0.88;
}

.tool-section {
  background: linear-gradient(180deg, var(--white) 0%, #f7f7f7 100%);
}

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

.tool-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(22, 23, 25, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.tool-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 26px 62px rgba(22, 23, 25, 0.1);
}

.tool-card.red {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.tool-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 16, 46, 0.18);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.tool-card.red .tool-number {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.tool-card h3 {
  margin: auto 0 0;
  max-width: 11ch;
  font-size: 1.65rem;
  line-height: 1.04;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #f8f8f8;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.tool-card.red .tool-tags span {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.person-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.person-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
}

.person-card div {
  padding: 20px;
}

.person-card h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.person-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 23, 25, 0.12), rgba(22, 23, 25, 0.82)),
    linear-gradient(90deg, rgba(22, 23, 25, 0.84), rgba(200, 16, 46, 0.28), rgba(22, 23, 25, 0.18)),
    var(--hero-image) center / cover no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 122px 0 72px;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(310px, 0.38fr);
  gap: 64px;
  align-items: start;
}

.service-summary-card {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 30px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 26px 70px rgba(94, 7, 18, 0.2);
}

.service-summary-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.service-summary-card p,
.service-summary-card li {
  color: rgba(255, 255, 255, 0.82);
}

.service-summary-card ul {
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.service-summary-card li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.service-summary-card .btn {
  width: 100%;
  background: var(--white);
  color: var(--red-dark);
}

.service-summary-card .btn:hover {
  background: var(--ink);
  color: var(--white);
}

.service-explainer {
  padding-top: 0;
}

.explain-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: start;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.explain-copy {
  max-width: 600px;
}

.explain-photo {
  position: relative;
  overflow: hidden;
  margin: 32px 0 0;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 24px 56px rgba(22, 23, 25, 0.12);
}

.explain-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: var(--image-position, center);
  transition: transform 700ms ease, opacity 700ms ease;
}

.explain-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 14px 30px rgba(94, 7, 18, 0.22);
}

.explain-photo:hover img {
  transform: scale(1.04);
  opacity: 0.94;
}

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

.explain-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.explain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.32);
  box-shadow: 0 20px 44px rgba(22, 23, 25, 0.07);
}

.explain-card small {
  width: max-content;
  min-width: 44px;
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.explain-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.explain-card p {
  margin: 0;
  color: var(--muted);
}

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

.service-link-card {
  position: relative;
  min-height: 168px;
  display: grid;
  align-content: end;
  padding: 24px 58px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-link-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 29px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.service-link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 24px 48px rgba(22, 23, 25, 0.08);
}

.service-link-card:hover::after {
  transform: translateX(5px) rotate(45deg);
}

.service-link-card small {
  margin-bottom: 13px;
  color: var(--red);
  font-weight: 800;
}

.service-link-card strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.chatbot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.56fr);
  gap: 70px;
  align-items: center;
}

.chatbot-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.chatbot-feature {
  min-height: 154px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.chatbot-feature small {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
}

.itm-chatbot-demo {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--ink-2);
  color: var(--white);
  box-shadow: 0 34px 90px rgba(22, 23, 25, 0.24);
}

.chatbot-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 18px;
}

.chatbot-id {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
}

.chatbot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.chatbot-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.chatbot-log {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 13px 15px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.chat-message.user {
  justify-self: end;
  background: var(--red);
  color: var(--white);
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 12px;
}

.chat-chip {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-chip:hover {
  background: var(--red);
  border-color: var(--red);
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-input-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.chat-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chat-input-row button {
  min-height: 48px;
  padding: 0 18px;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.plain-card {
  --card-icon: url("service-laptop.svg");
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.plain-card:nth-child(4n+1) {
  --card-icon: url("service-desktop.svg");
}

.plain-card:nth-child(4n+2) {
  --card-icon: url("service-laptop.svg");
}

.plain-card:nth-child(4n+3) {
  --card-icon: url("service-tablet.svg");
}

.plain-card:nth-child(4n+4) {
  --card-icon: url("service-smartphone.svg");
}

.plain-card::before {
  content: "";
  width: 62px;
  height: 62px;
  display: block;
  margin-bottom: 24px;
  border: 1px solid rgba(200, 16, 46, 0.14);
  border-radius: 20px;
  background: var(--red-soft) var(--card-icon) center / 72% no-repeat;
}

.plain-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 24px 48px rgba(22, 23, 25, 0.08);
}

.plain-card:hover::before {
  animation: iconPop 520ms ease both;
}

.plain-card.red {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.plain-card.red::before {
  border-color: rgba(255, 255, 255, 0.24);
  background-color: var(--white);
}

.plain-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.plain-card p,
.plain-card li {
  color: var(--muted);
}

.plain-card.red p,
.plain-card.red li {
  color: rgba(255, 255, 255, 0.82);
}

.plain-card ul {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.plain-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.plain-card.red li {
  border-color: rgba(255, 255, 255, 0.24);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}

.article-card {
  --article-icon: url("service-laptop.svg");
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.article-card:nth-child(4n+1) {
  --article-icon: url("service-laptop.svg");
}

.article-card:nth-child(4n+2) {
  --article-icon: url("service-desktop.svg");
}

.article-card:nth-child(4n+3) {
  --article-icon: url("service-tablet.svg");
}

.article-card:nth-child(4n+4) {
  --article-icon: url("service-smartphone.svg");
}

.article-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 16, 46, 0.3);
  box-shadow: 0 24px 48px rgba(22, 23, 25, 0.08);
}

.article-card:hover small::before {
  animation: iconPop 520ms ease both;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.article-card div {
  padding: 24px;
}

.article-card small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
}

.article-card small::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--red-soft) var(--article-icon) center / 75% no-repeat;
}

.article-card h3 {
  margin: 12px 0;
  font-size: 1.35rem;
  line-height: 1.14;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  padding: 104px 0;
  background:
    linear-gradient(135deg, rgba(22, 23, 25, 0.94), rgba(94, 7, 18, 0.9)),
    url("itm-photo-technician.jpg") center / cover no-repeat;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.52fr);
  gap: 70px;
  align-items: start;
}

.contact-band .section-kicker,
.contact-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .section-title {
  color: var(--white);
}

.contact-list {
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.contact-list li {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
}

.contact-list strong {
  display: block;
  color: var(--white);
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 13px 14px;
}

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

.contact-form .btn {
  width: 100%;
}

.site-footer {
  padding: 64px 0 42px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(130px, 0.36fr));
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes navDrop {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.76) translateY(24px);
  }

  58% {
    opacity: 1;
    transform: scale(1.045) translateY(-8px);
  }

  78% {
    transform: scale(0.985) translateY(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes iconPop {
  0% {
    transform: scale(0.82) rotate(-4deg);
  }

  70% {
    transform: scale(1.08) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .primary-nav,
  .phone-link {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-open .primary-nav {
    position: fixed;
    inset: var(--header-height) 24px auto;
    z-index: 90;
    display: grid;
    gap: 0;
    justify-self: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-item {
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-item::before {
    display: none;
  }

  .nav-link {
    width: 100%;
    padding: 17px 18px;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0 12px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
    background: transparent;
  }

  .primary-nav .nav-item:nth-child(1) .dropdown,
  .primary-nav .nav-item:nth-child(2) .dropdown {
    width: auto;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .dropdown a {
    min-height: auto;
    padding: 12px 34px 12px 14px;
  }

  .split,
  .hero-layout,
  .section-head,
  .red-grid,
  .contact-grid,
  .service-detail-grid,
  .explain-panel,
  .chatbot-layout,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .service-summary-card {
    position: relative;
    top: auto;
  }

  .mini-grid.service-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-grid.service-tile-grid .mini-card.highlight {
    grid-column: span 1;
  }

  .card-grid,
  .article-grid,
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number-row {
    grid-template-columns: 72px 1fr;
  }

  .number-row p,
  .number-row .circle-link {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
    --image-radius: 24px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header,
  .site-header.solid,
  .site-header.is-stuck {
    position: sticky;
    top: 0;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 26px rgba(22, 23, 25, 0.16);
    animation: none;
  }

  .site-header .nav-shell,
  .site-header.solid .nav-shell,
  .site-header.is-stuck .nav-shell {
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .site-header.solid:not(.is-stuck) .brand-mark {
    color: currentColor;
  }

  .site-header.solid:not(.is-stuck) .language-switch {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .brand {
    width: 112px;
    min-height: var(--header-height);
  }

  .brand-mark {
    font-size: 1.72rem;
  }

  .brand-copy small {
    max-width: 64px;
    font-size: 0.44rem;
  }

  .language-switch {
    min-height: 33px;
    padding: 2px;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.68rem;
  }

  .language-switch a {
    min-width: 29px;
    padding: 7px 6px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .menu-open .primary-nav {
    inset: calc(var(--header-height) + 8px) 14px auto;
    max-height: calc(100svh - var(--header-height) - 22px);
    overflow: auto;
    overscroll-behavior: contain;
  }

  .nav-item {
    min-height: auto;
    display: block;
  }

  .nav-link {
    min-height: auto;
    padding: 16px;
  }

  .dropdown {
    padding: 0 10px 10px;
  }

  .dropdown a {
    padding: 11px 32px 11px 12px;
    font-size: 0.84rem;
  }

  .dropdown span {
    font-size: 0.71rem;
  }

  .nav-actions .btn {
    display: none;
  }

  h1,
  .page-title {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 11.5vw, 3.6rem);
    line-height: 1.04;
  }

  .section-title,
  .intro-section .section-title {
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 9vw, 2.65rem);
    line-height: 1.08;
  }

  .lead,
  .hero-copy {
    font-size: 1.02rem;
    line-height: 1.48;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero .container {
    padding: 54px 0 64px;
  }

  .hero-layout {
    gap: 34px;
    align-items: start;
  }

  .hero-copy {
    margin-bottom: 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn,
  .intro-cta .btn,
  .contact-band .btn {
    width: 100%;
    white-space: normal;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero .container {
    padding: 76px 0 54px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .section,
  .red-band,
  .contact-band {
    padding: 68px 0;
  }

  .intro-section {
    padding-bottom: 58px;
  }

  .logo-strip {
    padding-bottom: 48px;
  }

  .logo-row,
  .mini-grid,
  .card-grid,
  .article-grid,
  .people-grid,
  .text-grid,
  .explain-grid,
  .tool-grid,
  .chatbot-feature-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .logo-strip .container {
    border-right: 0;
    mask-image: none;
  }

  .logo-row {
    width: auto;
    display: grid;
    animation: none;
  }

  .logo-item {
    width: auto;
    min-width: 0;
    min-height: 84px;
    padding: 0 16px;
  }

  .section-head,
  .service-detail-grid,
  .explain-panel,
  .red-grid,
  .contact-grid,
  .chatbot-layout,
  .showcase-grid {
    gap: 28px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .mini-grid {
    gap: 22px;
    margin-top: 30px;
  }

  .mini-card,
  .mini-grid.service-tile-grid .mini-card,
  .plain-card,
  .explain-card,
  .service-summary-card,
  .metric-box,
  .tool-card,
  .contact-form,
  .chatbot-feature {
    min-height: 0;
    padding: 22px;
  }

  .plain-card::before,
  .mini-grid.service-tile-grid .mini-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
  }

  .plain-card h3 {
    font-size: 1.38rem;
  }

  .explain-panel {
    padding-top: 32px;
  }

  .explain-photo {
    margin-top: 24px;
  }

  .explain-photo img {
    aspect-ratio: 1.28;
  }

  .explain-photo figcaption {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.78rem;
  }

  .tool-card {
    min-height: 0;
  }

  .mini-grid.service-tile-grid {
    grid-template-columns: 1fr;
  }

  .mini-grid.service-tile-grid .mini-card.highlight {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.35;
    border-radius: var(--image-radius);
  }

  .hero-stat {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
    padding: 18px;
  }

  .hero-stat strong {
    font-size: 2.4rem;
  }

  .hero-stat span {
    font-size: 0.86rem;
  }

  .itm-chatbot-demo {
    padding: 12px;
  }

  .chatbot-topbar {
    flex-wrap: wrap;
    padding: 10px 8px 14px;
  }

  .chatbot-log {
    min-height: 260px;
    padding: 12px;
  }

  .chat-message {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .chat-input-row {
    grid-template-columns: 1fr;
  }

  .chat-input-row button {
    width: 100%;
  }

  .feature-photo-section {
    padding-bottom: 76px;
  }

  .feature-photo {
    padding-bottom: 0;
  }

  .feature-photo img {
    aspect-ratio: 1.2;
    border-radius: var(--image-radius);
  }

  .feature-photo .floating-badge {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(330px, calc(100% - 24px));
    min-height: 225px;
    margin: -68px auto 0;
    padding: 30px;
  }

  .showcase-card {
    min-height: auto;
    grid-template-rows: 210px auto;
  }

  .showcase-content {
    padding: 22px;
  }

  .showcase-card h3,
  .image-card h3 {
    font-size: 1.65rem;
  }

  .image-card,
  .portfolio-card-grid .image-card {
    min-height: 330px;
    padding: 22px;
  }

  .image-card::after {
    top: 16px;
    right: 16px;
    min-width: 38px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .service-link-card {
    min-height: 130px;
    padding: 20px 52px 20px 20px;
  }

  .service-link-card::after {
    right: 20px;
    bottom: 24px;
  }

  .visual-stack {
    min-height: 0;
  }

  .rounded-photo {
    position: relative;
    inset: auto;
  }

  .rounded-photo img {
    height: auto;
    aspect-ratio: 1.16;
  }

  .oval-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(300px, calc(100% - 28px));
    min-height: 170px;
    margin: -58px auto 0;
    padding: 24px 26px;
  }

  .oval-card strong {
    font-size: 3rem;
  }

  .oval-card span {
    max-width: 23ch;
    font-size: 0.88rem;
  }

  .number-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .number-row p,
  .number-row .circle-link {
    grid-column: auto;
  }

  .number-row:hover,
  .plain-card:hover,
  .explain-card:hover,
  .showcase-card:hover,
  .image-card:hover,
  .service-link-card:hover,
  .article-card:hover,
  .tool-card:hover {
    transform: none;
  }

  .circle-link {
    width: 44px;
    height: 44px;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    font-size: 16px;
  }

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

  .site-footer {
    padding: 52px 0 34px;
  }
}

@media (max-width: 420px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 22px), var(--max));
  }

  .brand {
    width: auto;
    min-width: 0;
    gap: 6px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    font-size: 1.82rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .language-switch a {
    min-width: 28px;
    padding-inline: 6px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  h1,
  .page-title {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .section-title,
  .intro-section .section-title {
    font-size: clamp(1.72rem, 10vw, 2.32rem);
  }

  .hero .container {
    padding-top: 46px;
  }

  .btn {
    min-height: 48px;
    padding: 13px 16px;
  }

  .service-summary-card .btn,
  .contact-form .btn {
    white-space: normal;
  }

  .image-card,
  .portfolio-card-grid .image-card {
    min-height: 300px;
  }

  .chat-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chat-chip {
    justify-content: center;
    width: 100%;
  }
}

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

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}
