:root {
  color-scheme: light;
  --ink: #0b0d12;
  --muted: #656b76;
  --soft: #f5f5f7;
  --soft-2: #fbfbfd;
  --line: rgba(10, 13, 18, 0.1);
  --glass: rgba(255, 255, 255, 0.74);
  --blue: #0071e3;
  --blue-dark: #005bb8;
  --gold: #c8a15d;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(20, 28, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  transition: background 220ms ease, color 220ms ease;
}

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

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

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 28px));
  min-height: 56px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(246, 246, 248, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(22px) saturate(180%);
  transform: translateX(-50%);
}

.theme-toggle {
  position: relative;
  width: 62px;
  height: 34px;
  border: 1px solid rgba(191, 137, 32, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 48%, rgba(255, 205, 104, 0.72), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(224, 236, 249, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 205, 104, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    0 10px 26px rgba(191, 137, 32, 0.14);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.theme-toggle::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 66%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.theme-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f4d285);
  box-shadow: 0 5px 12px rgba(20, 28, 45, 0.18);
  transition: transform 220ms ease, background 220ms ease;
}

.theme-toggle span::before {
  display: block;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #f6a800;
  box-shadow: 0 0 0 4px rgba(246, 168, 0, 0.16);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.mobile-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
  font: inherit;
  font-weight: 800;
}

.brand,
.desktop-nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 32px;
  place-items: center;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.brand-mark img {
  width: 36px;
  height: 29px;
  object-fit: contain;
}

.desktop-nav {
  justify-content: center;
  gap: 22px;
  color: #3f4550;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
}

.mobile-panel {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 40;
  display: none;
  width: min(360px, calc(100% - 28px));
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.mobile-panel.is-open {
  display: grid;
  gap: 6px;
}

.mobile-panel a {
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: flex;
  min-height: 92svh;
  padding: 136px 0 76px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  font-size: clamp(52px, 6.1vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.12;
}

.hero-text,
.section-heading p,
.automation-layout p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

.hero-text {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.brand-carousel {
  width: min(100%, 1120px);
  margin: 52px auto 0;
  padding: 30px 0 24px;
  border: 1px solid rgba(10, 13, 18, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.72));
  box-shadow: 0 26px 80px rgba(20, 28, 45, 0.08);
  overflow: hidden;
}

.brand-carousel p {
  margin: 0 20px 24px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.brand-marquee::before,
.brand-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  content: "";
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(250, 252, 255, 0.96), transparent);
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(250, 252, 255, 0.96), transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  animation: brand-marquee 30s linear infinite;
}

.brand-carousel:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  color: #20242b;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.86;
  white-space: nowrap;
}

.brand-logo i {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--blue), #78b9ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 26px rgba(0, 113, 227, 0.16);
}

.brand-logo i::before,
.brand-logo i::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.92);
}

.brand-logo.nexo i::before {
  inset: 7px 12px;
  border-radius: 999px;
}

.brand-logo.nexo i::after {
  inset: 12px 7px;
  border-radius: 999px;
}

.brand-logo.marea i {
  border-radius: 50%;
  background: linear-gradient(145deg, #1b9cff, #90d6ff);
}

.brand-logo.marea i::before {
  width: 18px;
  height: 7px;
  left: 6px;
  top: 11px;
  border-radius: 999px;
  transform: rotate(-12deg);
}

.brand-logo.urbania i::before {
  width: 6px;
  height: 17px;
  left: 7px;
  bottom: 6px;
  border-radius: 3px;
}

.brand-logo.urbania i::after {
  width: 12px;
  height: 22px;
  right: 6px;
  bottom: 4px;
  border-radius: 4px 4px 2px 2px;
}

.brand-logo.voltix i {
  background: linear-gradient(145deg, #141820, #4aa6ff);
}

.brand-logo.voltix i::before {
  width: 10px;
  height: 18px;
  left: 10px;
  top: 6px;
  clip-path: polygon(58% 0, 100% 0, 58% 42%, 100% 42%, 33% 100%, 48% 55%, 0 55%);
}

.brand-logo.brava i {
  border-radius: 8px 16px 8px 16px;
  background: linear-gradient(145deg, #0f1117, #5aaeff);
}

.brand-logo.brava i::before {
  width: 14px;
  height: 14px;
  left: 8px;
  top: 8px;
  border-radius: 4px;
}

.brand-logo.aurea i {
  background: linear-gradient(145deg, #f0f5ff, #a5cfff);
}

.brand-logo.aurea i::before {
  width: 18px;
  height: 18px;
  left: 6px;
  top: 6px;
  border: 3px solid #0b0d12;
  border-radius: 50%;
  background: transparent;
}

.brand-logo.nodus i::before {
  width: 8px;
  height: 8px;
  left: 6px;
  top: 11px;
  border-radius: 50%;
}

.brand-logo.nodus i::after {
  width: 15px;
  height: 3px;
  right: 5px;
  top: 14px;
  border-radius: 999px;
}

.brand-logo.costa i {
  border-radius: 50% 50% 12px 12px;
  background: linear-gradient(145deg, #22b8a6, #87dcff);
}

.brand-logo.costa i::before {
  width: 18px;
  height: 6px;
  left: 6px;
  bottom: 8px;
  border-radius: 999px;
}

.brand-carousel small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 800;
}

@keyframes brand-marquee {
from {
    transform: translateX(0);
  }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(0, 113, 227, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue);
  background: #eef6ff;
}

.device-frame {
  position: relative;
  z-index: 1;
  width: min(420px, 84%);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 34px;
  background: rgba(10, 13, 18, 0.9);
  box-shadow: 0 50px 110px rgba(5, 10, 20, 0.38);
}

.device-toolbar {
  display: flex;
  gap: 7px;
  padding: 12px 10px;
}

.device-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.command-bar,
.flow-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.command-bar {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
}

.command-bar span,
.flow-card span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
}

.flow-card {
  margin-top: 10px;
  padding: 18px;
  color: #fff;
}

.flow-card.active {
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.34), rgba(255, 255, 255, 0.08));
}

.flow-card b {
  display: block;
  margin-top: 6px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 2px 8px;
}

.flow-line i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), rgba(255, 255, 255, 0.18));
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 30px 20px;
  text-align: center;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 28px;
}

.proof-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.split,
.process-section,
#planes,
.contact-section {
  padding: 96px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.service-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-2);
  box-shadow: 0 16px 44px rgba(20, 28, 45, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 24px 70px rgba(20, 28, 45, 0.1);
  transform: translateY(-3px);
}

.service-card.large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 161, 93, 0.24), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(0, 113, 227, 0.24), transparent 28%),
    linear-gradient(145deg, #12141a, #050608 76%);
  color: #fff;
}

.service-card.large img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 22px;
  object-fit: cover;
}

.service-card.large div {
  align-self: end;
  padding: 10px 8px 14px 0;
}

.service-card span {
  color: var(--blue);
  font-weight: 800;
}

.service-card p,
.price-card span,
.price-card li,
.process-grid p,
.portfolio-grid small {
  color: var(--muted);
  line-height: 1.55;
}

.service-card.large p {
  color: rgba(255, 255, 255, 0.7);
}

.feature-band {
  padding: 100px 0;
  background: #f5f5f7;
}

.automation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.automation-list {
  display: grid;
  gap: 14px;
}

.automation-list article,
.process-grid article,
.price-card,
.portfolio-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 60px rgba(20, 28, 45, 0.06);
}

.automation-list article {
  padding: 28px;
}

.process-grid,
.pricing-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article {
  min-height: 250px;
  padding: 30px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef6ff;
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plan-category {
  display: grid;
  gap: 20px;
}

.plan-category + .plan-category {
  margin-top: 42px;
}

.plan-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.plan-category-heading p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
}

.plan-category-heading span {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
}

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

.pricing-grid:has([data-plan-panel="auto"]:not([hidden])) {
  grid-template-columns: repeat(4, 1fr);
}

.plan-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 6px;
  margin: -12px 0 28px;
  padding: 6px;
  border: 1px solid rgba(10, 13, 18, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 247, 0.72)),
    var(--soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 50px rgba(20, 28, 45, 0.08);
}

.plan-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #5d6470;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.plan-switch button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.price-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), transparent 42%);
  opacity: 0.72;
}

.price-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at 30% 0%, rgba(0, 113, 227, 0.35), transparent 36%),
    linear-gradient(145deg, #10141d, #05070b 72%);
  transform: translateY(-14px);
}

.price-card.featured::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 48%);
}

.price-card.featured span,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.68);
}

.price-card p {
  position: relative;
  color: var(--blue);
  font-weight: 800;
}

.price-card h3 {
  position: relative;
  font-size: 32px;
}

.price-card span,
.price-card ul,
.premium-button {
  position: relative;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
}

.premium-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid rgba(74, 166, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #32a1ff, #0072d9 58%, #0058b8);
  box-shadow: 0 18px 38px rgba(0, 113, 227, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  font: inherit;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.premium-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 24px 48px rgba(0, 113, 227, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.premium-button.light {
  color: #08111f;
  border-color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(180deg, #ffffff, #dceeff 62%, #c6e1ff);
  box-shadow: 0 18px 42px rgba(0, 113, 227, 0.22), inset 0 1px 0 #fff;
}

.premium-button.elite {
  border-color: rgba(190, 150, 70, 0.42);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #12141a, #3c321e 46%, #c9a45d);
  box-shadow: 0 22px 54px rgba(120, 88, 28, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.monthly-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.monthly-note span {
  padding: 10px 14px;
  border-radius: 999px;
  color: #39404c;
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.portfolio-section {
  padding: 96px 0;
  color: #fff;
  background: #0b0d12;
}

.portfolio-section .eyebrow {
  color: #78b9ff;
}

.portfolio-section h2 {
  color: #fff;
}

.portfolio-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.portfolio-heading > div:first-child {
  max-width: 760px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.carousel-controls.is-hidden,
.carousel-dots.is-hidden {
  display: none;
}

.carousel-controls button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.carousel-controls button::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.carousel-controls button[data-carousel-next]::before {
  left: 15px;
  transform: rotate(135deg);
}

.portfolio-carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-slide {
  position: relative;
  flex: 0 0 min(760px, 78vw);
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: #151922;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.26);
}

.portfolio-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.035);
  transition: transform 700ms ease, opacity 300ms ease;
}

.portfolio-slide.is-active img {
  opacity: 0.96;
  transform: scale(1);
}

.portfolio-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.04), rgba(5, 7, 11, 0.28) 42%, rgba(5, 7, 11, 0.9)),
    radial-gradient(circle at 78% 18%, rgba(90, 174, 255, 0.12), transparent 32%);
}

.portfolio-slide div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 34px;
}

.portfolio-slide span,
.portfolio-slide small,
.portfolio-slide p {
  display: block;
}

.portfolio-slide span {
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.portfolio-slide small {
  margin-top: 12px;
  color: #78b9ff;
  font-weight: 800;
}

.portfolio-slide p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.48;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 54px;
  background: #fff;
}

.portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
}

.portfolio-grid article {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #151922;
}

.portfolio-grid span {
  font-size: 22px;
  font-weight: 800;
}

.portfolio-grid small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #343a45;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--soft-2);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 10, 15, 0.52);
  backdrop-filter: blur(24px);
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1fr;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100svh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.28);
}

.plan-modal-card.pro {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 255, 0.94));
}

.plan-modal-card.elite {
  color: #fff;
  background:
    radial-gradient(circle at 24% 0%, rgba(209, 166, 77, 0.28), transparent 35%),
    linear-gradient(145deg, rgba(18, 20, 27, 0.98), rgba(3, 5, 9, 0.98));
}

.plan-modal-card.elite .modal-content p,
.plan-modal-card.elite .modal-columns li,
.plan-modal-card.elite .modal-visual small {
  color: rgba(255, 255, 255, 0.68);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(20, 28, 45, 0.14);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-visual {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34), transparent 25%),
    linear-gradient(145deg, #0071e3, #0b0d12);
}

.modal-visual.pro {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.48), transparent 22%),
    linear-gradient(145deg, #232833, #0071e3);
}

.modal-visual.elite {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 230, 176, 0.45), transparent 22%),
    linear-gradient(145deg, #05070b, #2d2515 50%, #d1a64d);
}

.modal-visual span {
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.modal-visual strong {
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.9;
}

.modal-visual small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  font-weight: 700;
}

.modal-content {
  padding: 50px;
}

.modal-content h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.modal-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.56;
}

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

.modal-columns h3 {
  font-size: 18px;
}

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

.modal-columns li {
  color: var(--muted);
  line-height: 1.45;
}

.modal-columns li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
}

.modal-action {
  width: fit-content;
  min-width: 220px;
}

.site-footer {
  padding: 64px 20px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f5f5f7;
}

.footer-grid,
.footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, 1fr);
  gap: 34px;
}

.footer-brand-head > span:last-child,
.site-footer h3 {
  color: var(--ink);
  font-weight: 900;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-head > span:last-child {
  font-size: 22px;
}

.footer-logo-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(145deg, #ffffff, #eef3f8);
  box-shadow: inset 0 0 0 1px rgba(10, 13, 18, 0.1), 0 16px 36px rgba(20, 28, 45, 0.08);
}

.footer-logo-mark img {
  width: 39px;
  height: 32px;
  object-fit: contain;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: #4f5663;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--blue);
}

.site-footer p {
  max-width: 320px;
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 50%;
  color: #0b0d12;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(234, 242, 252, 0.92));
  box-shadow: 0 14px 34px rgba(20, 28, 45, 0.1), inset 0 1px 0 #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(0, 113, 227, 0.36);
  background: linear-gradient(135deg, #32a1ff, #0066cc);
  box-shadow: 0 18px 42px rgba(0, 113, 227, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

body[data-theme="dark"] {
  --ink: #f8fafc;
  --muted: #aab2be;
  --soft: #101114;
  --soft-2: #15171d;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #5aaeff;
  --blue-dark: #8bc6ff;
  --gold: #d6b46e;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
  background:
    radial-gradient(circle at 12% 4%, rgba(214, 180, 110, 0.12), transparent 27%),
    radial-gradient(circle at 82% 0%, rgba(90, 174, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #060708, #0b0d12 48%, #07080b);
}

body[data-theme="dark"] .site-header {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(12, 13, 17, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
}

body[data-theme="dark"] .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #ffffff, #dfe9f4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 10px 22px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .brand-mark img {
  width: 27px;
  height: 22px;
}

body[data-theme="dark"] .desktop-nav,
body[data-theme="dark"] .mobile-panel a {
  color: #c0c6d1;
}

body[data-theme="dark"] .desktop-nav a:hover,
body[data-theme="dark"] .mobile-panel a:hover {
  color: #fff;
}

body[data-theme="dark"] .header-cta,
body[data-theme="dark"] .mobile-theme {
  color: #07080b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(218, 231, 244, 0.94));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 74% 50%, rgba(214, 180, 110, 0.2), transparent 24%),
    linear-gradient(135deg, #222733, #07090d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 28px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .theme-toggle::before {
  opacity: 1;
}

body[data-theme="dark"] .theme-toggle span {
  transform: translateX(28px);
  background: linear-gradient(145deg, #f7fbff, #98cfff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.36);
}

body[data-theme="dark"] .theme-toggle span::before {
  background: transparent;
  box-shadow: inset -4px -2px 0 0 #1c2838;
}

body[data-theme="dark"] .menu-button,
body[data-theme="dark"] .mobile-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 15, 20, 0.94);
}

body[data-theme="dark"] .menu-button span {
  background: #fff;
}

body[data-theme="dark"] .button.secondary {
  color: #e1f1ff;
  background: rgba(90, 174, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(90, 174, 255, 0.13);
}

body[data-theme="dark"] .brand-carousel {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(12, 15, 21, 0.9);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .brand-carousel p {
  color: #fff;
}

body[data-theme="dark"] .brand-marquee::before {
  background: linear-gradient(90deg, rgba(13, 16, 23, 0.98), transparent);
}

body[data-theme="dark"] .brand-marquee::after {
  background: linear-gradient(270deg, rgba(13, 16, 23, 0.98), transparent);
}

body[data-theme="dark"] .brand-logo {
  color: rgba(255, 255, 255, 0.88);
  opacity: 0.92;
}

body[data-theme="dark"] .brand-logo.aurea i::before {
  border-color: #f7fbff;
}

body[data-theme="dark"] .proof-strip {
  border-color: var(--line);
}

body[data-theme="dark"] .service-card,
body[data-theme="dark"] .automation-list article,
body[data-theme="dark"] .process-grid article,
body[data-theme="dark"] .price-card,
body[data-theme="dark"] .contact-form {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(18, 20, 26, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}

body[data-theme="dark"] .service-card.large,
body[data-theme="dark"] .price-card.featured {
  background:
    radial-gradient(circle at 22% 0%, rgba(214, 180, 110, 0.2), transparent 34%),
    radial-gradient(circle at 82% 4%, rgba(90, 174, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #16191f, #050608 74%);
}

body[data-theme="dark"] .feature-band,
body[data-theme="dark"] .site-footer {
  background: #090a0e;
}

body[data-theme="dark"] .plan-switch {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(24, 30, 42, 0.92), rgba(12, 16, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .plan-switch button {
  color: #a8b0bd;
}

body[data-theme="dark"] .plan-switch button.is-active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body[data-theme="dark"] .plan-category-heading {
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .price-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

body[data-theme="dark"] .premium-button {
  border-color: rgba(90, 174, 255, 0.48);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #35a5ff, #0070d8 58%, #0054aa);
  box-shadow: 0 18px 42px rgba(0, 92, 180, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body[data-theme="dark"] .premium-button.light {
  color: #07111f;
  border-color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, #ffffff, #dcecff 60%, #c5e2ff);
  box-shadow: 0 18px 42px rgba(90, 174, 255, 0.2), inset 0 1px 0 #fff;
}

body[data-theme="dark"] .premium-button.elite {
  color: #fff;
  border-color: rgba(214, 180, 110, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #101217, #3b321f 44%, #c6a15b);
  box-shadow: 0 22px 54px rgba(142, 105, 39, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body[data-theme="dark"] .monthly-note span,
body[data-theme="dark"] .process-grid span {
  color: #d7ebff;
  background: rgba(89, 168, 255, 0.13);
}

body[data-theme="dark"] .contact-form label {
  color: #d9dee7;
}

body[data-theme="dark"] .contact-form input,
body[data-theme="dark"] .contact-form select,
body[data-theme="dark"] .contact-form textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .plan-modal-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(16, 21, 31, 0.96);
}

body[data-theme="dark"] .plan-modal-card.pro {
  background:
    radial-gradient(circle at 28% 0%, rgba(89, 168, 255, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(19, 25, 37, 0.98), rgba(9, 12, 18, 0.98));
}

body[data-theme="dark"] .modal-close {
  background: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .modal-close::before,
body[data-theme="dark"] .modal-close::after {
  background: #fff;
}

body[data-theme="dark"] .site-footer a {
  color: #b2bac7;
}

body[data-theme="dark"] .site-footer a:hover {
  color: #fff;
}

body[data-theme="dark"] .footer-social a {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .footer-social a:hover {
  border-color: rgba(90, 174, 255, 0.42);
  background: linear-gradient(135deg, #35a5ff, #0067ca);
  box-shadow: 0 18px 44px rgba(0, 103, 202, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

@media (max-width: 1180px) {
.hero {
    min-height: 88svh;
  }

  .hero-copy,
h1 {
    max-width: 980px;
  }

  h1 {
    font-size: clamp(48px, 6.2vw, 74px);
  }
}

@media (max-width: 920px) {
.site-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .desktop-nav,
.header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
.automation-layout,
.contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 124px;
  }

  .hero-copy,
h1,
.hero-text {
    max-width: none;
  }

  .service-grid,
.process-grid,
.portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .auto-grid,
.pricing-grid:has([data-plan-panel="auto"]:not([hidden])) {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-category-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .plan-category-heading span {
    max-width: 620px;
    text-align: left;
  }

  .service-card.large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-card.large img {
    min-height: 260px;
  }

  .price-card.featured {
    transform: none;
  }

  .portfolio-heading {
    align-items: start;
    flex-direction: column;
  }

  .carousel-controls {
    margin-bottom: 0;
  }

  .plan-modal-card,
.footer-grid {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    min-height: 300px;
  }

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

@media (max-width: 640px) {
.section-shell,
.proof-strip {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 54px;
    padding: 7px 8px 7px 12px;
  }

  .theme-toggle {
    width: 56px;
    height: 32px;
  }

  .theme-toggle span {
    width: 23px;
    height: 23px;
  }

  body[data-theme="dark"] .theme-toggle span {
    transform: translateX(25px);
  }

  .brand span:last-child {
    max-width: 138px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-panel {
    top: 74px;
    width: calc(100% - 20px);
    padding: 10px;
    border-radius: 20px;
  }

  .mobile-panel a {
    padding: 12px;
    border-radius: 13px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  h3 {
    font-size: 21px;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 50px;
  }

  .hero-text,
.section-heading p,
.automation-layout p,
.contact-section p {
    font-size: 17px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(108px, 1fr));
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .proof-strip::-webkit-scrollbar {
    display: none;
  }

  .proof-strip div {
    padding: 18px 10px;
  }

  .proof-strip strong {
    font-size: 22px;
  }

  .proof-strip span {
    font-size: 13px;
  }

  .hero-actions,
.button {
    width: 100%;
  }

  .brand-carousel {
    margin-top: 38px;
    padding: 22px 0 18px;
    border-radius: 22px;
  }

  .brand-carousel p {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .brand-marquee::before,
.brand-marquee::after {
    width: 54px;
  }

  .brand-track {
    gap: 26px;
    animation-duration: 38s;
  }

  .brand-logo {
    gap: 8px;
    font-size: 18px;
  }

  .brand-logo i {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }

  .brand-carousel small {
    margin-top: 14px;
    font-size: 13px;
  }

  .device-frame {
    width: 92%;
    border-radius: 26px;
  }

  .flow-card,
.command-bar {
    padding: 13px;
    border-radius: 16px;
  }

  .service-grid {
    display: flex;
    gap: 12px;
    margin-inline: -14px;
    padding: 2px 14px 14px;
    overflow-x: auto;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(82vw, 330px);
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
    scroll-snap-align: center;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card.large {
    flex-basis: min(88vw, 360px);
    gap: 16px;
    padding: 12px;
  }

  .service-card.large img {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .service-card.large div {
    padding: 0 8px 8px;
  }

  .service-card p {
    font-size: 15px;
  }

  .plan-switch,
.pricing-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

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

  .plan-category {
    gap: 16px;
  }

  .plan-category + .plan-category {
    margin-top: 34px;
  }

  .plan-category-heading {
    padding-bottom: 12px;
  }

  .plan-category-heading p {
    font-size: 26px;
  }

  .plan-category-heading span {
    font-size: 15px;
  }

  .pricing-grid,
.pricing-grid:has([data-plan-panel="auto"]:not([hidden])),
.auto-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin-inline: -14px;
    padding: 2px 14px 16px;
    overflow-x: auto;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-grid .price-card {
    flex: 0 0 min(84vw, 340px);
    scroll-snap-align: center;
  }

  .auto-grid .price-card {
    flex-basis: min(82vw, 326px);
  }

  .modal-content,
.modal-visual {
    padding: 26px;
  }

  .price-card,
.automation-list article,
.process-grid article,
.contact-form {
    padding: 22px;
    border-radius: 22px;
  }

  .price-card h3 {
    font-size: 28px;
  }

  .process-grid article {
    min-height: 0;
  }

  .process-grid span {
    margin-bottom: 24px;
  }

  .price-card ul {
    gap: 9px;
    margin: 20px 0 22px;
  }

  .portfolio-heading {
    gap: 16px;
  }

  .carousel-controls button {
    width: 42px;
    height: 42px;
  }

  .portfolio-carousel {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .portfolio-slide {
    flex-basis: calc(100vw - 44px);
    min-height: 330px;
    border-radius: 24px;
  }

  .portfolio-slide div {
    padding: 22px;
  }

  .portfolio-slide span {
    font-size: 30px;
  }

  .portfolio-slide p {
    font-size: 15px;
  }

  .carousel-dots {
    margin-top: 16px;
  }

  .split,
.process-section,
#planes,
.contact-section,
.portfolio-section,
.feature-band {
    padding: 72px 0;
  }
}

.checkout-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px dashed rgba(10, 13, 18, 0.22);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-state.compact {
  min-height: 130px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #111318;
  cursor: pointer;
}

.dialog-close::before,
.dialog-close::after {
  position: absolute;
  top: 18px;
  left: 10px;
  width: 18px;
  height: 2px;
  content: "";
  background: #fff;
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  padding: 7px 10px;
  border: 1px solid var(--commerce-line);
  border-radius: 999px;
  color: #0f4f45;
  background: #eef7f3;
  font-size: 12px;
  font-weight: 850;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 10, 14, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quantity {
  display: grid !important;
  grid-template-columns: 28px 24px 28px;
  align-items: center;
}

.quantity button,
.remove-item {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.checkout-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.checkout-form h3 {
  margin: 0;
}

@media (max-width: 760px) {
.services-page .section-shell,
.services-page .proof-strip {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .services-page .hero {
    display: flex;
    min-height: 420px;
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .services-page .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .services-page .hero h1 {
    max-width: 100% !important;
    text-align: center;
  }

  .services-page .hero-system {
    display: none !important;
  }

  .services-page .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
  }

  .services-page .proof-strip div {
    padding: 18px 14px;
  }

  .services-page .proof-strip strong,
.services-page .proof-strip span {
    white-space: normal;
  }
}

@media (max-width: 460px) {
.services-page .hero h1 {
    font-size: 40px !important;
    line-height: 1;
    text-wrap: balance;
  }
}

@media (max-width: 760px) {
.services-page .hero {
    display: block;
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .services-page .hero-copy {
    max-width: 100%;
    text-align: left;
  }

  .services-page .hero h1,
.services-page .hero-text {
    text-align: left;
  }

  .services-page .hero-system {
    display: none !important;
  }

  .services-page .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
  }

  .services-page .proof-strip div {
    padding: 18px 14px;
  }

  .services-page .proof-strip strong,
.services-page .proof-strip span {
    white-space: normal;
  }
}

@media (max-width: 460px) {
.services-page .hero h1 {
    max-width: calc(100vw - 28px) !important;
    font-size: 30px !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .services-page .hero-text {
    max-width: calc(100vw - 28px) !important;
  }

  .services-page .hero-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .services-page .hero-actions,
.services-page .hero-actions .button {
    max-width: 100%;
  }
}

/* Final production overrides: centered hero + mobile service carousels */
.services-page .hero.section-shell {
  display: flex !important;
  grid-template-columns: none !important;
  width: min(1120px, calc(100% - 40px));
  min-height: 760px;
  align-items: center;
  justify-content: center;
  padding-top: 132px;
  padding-bottom: 92px;
  text-align: center !important;
}

.services-page .hero .hero-copy {
  width: min(100%, 980px);
  max-width: 980px !important;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero .eyebrow,
.services-page .hero h1,
.services-page .hero .hero-text {
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero h1 {
  max-width: 980px !important;
  font-size: clamp(58px, 7.1vw, 96px) !important;
  line-height: 0.96 !important;
  overflow-wrap: normal !important;
}

.services-page .hero .hero-text {
  max-width: 720px !important;
}

.services-page .hero .hero-actions {
  justify-content: center !important;
}

@media (max-width: 760px) {
.services-page .hero.section-shell {
    display: flex !important;
    width: calc(100% - 28px);
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .services-page .hero h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 12vw, 52px) !important;
    line-height: 1 !important;
  }

  .services-page .hero .hero-text {
    max-width: 100% !important;
    font-size: 17px;
    line-height: 1.55;
  }

  .services-page .hero .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .services-page .hero .button {
    flex: 1 1 150px;
    width: auto;
    min-width: 0;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px;
    margin-right: -14px !important;
    margin-left: -14px !important;
    padding: 2px 14px 18px !important;
    overflow-x: auto !important;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-page .services-catalog .pricing-grid::-webkit-scrollbar,
.services-page .services-catalog .auto-grid::-webkit-scrollbar,
.services-page .services-catalog .service-tier-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-catalog .price-card {
    flex: 0 0 min(86vw, 350px) !important;
    min-height: 430px;
    scroll-snap-align: center !important;
  }

  .services-page .services-catalog .price-card.is-expanded {
    transform: none;
  }
}

@media (max-width: 420px) {
.services-page .hero.section-shell {
    padding-top: 106px;
    padding-bottom: 54px;
  }

  .services-page .hero h1 {
    font-size: 38px !important;
  }

  .services-page .hero .hero-actions {
    flex-direction: column;
  }

  .services-page .hero .button {
    width: 100%;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(88vw, 330px) !important;
  }
}

/* Final mobile/hero optimization overrides */
.services-page .hero.section-shell {
  display: flex !important;
  grid-template-columns: none !important;
  width: min(1120px, calc(100% - 40px));
  min-height: 760px;
  align-items: center;
  justify-content: center;
  padding-top: 132px;
  padding-bottom: 92px;
  text-align: center !important;
}

.services-page .hero .hero-copy {
  width: min(100%, 980px);
  max-width: 980px !important;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero .eyebrow,
.services-page .hero h1,
.services-page .hero .hero-text {
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero h1 {
  max-width: 980px !important;
  font-size: clamp(58px, 7.1vw, 96px);
  line-height: 0.96;
}

.services-page .hero .hero-text {
  max-width: 720px !important;
}

.services-page .hero .hero-actions {
  justify-content: center !important;
}

@media (max-width: 760px) {
.services-page .hero.section-shell {
    display: flex !important;
    width: calc(100% - 28px);
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .services-page .hero h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 12vw, 52px) !important;
    line-height: 1;
    overflow-wrap: normal;
  }

  .services-page .hero .hero-text {
    max-width: 100% !important;
    font-size: 17px;
    line-height: 1.55;
  }

  .services-page .hero .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .services-page .hero .button {
    flex: 1 1 150px;
    width: auto;
    min-width: 0;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 2px 14px 18px;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-page .services-catalog .pricing-grid::-webkit-scrollbar,
.services-page .services-catalog .auto-grid::-webkit-scrollbar,
.services-page .services-catalog .service-tier-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-catalog .price-card {
    flex: 0 0 min(86vw, 350px) !important;
    min-height: 430px;
    scroll-snap-align: center !important;
  }

  .services-page .services-catalog .price-card.is-expanded {
    transform: none;
  }

  .services-catalog .plan-category-heading {
    margin-bottom: 2px;
  }
}

@media (max-width: 420px) {
.services-page .hero.section-shell {
    padding-top: 106px;
    padding-bottom: 54px;
  }

  .services-page .hero h1 {
    font-size: 38px !important;
  }

  .services-page .hero .hero-actions {
    flex-direction: column;
  }

  .services-page .hero .button {
    width: 100%;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(88vw, 330px) !important;
  }
}

/* Premium landing refinement */
.services-page {
  --page-accent: #0071e3;
  --page-accent-dark: #0057bd;
  background:
    linear-gradient(180deg, #fbfbfd 0%, #f5f7fb 44%, #ffffff 100%);
}

.services-page .site-header {
  border-color: rgba(8, 11, 18, 0.08);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 60px rgba(20, 31, 51, 0.09);
}

.services-page .hero {
  position: relative;
  display: flex;
  min-height: 760px;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}

.services-page .hero::before {
  position: absolute;
  inset: 104px auto auto 50%;
  z-index: -1;
  width: min(680px, 58vw);
  height: min(680px, 58vw);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.16), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%);
}

.services-page .hero::after {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: -1;
  width: min(760px, 78vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(8, 11, 18, 0.18), transparent);
  transform: translateX(-50%);
}

.services-page .hero-copy {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services-page .hero h1 {
  max-width: 1060px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(56px, 7.4vw, 104px);
  letter-spacing: 0;
  line-height: 0.95;
}

.services-page .hero-text {
  max-width: 760px;
  margin-top: 22px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services-page .hero-actions {
  justify-content: center;
}

.services-page .button {
  border-radius: 999px;
}

.services-page .button.primary,
.services-page .header-cta {
  background: #080b12;
  box-shadow: 0 18px 42px rgba(8, 11, 18, 0.16);
}

.services-page .button.secondary {
  color: #080b12;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(8, 11, 18, 0.1), 0 12px 32px rgba(20, 31, 51, 0.08);
}

.services-page .system-window,
.services-page .signal-card,
.services-page .proof-strip,
.services-page .automation-list article,
.services-page .contact-form,
.services-catalog .price-card,
.services-catalog .plan-category-heading {
  border-color: rgba(8, 11, 18, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 31, 51, 0.08);
  backdrop-filter: blur(18px);
}

.services-page .window-grid strong,
.services-page .service-card.large,
.services-catalog .price-card.featured {
  background: linear-gradient(135deg, #080b12 0%, #172236 58%, #0071e3 100%);
}

.services-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.services-heading > div:first-child {
  max-width: 850px;
}

.services-carousel {
  overflow: hidden;
  border-radius: 28px;
}

.services-track {
  display: flex;
  gap: 0;
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-page .service-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 470px;
  align-content: end;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  opacity: 0.68;
  transform: scale(0.985);
  transition: opacity 360ms ease, transform 360ms ease;
}

.services-page .service-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.services-page .service-slide::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  pointer-events: none;
}

.services-page .service-slide:not(.large)::after,
.services-page .service-slide.large::after {
  position: absolute;
  top: 42px;
  right: clamp(26px, 6vw, 78px);
  width: clamp(150px, 22vw, 270px);
  height: clamp(150px, 22vw, 270px);
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 241, 248, 0.36)),
    radial-gradient(circle at 35% 30%, rgba(0, 113, 227, 0.38), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 34px 90px rgba(20, 31, 51, 0.12);
  opacity: 0.78;
}

.services-page .service-slide.large::after {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.72), transparent 40%);
  opacity: 0.52;
}

.services-page .service-slide span,
.services-page .service-slide h3,
.services-page .service-slide p,
.services-page .service-slide ul {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.services-page .service-slide h3 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: 0;
}

.services-page .service-slide p {
  max-width: 620px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.48;
}

.services-page .service-slide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.services-page .service-slide li {
  padding: 10px 13px;
  border: 1px solid rgba(8, 11, 18, 0.09);
  border-radius: 999px;
  color: #303947;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 850;
}

.services-page .service-slide.large li {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
}

.service-controls button {
  border-color: rgba(8, 11, 18, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(20, 31, 51, 0.08);
}

.service-controls button::before {
  border-color: #080b12;
}

.service-controls button:hover {
  background: #ffffff;
}

.service-dots button {
  background: rgba(8, 11, 18, 0.16);
}

.service-dots button.is-active {
  background: #080b12;
}

.services-page .portfolio-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.services-page .portfolio-slide {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.62fr);
  min-height: 560px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f7f9fc, #e9eef5);
}

.services-page .portfolio-slide .project-preview {
  min-height: auto;
}

.services-page .portfolio-slide .clean-preview {
  padding: 0;
}

.services-page .portfolio-photo {
  border-radius: 22px;
  box-shadow: 0 38px 90px rgba(20, 31, 51, 0.18);
}

.services-page .future-project-note {
  border-color: rgba(8, 11, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(20, 31, 51, 0.07);
}

.services-page[data-theme="dark"] {
  background: linear-gradient(180deg, #080b12 0%, #0f1621 48%, #080b12 100%);
}

.services-page[data-theme="dark"] .service-controls button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.services-page[data-theme="dark"] .service-controls button::before {
  border-color: #ffffff;
}

.services-page[data-theme="dark"] .service-dots button {
  background: rgba(255, 255, 255, 0.18);
}

.services-page[data-theme="dark"] .service-dots button.is-active {
  background: #ffffff;
}

.services-page[data-theme="dark"] .service-slide li {
  border-color: rgba(255, 255, 255, 0.12);
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
.services-page .hero {
    min-height: 700px;
  }

  .services-heading {
    align-items: start;
    flex-direction: column;
  }

  .services-page .service-slide {
    min-height: 430px;
  }

  .services-page .portfolio-slide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
.services-page .hero {
    display: flex;
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 72px;
    text-align: center;
  }

  .services-page .hero-copy,
.services-page .hero h1,
.services-page .hero-text {
    text-align: center;
  }

  .services-page .hero h1 {
    font-size: 42px !important;
    line-height: 1;
  }

  .services-page .hero-text br {
    display: none;
  }

  .services-carousel {
    border-radius: 20px;
  }

  .services-page .service-slide {
    min-height: 390px;
    border-radius: 20px;
  }

  .services-page .service-slide::before {
    inset: 12px;
    border-radius: 16px;
  }

  .services-page .service-slide::after {
    top: 22px;
    right: 22px;
    width: 128px;
    height: 128px;
  }

  .services-page .service-slide h3 {
    font-size: 36px;
  }

  .services-page .service-slide p {
    font-size: 17px;
  }

  .services-page .service-slide ul {
    display: grid;
    gap: 8px;
  }

  .services-page .service-slide li {
    width: fit-content;
  }

  .services-page .portfolio-slide .project-preview {
    order: 1;
  }

  .services-page .portfolio-slide > div:last-child {
    order: 2;
  }
}

/* SixNine Systems services landing refresh */
.services-page {
  --page-ink: #080b12;
  --page-muted: #5c6675;
  --page-line: rgba(8, 11, 18, 0.1);
  --page-accent: #0e7f73;
  overflow-x: hidden;
  color: var(--page-ink);
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 42%, #ffffff 100%);
}

.services-page .site-header {
  border-color: rgba(8, 11, 18, 0.08);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
}

.services-page .site-header.is-scrolled {
  box-shadow: 0 18px 42px rgba(20, 31, 51, 0.08);
}

.services-page .desktop-nav a,
.services-page .mobile-panel a {
  color: #303947;
}

.services-page .header-cta {
  min-height: 42px;
  border: 1px solid rgba(8, 11, 18, 0.12);
  color: #ffffff;
  background: #080b12;
  box-shadow: 0 14px 28px rgba(8, 11, 18, 0.12);
}

.services-page .section-shell {
  width: min(1160px, calc(100% - 48px));
}

.services-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: 780px;
  padding-top: 120px;
  padding-bottom: 64px;
  text-align: left;
}

.services-page .hero-copy {
  min-width: 0;
  width: 100%;
  max-width: 780px;
  text-align: left;
}

.services-page .eyebrow {
  color: var(--page-accent);
  letter-spacing: 0;
}

.services-page .hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 0.98;
}

.services-page .hero-text {
  max-width: 680px;
  color: var(--page-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  text-align: left;
}

.services-page .hero-actions {
  gap: 12px;
  justify-content: flex-start;
}

.services-page .button {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 850;
}

.services-page .button.primary {
  background: #080b12;
  box-shadow: 0 18px 38px rgba(8, 11, 18, 0.16);
}

.services-page .button.secondary {
  border: 1px solid var(--page-line);
  color: #141b28;
  background: rgba(255, 255, 255, 0.72);
}

.hero-system {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 520px;
}

.system-window,
.signal-card {
  border: 1px solid rgba(8, 11, 18, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 80px rgba(24, 38, 61, 0.12);
  backdrop-filter: blur(18px);
}

.system-window {
  overflow: hidden;
  min-height: 380px;
}

.window-bar,
.mockup-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(8, 11, 18, 0.08);
}

.window-bar span,
.mockup-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d6df;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
}

.window-grid strong {
  grid-column: 1 / -1;
  min-height: 126px;
  padding: 24px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #080b12 0%, #152235 62%, #0b7d72 100%);
  font-size: 42px;
  line-height: 1;
}

.window-grid span {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(8, 11, 18, 0.08);
  border-radius: 14px;
  color: #263142;
  background: #f7f9fc;
  font-weight: 850;
}

.signal-card {
  position: absolute;
  right: -18px;
  bottom: 42px;
  width: min(230px, 56%);
  padding: 20px;
}

.signal-card span {
  display: block;
  color: var(--page-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  color: #0b514b;
  font-size: 30px;
}

.services-page .proof-strip {
  width: min(1160px, calc(100% - 48px));
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(20, 31, 51, 0.08);
}

.services-page .proof-strip div {
  border-color: var(--page-line);
}

.services-page .proof-strip span,
.services-page .section-heading p,
.services-page .automation-layout p,
.services-page .contact-section p {
  color: var(--page-muted);
}

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

.services-page .service-card {
  min-height: 240px;
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 50px rgba(20, 31, 51, 0.08);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.services-page .service-card:hover {
  border-color: rgba(14, 127, 115, 0.28);
  box-shadow: 0 28px 70px rgba(20, 31, 51, 0.12);
  transform: translateY(-5px);
}

.services-page .service-card.large {
  min-height: 240px;
  background: linear-gradient(135deg, #080b12 0%, #172538 64%, #0e7f73 100%);
}

.services-page .service-card.large h3,
.services-page .service-card.large p,
.services-page .service-card.large span {
  color: #ffffff;
}

.services-page .service-card h3 {
  margin: 8px 0;
  color: var(--page-ink);
  font-size: 24px;
  line-height: 1.05;
}

.services-page .service-card p {
  color: var(--page-muted);
}

.services-catalog {
  padding-top: 86px;
  padding-bottom: 90px;
}

.services-catalog .plan-category {
  margin-top: 34px;
}

.services-catalog .plan-category + .plan-category {
  margin-top: 28px;
}

.services-catalog .plan-category-heading {
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 50px rgba(20, 31, 51, 0.07);
}

.services-catalog .service-tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-catalog .price-card {
  min-height: 390px;
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 50px rgba(20, 31, 51, 0.08);
  cursor: pointer;
  transition:
    min-height 320ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.services-catalog .price-card.featured {
  background: linear-gradient(135deg, #080b12 0%, #172538 64%, #0e7f73 100%);
  transform: none;
}

.services-catalog .price-card:hover,
.services-catalog .price-card:focus-visible {
  border-color: rgba(14, 127, 115, 0.34);
  box-shadow: 0 30px 80px rgba(20, 31, 51, 0.14);
  outline: none;
  transform: translateY(-6px);
}

.services-catalog .price-card.is-expanded {
  border-color: rgba(14, 127, 115, 0.44);
  box-shadow: 0 34px 90px rgba(20, 31, 51, 0.16);
  transform: translateY(-8px);
}

.services-catalog .price-card h3 {
  margin-top: 16px;
  font-size: 29px;
  line-height: 1.02;
}

.services-catalog .price-card > p {
  color: var(--page-accent);
}

.services-catalog .price-card li,
.services-catalog .price-card span {
  font-size: 15px;
}

.services-catalog .price-card::before {
  opacity: 0.5;
}

.price-pill {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(14, 127, 115, 0.22);
  border-radius: 999px;
  color: #0b514b;
  background: rgba(14, 127, 115, 0.09);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.price-card.featured .price-pill {
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.card-more {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  margin-top: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: grid-template-rows 320ms ease, opacity 240ms ease, transform 240ms ease;
}

.card-more > p {
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  color: var(--page-muted);
  line-height: 1.58;
}

.price-card.featured .card-more > p {
  color: rgba(255, 255, 255, 0.78);
}

.expand-card.is-expanded .card-more {
  grid-template-rows: 1fr;
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}

.expand-card.is-expanded .card-more > p {
  padding-top: 14px;
  border-top: 1px solid rgba(14, 127, 115, 0.18);
}

.price-card.featured.is-expanded .card-more > p {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.expand-card::after {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 1;
  width: 28px;
  height: 28px;
  content: "+";
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 127, 115, 0.2);
  border-radius: 50%;
  color: var(--page-accent);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 900;
  transition: transform 240ms ease, background 240ms ease;
}

.expand-card.is-expanded::after {
  content: "-";
  transform: rotate(180deg);
}

.price-card.featured.expand-card::after {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.capability-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.level-grid,
.automation-card-grid,
.channel-grid {
  display: grid;
  gap: 18px;
}

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

.level-card,
.automation-card-grid article,
.channel-grid article,
.catalog-design-section,
.design-list article {
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 50px rgba(20, 31, 51, 0.08);
}

.level-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 420px;
  padding: 26px;
}

.level-card.featured {
  color: #ffffff;
  background: linear-gradient(135deg, #080b12 0%, #172538 64%, #0e7f73 100%);
}

.level-card span,
.automation-card-grid span,
.channel-grid span {
  color: var(--page-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.level-card.featured span,
.level-card.featured p,
.level-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.level-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.level-card p {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.55;
}

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

.level-card li {
  color: var(--page-muted);
  font-weight: 750;
}

.level-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--page-accent);
  vertical-align: middle;
}

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

.automation-card-grid article {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 22px;
}

.automation-card-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: #080b12;
}

.automation-card-grid strong {
  color: var(--page-ink);
  font-size: 19px;
  line-height: 1.15;
}

.automation-card-grid p,
.channel-grid p,
.catalog-design-section p {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.55;
}

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

.channel-grid article {
  min-height: 210px;
  padding: 26px;
}

.channel-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--page-ink);
  font-size: 28px;
  line-height: 1;
  text-transform: none;
}

.catalog-design-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.catalog-design-section h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
}

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

.design-list article {
  min-height: 118px;
  padding: 18px;
  color: var(--page-ink);
  font-weight: 850;
}

.services-page .feature-band {
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
  color: var(--page-ink);
  background: #f6f8fb;
}

.services-page .automation-list article {
  border: 1px solid var(--page-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(20, 31, 51, 0.07);
}

.services-page .portfolio-section {
  background: #ffffff;
}

.services-page .portfolio-section h2 {
  color: var(--page-ink);
}

.services-page .portfolio-carousel {
  overflow: hidden;
  border-radius: 22px;
  padding: 2px;
}

.services-page .carousel-track {
  gap: 0;
}

.services-page .portfolio-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.58fr);
  gap: 34px;
  align-items: center;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 540px;
  padding: 30px;
  border: 1px solid var(--page-line);
  border-radius: 22px;
  color: var(--page-ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(14, 127, 115, 0.11), transparent 28%),
    linear-gradient(135deg, #f8fafc, #eef3f8);
  box-shadow: 0 26px 70px rgba(20, 31, 51, 0.09);
}

.services-page .portfolio-slide::after {
  display: none;
}

.services-page .portfolio-slide > div {
  position: static;
  inset: auto;
  z-index: auto;
  padding: 0;
}

.services-page .portfolio-slide .desktop-mockup,
.services-page .portfolio-slide .mockup-bar {
  position: static;
  inset: auto;
  z-index: auto;
  padding: 0 16px;
}

.services-page .portfolio-slide .desktop-mockup {
  padding: 0;
}

.services-page .portfolio-slide .mobile-mockup {
  position: absolute;
}

.services-page .portfolio-slide > div:last-child {
  position: static;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 0;
}

.services-page .portfolio-slide span,
.services-page .portfolio-slide small,
.services-page .portfolio-slide p {
  position: static;
  max-width: none;
  color: inherit;
}

.services-page .portfolio-slide span {
  font-size: clamp(34px, 4.8vw, 64px);
  letter-spacing: 0;
  line-height: 0.96;
}

.services-page .portfolio-slide small {
  color: var(--page-accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.services-page .portfolio-slide p {
  color: var(--page-muted);
  font-size: 17px;
  line-height: 1.65;
}

.project-preview {
  position: relative;
  min-height: 440px;
  min-width: 0;
}

.clean-preview {
  display: grid;
  align-items: center;
  min-height: 440px;
  padding: 24px 72px 46px 0;
}

.desktop-mockup,
.mobile-mockup,
.project-placeholder {
  overflow: hidden;
  border: 1px solid rgba(8, 11, 18, 0.1);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(20, 31, 51, 0.14);
}

.desktop-mockup {
  height: auto;
  border-radius: 18px;
}

.portfolio-photo {
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #0d1118;
  box-shadow: 0 34px 90px rgba(20, 31, 51, 0.2);
}

.image-mockup img,
.desktop-mockup iframe,
.mobile-mockup iframe {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
  object-fit: cover;
  object-position: top center;
  opacity: 1;
  transform: none;
  transition: none;
}

.portfolio-photo img {
  flex: 1;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: #130e18;
}

.mobile-mockup {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: clamp(130px, 16vw, 176px);
  height: clamp(250px, 30vw, 336px);
  border: 8px solid #0d1118;
  border-radius: 28px;
  background: #0d1118;
  box-shadow: 0 28px 64px rgba(20, 31, 51, 0.28);
}

.mobile-mockup iframe,
.mobile-mockup img {
  height: 100%;
}

.portfolio-phone {
  display: block;
  padding: 14px 7px 7px;
}

.portfolio-phone img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  transform: translateX(-50%);
}

.future-project-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--page-line);
  border-radius: 16px;
  color: var(--page-ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(20, 31, 51, 0.07);
}

.future-project-note span {
  color: var(--page-accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.future-project-note p {
  max-width: 720px;
  margin: 0;
  color: var(--page-muted);
  line-height: 1.55;
}

.project-placeholder {
  position: relative;
  min-height: 500px;
  border-radius: 18px;
  background: linear-gradient(135deg, #101722 0%, #243244 58%, #0e7f73 100%);
}

.placeholder-brand {
  position: absolute;
  left: 28px;
  top: 28px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
}

.placeholder-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 120px 28px 0;
}

.placeholder-layout span {
  display: block;
  min-height: 150px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
}

.placeholder-device {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 150px;
  height: 260px;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
}

.services-page .carousel-controls button {
  border-radius: 8px;
}

.services-page .carousel-dots button {
  border-radius: 999px;
  background: #d8dee8;
}

.services-page .carousel-dots button.is-active {
  background: #080b12;
}

.services-page .contact-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  align-items: start;
}

.services-page .contact-form {
  border: 1px solid var(--page-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 64px rgba(20, 31, 51, 0.1);
}

.services-page .site-footer {
  border-top: 1px solid var(--page-line);
  background: #080b12;
}

.services-page .site-footer,
.services-page .site-footer a,
.services-page .site-footer p,
.services-page .site-footer small {
  color: rgba(255, 255, 255, 0.74);
}

.services-page .site-footer h3,
.services-page .footer-brand-head {
  color: #ffffff;
}

.services-page[data-theme="dark"] {
  --page-ink: #f6f8fb;
  --page-muted: #aeb9c8;
  --page-line: rgba(229, 238, 250, 0.13);
  color: var(--page-ink);
  background: linear-gradient(180deg, #070a10 0%, #0d131d 48%, #070a10 100%);
}

.services-page[data-theme="dark"] .site-header,
.services-page[data-theme="dark"] .mobile-panel,
.services-page[data-theme="dark"] .service-card,
.services-page[data-theme="dark"] .services-catalog .plan-category-heading,
.services-page[data-theme="dark"] .services-catalog .price-card,
.services-page[data-theme="dark"] .level-card,
.services-page[data-theme="dark"] .automation-card-grid article,
.services-page[data-theme="dark"] .channel-grid article,
.services-page[data-theme="dark"] .catalog-design-section,
.services-page[data-theme="dark"] .design-list article,
.services-page[data-theme="dark"] .automation-list article,
.services-page[data-theme="dark"] .contact-form,
.services-page[data-theme="dark"] .proof-strip,
.services-page[data-theme="dark"] .system-window,
.services-page[data-theme="dark"] .signal-card,
.services-page[data-theme="dark"] .future-project-note {
  border-color: var(--page-line);
  background: rgba(13, 19, 29, 0.76);
  color: var(--page-ink);
}

.services-page[data-theme="dark"] .desktop-nav a,
.services-page[data-theme="dark"] .mobile-panel a,
.services-page[data-theme="dark"] .button.secondary,
.services-page[data-theme="dark"] .service-card h3,
.services-page[data-theme="dark"] .services-catalog .price-card h3,
.services-page[data-theme="dark"] .services-catalog .plan-category-heading p,
.services-page[data-theme="dark"] .automation-card-grid strong,
.services-page[data-theme="dark"] .channel-grid span,
.services-page[data-theme="dark"] .design-list article {
  color: var(--page-ink);
}

.services-page[data-theme="dark"] .button.secondary,
.services-page[data-theme="dark"] .window-grid span,
.services-page[data-theme="dark"] .portfolio-slide {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.06);
}

.services-page[data-theme="dark"] .feature-band,
.services-page[data-theme="dark"] .portfolio-section {
  border-color: var(--page-line);
  background: #0a0f17;
}

.services-page[data-theme="dark"] .desktop-mockup,
.services-page[data-theme="dark"] .mobile-mockup {
  border-color: var(--page-line);
  background: #0f1621;
}

.services-page[data-theme="dark"] .price-pill {
  border-color: rgba(64, 214, 197, 0.24);
  color: #8ff3e5;
  background: rgba(64, 214, 197, 0.1);
}

.services-page[data-theme="dark"] .expand-card::after {
  border-color: rgba(64, 214, 197, 0.24);
  color: #8ff3e5;
  background: rgba(255, 255, 255, 0.08);
}

.services-page[data-theme="dark"] .carousel-dots button.is-active {
  background: #eaf2ff;
}

.services-page .hero.section-shell {
  display: flex !important;
  grid-template-columns: none !important;
  width: min(1120px, calc(100% - 40px));
  min-height: 760px;
  align-items: center;
  justify-content: center;
  padding-top: 132px;
  padding-bottom: 92px;
  text-align: center !important;
}

.services-page .hero .hero-copy {
  width: min(100%, 980px);
  max-width: 980px !important;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero .eyebrow,
.services-page .hero h1,
.services-page .hero .hero-text {
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.services-page .hero h1 {
  max-width: 980px !important;
  font-size: clamp(58px, 7.1vw, 96px) !important;
  line-height: 0.96 !important;
  overflow-wrap: normal !important;
}

.services-page .hero .hero-text {
  max-width: 720px !important;
}

.services-page .hero .hero-actions {
  justify-content: center !important;
}

@media (max-width: 980px) {
.services-page .hero,
.services-page .contact-section,
.services-page .portfolio-slide {
    grid-template-columns: 1fr;
  }

  .hero-system {
    min-height: 420px;
  }

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

  .level-grid,
.automation-card-grid,
.channel-grid,
.catalog-design-section,
.services-catalog .service-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
.services-page .section-shell,
.services-page .proof-strip {
    width: calc(100% - 28px);
  }

  .services-page .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .services-page .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .services-page .hero-text {
    font-size: 16px;
  }

  .services-page .hero-actions,
.services-page .button {
    width: 100%;
  }

  .hero-system {
    min-height: 340px;
  }

  .system-window {
    min-height: 300px;
  }

  .window-grid {
    gap: 10px;
    padding: 14px;
  }

  .window-grid strong {
    min-height: 92px;
    font-size: 31px;
  }

  .window-grid span {
    min-height: 72px;
    padding: 12px;
    font-size: 13px;
  }

  .signal-card {
    right: 8px;
    bottom: 12px;
    width: 170px;
  }

  .signal-card strong {
    font-size: 25px;
  }

  .services-page .proof-strip {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .services-page .proof-strip div {
    padding: 18px 14px;
  }

  .premium-services {
    display: grid;
    grid-template-columns: 1fr;
  }

  .capability-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .services-catalog {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -14px;
    padding: 2px 14px 18px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-page .services-catalog .pricing-grid::-webkit-scrollbar,
.services-page .services-catalog .auto-grid::-webkit-scrollbar {
    display: none;
  }

  .services-catalog .plan-category-heading {
    padding: 20px;
  }

  .services-catalog .price-card {
    flex: 0 0 min(86vw, 350px);
    min-height: 430px;
    scroll-snap-align: center;
  }

  .level-card {
    min-height: auto;
    padding: 22px;
  }

  .automation-card-grid {
    grid-template-columns: 1fr;
  }

  .automation-card-grid article,
.channel-grid article {
    min-height: auto;
  }

  .catalog-design-section {
    padding: 22px;
  }

  .design-list {
    grid-template-columns: 1fr;
  }

  .services-page .service-card,
.services-page .service-card.large {
    min-height: 190px;
    padding: 22px;
  }

  .services-page .portfolio-heading {
    gap: 16px;
  }

  .services-page .portfolio-carousel {
    border-radius: 16px;
  }

  .services-page .portfolio-slide {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
    padding: 16px;
    border-radius: 16px;
  }

  .services-page .portfolio-slide > div:last-child {
    order: 1;
    align-content: start;
  }

  .services-page .portfolio-slide .project-preview {
    order: 2;
    width: 100%;
  }

  .services-page .portfolio-slide span {
    font-size: 38px;
  }

  .project-preview,
.project-placeholder {
    min-height: auto;
  }

  .clean-preview {
    min-height: auto;
    padding: 0;
  }

  .desktop-mockup {
    height: auto;
  }

  .portfolio-photo {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .mobile-mockup {
    right: 12px;
    bottom: -16px;
    width: 118px;
    height: 224px;
    border-width: 6px;
  }

  .future-project-note {
    display: grid;
    gap: 8px;
    padding: 16px;
  }

  .placeholder-layout {
    grid-template-columns: 1fr;
    padding-top: 102px;
  }

  .placeholder-layout span {
    min-height: 68px;
  }

  .placeholder-device {
    width: 108px;
    height: 190px;
  }

  .services-page .contact-form {
    padding: 20px;
  }
}

@media (max-width: 420px) {
.services-page .hero h1 {
    font-size: 36px;
  }

  .services-page .proof-strip {
    grid-template-columns: 1fr;
  }

  .mobile-mockup {
    display: none;
  }
}

/* Mobile polish override for the public landing */
@media (max-width: 760px) {
  .services-page .hero.section-shell {
    display: flex !important;
    width: calc(100% - 28px) !important;
    min-height: auto !important;
    padding: 102px 0 34px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .services-page .hero .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .services-page .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.25;
  }

  .services-page .hero h1 {
    max-width: 330px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(34px, 11vw, 44px) !important;
    line-height: 1.02 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
  }

  .services-page .hero .hero-text {
    max-width: 315px !important;
    margin-top: 14px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .services-page .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 315px) !important;
    gap: 10px !important;
    margin: 22px auto 0 !important;
  }

  .services-page .hero-actions .button {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .services-heading {
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

  .services-heading .carousel-controls {
    width: auto;
    margin-left: 0;
  }

  .services-page .split {
    padding-top: 46px !important;
    padding-bottom: 42px !important;
  }

  .services-carousel {
    margin-inline: -2px;
    border-radius: 18px;
  }

  .services-page .service-slide {
    min-height: 350px !important;
    padding: 22px !important;
    border-radius: 18px !important;
    align-content: end;
  }

  .services-page .service-slide::before {
    inset: 10px;
    border-radius: 14px;
  }

  .services-page .service-slide::after {
    top: 22px !important;
    right: 22px !important;
    width: 118px !important;
    height: 118px !important;
  }

  .services-page .service-slide h3 {
    max-width: 270px;
    margin: 8px 0 12px;
    font-size: 24px !important;
    line-height: 1.06;
  }

  .services-page .service-slide p {
    max-width: 282px;
    font-size: 16px !important;
    line-height: 1.48;
  }

  .services-page .service-slide ul {
    display: flex !important;
    gap: 8px;
    margin-top: 18px;
  }

  .services-page .service-slide li {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .services-catalog {
    padding-top: 38px !important;
    padding-bottom: 46px !important;
  }

  .services-catalog .section-heading {
    margin-bottom: 22px !important;
  }

  .services-catalog .plan-category {
    gap: 12px !important;
  }

  .services-catalog .plan-category + .plan-category {
    margin-top: 26px !important;
  }

  .services-catalog .plan-category-heading {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .services-catalog .plan-category-heading p {
    font-size: 22px !important;
  }

  .services-catalog .plan-category-heading span {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .services-page .services-catalog .pricing-grid,
  .services-page .services-catalog .auto-grid,
  .services-page .services-catalog .service-tier-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin: 0 -14px !important;
    padding: 2px 14px 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-page .services-catalog .pricing-grid::-webkit-scrollbar,
  .services-page .services-catalog .auto-grid::-webkit-scrollbar,
  .services-page .services-catalog .service-tier-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-catalog .price-card {
    flex: 0 0 min(82vw, 310px) !important;
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 16px !important;
    scroll-snap-align: center !important;
  }

  .services-catalog .price-card h3 {
    margin-top: 12px !important;
    font-size: 25px !important;
  }

  .services-catalog .price-card ul {
    gap: 9px !important;
    margin: 18px 0 0 !important;
  }

  .services-catalog .price-card li,
  .services-catalog .price-card span {
    font-size: 14px !important;
    line-height: 1.42;
  }

  .card-more {
    display: none !important;
  }

  .portfolio-section {
    padding: 52px 0 !important;
  }

  .services-page .portfolio-slide {
    gap: 16px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .services-page .portfolio-slide .project-preview {
    order: 1 !important;
    min-height: auto !important;
  }

  .services-page .portfolio-slide > div:last-child {
    order: 2 !important;
    gap: 8px !important;
    padding: 2px 4px 4px !important;
  }

  .services-page .portfolio-slide span {
    font-size: 34px !important;
  }

  .services-page .portfolio-slide p {
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  .services-page .portfolio-photo {
    width: 100%;
    min-height: 222px !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 16px !important;
  }

  .services-page .portfolio-photo img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #130e18;
  }
}

@media (max-width: 420px) {
.services-page .hero h1 {
    max-width: 300px !important;
    font-size: 34px !important;
  }

  .services-page .hero .hero-text,
.services-page .hero-actions {
    max-width: 292px !important;
  }

  .services-page .hero-actions {
    grid-template-columns: 1fr !important;
  }

  .services-page .service-slide {
    min-height: 338px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(84vw, 292px) !important;
  }
}

.services-page .footer-social a,
body[data-theme="dark"] .footer-social a {
  color: #061018 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(180deg, #ffffff, #dbe8f5) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.services-page .footer-social a:hover,
body[data-theme="dark"] .footer-social a:hover {
  color: #ffffff !important;
  border-color: rgba(0, 113, 227, 0.38) !important;
  background: linear-gradient(135deg, #0071e3, #0057bd) !important;
}

.services-page .footer-social svg,
body[data-theme="dark"] .footer-social svg {
  fill: currentColor !important;
  opacity: 1 !important;
}

/* Absolute last: proof strip,
service autoplay controls,
mobile carousel edges */
.services-page .proof-strip {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-page .proof-strip div {
  border: 0 !important;
}

.services-page .services-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  max-width: 1080px !important;
}

.services-page .service-controls {
  display: flex !important;
}

.services-page .service-controls button {
  border-color: rgba(8, 11, 18, 0.12) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.services-page[data-theme="dark"] .service-controls button {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.services-carousel {
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-track {
  transform: none !important;
}

@media (max-width: 760px) {
.services-page .services-heading {
    display: block !important;
    max-width: 330px !important;
  }

  .services-page .service-controls {
    display: none !important;
  }

  .services-page .proof-strip {
    margin-bottom: 34px !important;
  }

  .services-page .proof-strip div {
    padding: 14px 6px !important;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    margin: 0 !important;
    padding: 2px 0 16px !important;
    gap: 12px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 56px) !important;
    max-width: 330px !important;
  }
}

@media (max-width: 420px) {
.services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 40px) !important;
    max-width: none !important;
  }
}

/* Keep service title centered while desktop arrows float aside */
.services-page .services-heading {
  position: relative !important;
  display: block !important;
}

.services-page .service-controls {
  position: absolute !important;
  right: 0 !important;
  bottom: 6px !important;
}

@media (max-width: 760px) {
.services-page .service-controls {
    display: none !important;
  }
}

/* Final carousel/proof-strip corrections */
.services-page .proof-strip {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-page .proof-strip div {
  border: 0 !important;
}

.services-page .services-heading {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: end;
  max-width: 1080px !important;
}

.services-page .services-heading > div:first-child {
  max-width: 880px !important;
}

.services-page .service-controls {
  display: flex !important;
}

.services-page .service-controls button {
  border-color: rgba(8, 11, 18, 0.12) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.services-page[data-theme="dark"] .service-controls button {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.services-carousel {
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-track {
  transform: none !important;
}

@media (max-width: 760px) {
.services-page .services-heading {
    display: block !important;
    max-width: 330px !important;
  }

  .services-page .service-controls {
    display: none !important;
  }

  .services-page .proof-strip {
    margin-bottom: 34px !important;
  }

  .services-page .proof-strip div {
    padding: 14px 6px !important;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    margin: 0 !important;
    padding: 2px 0 16px !important;
    gap: 12px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 56px) !important;
    max-width: 330px !important;
  }
}

@media (max-width: 420px) {
.services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 40px) !important;
    max-width: none !important;
  }
}

body.services-page[data-theme="dark"] .contact-form select,
body.services-page[data-theme="dark"] .contact-form select:focus {
  color: #f8fafc !important;
  background-color: #111827 !important;
  border-color: rgba(90, 174, 255, 0.34) !important;
}

body.services-page[data-theme="dark"] .contact-form select option {
  color: #f8fafc !important;
  background-color: #111827 !important;
}

body.services-page[data-theme="dark"] .contact-form select option:checked {
  color: #ffffff !important;
  background-color: #0057bd !important;
}

.services-catalog .plan-category-heading {
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--page-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.services-catalog .plan-category-heading p {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.05 !important;
}

.services-catalog .plan-category-heading span {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.services-page h2 {
  font-size: clamp(30px, 4vw, 52px) !important;
}

@media (max-width: 760px) {
.services-page h2 {
    font-size: 28px !important;
  }

  .services-catalog .plan-category-heading {
    padding: 0 0 12px !important;
  }

  .services-catalog .plan-category-heading p {
    font-size: 24px !important;
  }

  .services-catalog .plan-category-heading span {
    font-size: 14px !important;
  }
}

/* Absolute final overrides for requested service layout */
.services-page .section-heading,
.services-page .portfolio-heading {
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.services-page .section-heading > div,
.services-page .portfolio-heading > div:first-child,
.services-page .section-heading p,
.services-page .section-heading h2,
.services-page .portfolio-heading p,
.services-page .portfolio-heading h2 {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.services-page .contact-section,
.services-page .contact-section * {
  text-align: left !important;
}

.services-page .services-heading {
  display: block !important;
}

.services-page .service-controls,
.services-page .service-dots {
  display: none !important;
}

.services-carousel {
  overflow-x: auto !important;
  overflow-y: visible !important;
  border-radius: 28px !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.services-track {
  display: flex !important;
  gap: 18px !important;
  width: max-content !important;
  transform: none !important;
  transition: none !important;
}

.services-page .service-slide {
  flex: 0 0 min(820px, calc(100vw - 56px)) !important;
  min-width: 0 !important;
  min-height: 360px !important;
  padding: clamp(32px, 4vw, 52px) !important;
  align-content: center !important;
  border-radius: 26px !important;
  scroll-snap-align: center !important;
}

.services-page .service-slide ul {
  display: none !important;
}

.services-page .service-slide h3,
.services-page .service-slide p {
  max-width: 620px !important;
}

.services-page .price-pill {
  display: block !important;
  width: auto !important;
  margin: 8px 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--page-accent) !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
}

.services-page .price-card.featured .price-pill {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
}

.services-page .expand-card::after {
  display: none !important;
}

.services-catalog .price-card,
.services-catalog .plan-category-heading {
  border-radius: 24px !important;
}

@media (max-width: 760px) {
.services-page .section-heading,
.services-page .portfolio-heading {
    max-width: 330px !important;
    margin-bottom: 24px !important;
  }

  .services-page .contact-section,
.services-page .contact-section * {
    text-align: left !important;
  }

  .services-carousel {
    margin-inline: -14px !important;
    padding: 0 14px 10px !important;
    border-radius: 0 !important;
  }

  .services-track {
    gap: 12px !important;
  }

  .services-page .service-slide {
    flex-basis: min(84vw, 310px) !important;
    min-height: 270px !important;
    padding: 24px !important;
    border-radius: 22px !important;
    align-content: end !important;
  }

  .services-page .service-slide h3 {
    max-width: 230px !important;
    font-size: 24px !important;
    line-height: 1.06 !important;
  }

  .services-page .service-slide p {
    max-width: 242px !important;
    font-size: 15px !important;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    gap: 14px !important;
    padding-bottom: 18px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(84vw, 310px) !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .services-page .price-pill {
    margin: 6px 0 12px !important;
    font-size: 14px !important;
  }
}

/* Final requested layout pass */
.services-page .section-heading,
.services-page .portfolio-heading {
  max-width: 920px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.services-page .section-heading > div,
.services-page .portfolio-heading > div:first-child,
.services-page .section-heading p,
.services-page .section-heading h2,
.services-page .portfolio-heading p,
.services-page .portfolio-heading h2 {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}

.services-page .contact-section,
.services-page .contact-section * {
  text-align: left !important;
}

.services-page .services-heading {
  display: block !important;
}

.services-page .service-controls {
  display: none !important;
}

.services-carousel {
  overflow-x: auto !important;
  overflow-y: visible !important;
  border-radius: 28px !important;
  scroll-padding-inline: max(20px, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.services-track {
  display: flex !important;
  gap: 18px !important;
  width: max-content !important;
  transform: none !important;
  transition: none !important;
}

.services-page .service-slide {
  flex: 0 0 min(820px, calc(100vw - 56px)) !important;
  min-width: 0 !important;
  min-height: 360px !important;
  padding: clamp(32px, 4vw, 52px) !important;
  align-content: center !important;
  border-radius: 26px !important;
  scroll-snap-align: center;
}

.services-page .service-slide ul {
  display: none !important;
}

.services-page .service-slide h3,
.services-page .service-slide p {
  max-width: 620px !important;
}

.services-page .service-slide::after {
  opacity: 0.3 !important;
}

.services-page .service-dots {
  display: none !important;
}

.services-page .price-pill {
  display: block !important;
  width: auto !important;
  margin: 8px 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--page-accent) !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
}

.services-page .price-card.featured .price-pill {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
}

.services-page .expand-card::after {
  display: none !important;
}

.services-catalog .price-card {
  border-radius: 24px !important;
}

.services-catalog .price-card h3 {
  margin-top: 8px !important;
}

.services-catalog .plan-category-heading {
  border-radius: 24px !important;
}

@media (max-width: 760px) {
.services-page .section-heading,
.services-page .portfolio-heading {
    max-width: 330px !important;
    margin-bottom: 24px !important;
  }

  .services-page .contact-section,
.services-page .contact-section * {
    text-align: left !important;
  }

  .services-carousel {
    margin-inline: -14px !important;
    padding: 0 14px 10px !important;
    border-radius: 0 !important;
  }

  .services-track {
    gap: 12px !important;
  }

  .services-page .service-slide {
    flex-basis: min(84vw, 310px) !important;
    min-height: 270px !important;
    padding: 24px !important;
    border-radius: 22px !important;
    align-content: end !important;
  }

  .services-page .service-slide::before {
    inset: 12px !important;
    border-radius: 16px !important;
  }

  .services-page .service-slide::after {
    width: 96px !important;
    height: 96px !important;
    opacity: 0.24 !important;
  }

  .services-page .service-slide h3 {
    max-width: 230px !important;
    font-size: 24px !important;
  }

  .services-page .service-slide p {
    max-width: 242px !important;
    font-size: 15px !important;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    gap: 14px !important;
    padding-bottom: 18px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(84vw, 310px) !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .services-page .price-pill {
    margin: 6px 0 12px !important;
    font-size: 14px !important;
  }

  .services-catalog .plan-category-heading {
    border-radius: 20px !important;
  }
}

@media (max-width: 980px) {
}

@media (max-width: 680px) {

  .remove-item {
    grid-column: 3;
  }
}

@media (max-width: 760px) {
}

@media (max-width: 1180px) {
}

@media (max-width: 760px) {
}

@media (max-width: 460px) {

  .quantity {
    grid-column: 2;
  }

  .remove-item {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 360px) {
}

@media (max-width: 760px) {
.services-page .hero {
    display: flex !important;
    min-height: auto;
    padding-top: 98px;
    padding-bottom: 60px;
    align-items: center;
    justify-content: center;
    text-align: center !important;
  }

  .services-page .hero-copy {
    max-width: 100%;
    text-align: center !important;
  }

  .services-page .hero h1,
.services-page .hero-text {
    text-align: center !important;
  }

  .services-page .hero h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 12vw, 52px) !important;
    line-height: 1 !important;
    overflow-wrap: normal !important;
  }

  .services-page .hero .hero-text {
    max-width: 100% !important;
    font-size: 17px;
    line-height: 1.55;
  }

  .services-page .hero-system {
    display: none !important;
  }

  .services-page .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
  }

  .services-page .proof-strip div {
    padding: 18px 14px;
  }

  .services-page .proof-strip strong,
.services-page .proof-strip span {
    white-space: normal;
  }
}

@media (max-width: 460px) {
.services-page .hero h1 {
    max-width: calc(100vw - 28px) !important;
    font-size: 38px !important;
    line-height: 1;
    overflow-wrap: normal;
  }

  .services-page .hero-text {
    max-width: calc(100vw - 28px) !important;
    font-size: 16px;
    line-height: 1.55;
    text-align: center !important;
  }

  .services-page .hero-actions,
.services-page .hero-actions .button {
    max-width: 100%;
  }
}

/* Last-mile mobile landing optimization */
@media (max-width: 760px) {
  .services-page .hero.section-shell {
    display: flex !important;
    width: calc(100% - 28px) !important;
    min-height: auto !important;
    padding: 102px 0 34px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .services-page .hero h1 {
    max-width: 330px !important;
    margin-inline: auto !important;
    font-size: clamp(34px, 11vw, 44px) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal !important;
    text-align: center !important;
  }

  .services-page .hero .hero-text {
    max-width: 315px !important;
    margin-top: 14px !important;
    margin-inline: auto !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .services-page .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 315px) !important;
    gap: 10px !important;
    margin: 22px auto 0 !important;
  }

  .services-page .hero-actions .button {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
  }

  .services-page .split {
    padding-top: 46px !important;
    padding-bottom: 42px !important;
  }

  .services-page .service-slide {
    min-height: 338px !important;
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .services-page .service-slide h3 {
    max-width: 270px !important;
    font-size: 24px !important;
    line-height: 1.06 !important;
  }

  .services-page .service-slide p {
    max-width: 282px !important;
    font-size: 16px !important;
    line-height: 1.48 !important;
  }

  .services-page .service-slide li {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .services-catalog {
    padding-top: 38px !important;
    padding-bottom: 46px !important;
  }

  .services-catalog .section-heading {
    margin-bottom: 22px !important;
  }

  .services-catalog .plan-category {
    gap: 12px !important;
  }

  .services-catalog .plan-category + .plan-category {
    margin-top: 26px !important;
  }

  .services-catalog .plan-category-heading {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .services-catalog .plan-category-heading p {
    font-size: 22px !important;
  }

  .services-catalog .plan-category-heading span {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .services-page .services-catalog .pricing-grid,
  .services-page .services-catalog .auto-grid,
  .services-page .services-catalog .service-tier-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin: 0 -14px !important;
    padding: 2px 14px 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-padding-inline: 14px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .services-page .services-catalog .pricing-grid::-webkit-scrollbar,
  .services-page .services-catalog .auto-grid::-webkit-scrollbar,
  .services-page .services-catalog .service-tier-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-catalog .price-card {
    flex: 0 0 min(82vw, 310px) !important;
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 16px !important;
    scroll-snap-align: center !important;
  }

  .services-catalog .price-card h3 {
    margin-top: 12px !important;
    font-size: 25px !important;
  }

  .services-catalog .price-card ul {
    gap: 9px !important;
    margin: 18px 0 0 !important;
  }

  .services-catalog .price-card li,
  .services-catalog .price-card span {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .services-catalog .card-more {
    display: none !important;
  }

  .portfolio-section {
    padding: 52px 0 !important;
  }

  .services-page .portfolio-slide {
    gap: 16px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .services-page .portfolio-slide .project-preview {
    order: 1 !important;
  }

  .services-page .portfolio-slide > div:last-child {
    order: 2 !important;
    padding: 2px 4px 4px !important;
  }

  .services-page .portfolio-photo {
    width: 100% !important;
    min-height: 222px !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 16px !important;
  }

  .services-page .portfolio-photo img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #130e18 !important;
  }
}

@media (max-width: 420px) {
.services-page .hero h1 {
    max-width: 300px !important;
    font-size: 34px !important;
  }

  .services-page .hero .hero-text,
.services-page .hero-actions {
    max-width: 292px !important;
  }

  .services-page .hero-actions {
    grid-template-columns: 1fr !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: min(84vw, 292px) !important;
  }
}

.services-page .footer-social a,
body[data-theme="dark"] .footer-social a {
  color: #061018 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(180deg, #ffffff, #dbe8f5) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.services-page .footer-social a:hover,
body[data-theme="dark"] .footer-social a:hover {
  color: #ffffff !important;
  border-color: rgba(0, 113, 227, 0.38) !important;
  background: linear-gradient(135deg, #0071e3, #0057bd) !important;
}

.services-page .footer-social svg,
body[data-theme="dark"] .footer-social svg {
  fill: currentColor !important;
  opacity: 1 !important;
}

/* Absolute final end overrides: proof strip,
service autoplay controls,
mobile carousel edges */
.services-page .proof-strip {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-page .proof-strip div {
  border: 0 !important;
}

.services-page .services-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  max-width: 1080px !important;
}

.services-page .service-controls {
  display: flex !important;
}

.services-page .service-controls button {
  border-color: rgba(8, 11, 18, 0.12) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.services-page[data-theme="dark"] .service-controls button {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.services-carousel {
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-track {
  transform: none !important;
}

@media (max-width: 760px) {
.services-page .services-heading {
    display: block !important;
    max-width: 330px !important;
  }

  .services-page .service-controls {
    display: none !important;
  }

  .services-page .proof-strip {
    margin-bottom: 34px !important;
  }

  .services-page .proof-strip div {
    padding: 14px 6px !important;
  }

  .services-page .services-catalog .pricing-grid,
.services-page .services-catalog .auto-grid,
.services-page .services-catalog .service-tier-grid {
    margin: 0 !important;
    padding: 2px 0 16px !important;
    gap: 12px !important;
  }

  .services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 56px) !important;
    max-width: 330px !important;
  }
}

@media (max-width: 420px) {
.services-page .services-catalog .price-card {
    flex-basis: calc(100vw - 40px) !important;
    max-width: none !important;
  }
}

/* Absolute final: keep service title centered while desktop arrows float aside */
.services-page .services-heading {
  position: relative !important;
  display: block !important;
}

.services-page .service-controls {
  position: absolute !important;
  right: 0 !important;
  bottom: 6px !important;
  display: flex !important;
}

@media (max-width: 760px) {
.services-page .service-controls {
    display: none !important;
  }
}

/* Final fix: service carousel alignment and right arrow */
.services-page .service-controls button[data-services-next]::before {
  left: 15px !important;
  transform: rotate(135deg) !important;
}

.services-page .service-controls button[data-services-prev]::before {
  left: 18px !important;
  transform: rotate(-45deg) !important;
}

.services-page .services-carousel {
  width: min(1180px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  scroll-padding-left: 0 !important;
}

.services-page .services-track {
  padding: 0 !important;
}

.services-page .service-slide {
  scroll-snap-align: start !important;
}

@media (min-width: 761px) {
.services-page .service-slide {
    flex-basis: min(900px, calc(100vw - 360px)) !important;
  }
}

@media (max-width: 760px) {
.services-page .services-carousel {
    width: auto !important;
    margin-right: -14px !important;
    margin-left: -14px !important;
    padding: 0 14px 10px !important;
    scroll-padding-left: 14px !important;
  }

  .services-page .service-slide {
    scroll-snap-align: start !important;
  }
}

/* Service premium visuals */
.services-page .service-slide {
  position: relative !important;
  overflow: hidden !important;
}

.services-page .service-slide::after {
  display: none !important;
}

.services-page .service-slide span,
.services-page .service-slide h3,
.services-page .service-slide p {
  position: relative;
  z-index: 2;
}

.service-visual {
  position: absolute;
  right: clamp(10px, 3vw, 34px);
  top: 50%;
  z-index: 1;
  width: min(42%, 430px);
  max-height: 88%;
  object-fit: contain;
  opacity: 0.78;
  pointer-events: none;
  transform: translateY(-50%);
  filter: saturate(1.04);
}

.services-page .service-slide:not(.large) .service-visual {
  opacity: 0.34;
}

@media (max-width: 760px) {
.service-visual {
    right: -46px;
    top: 32px;
    width: 230px;
    max-height: none;
    opacity: 0.36;
    transform: none;
  }

  .services-page .service-slide:not(.large) .service-visual {
    opacity: 0.18;
  }
}

/* Make service visuals readable on the intended dark premium cards */
.services-page .service-slide,
.services-page .service-slide:not(.large) {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(8, 11, 18, 0.98) 0%, rgba(18, 34, 54, 0.96) 58%, rgba(0, 113, 227, 0.34) 100%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.services-page .service-slide h3,
.services-page .service-slide span {
  color: #ffffff !important;
}

.services-page .service-slide p,
.services-page .service-slide:not(.large) p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.services-page .service-slide .service-visual,
.services-page .service-slide:not(.large) .service-visual {
  opacity: 0.92 !important;
}

.services-page .service-slide:not(.large) .service-visual {
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 760px) {
.services-page .service-slide .service-visual,
.services-page .service-slide:not(.large) .service-visual {
    right: -34px !important;
    width: 245px !important;
    opacity: 0.52 !important;
  }
}

/* Final polish: real case reads as a premium black showcase */
.services-page .portfolio-slide.real-project {
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.7fr) !important;
  min-height: 420px !important;
  padding: clamp(18px, 3vw, 28px) !important;
  overflow: hidden !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 113, 227, 0.22), transparent 30%),
    linear-gradient(135deg, #05070b 0%, #0b0f16 62%, #000000 100%) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34) !important;
}

.services-page .portfolio-slide.real-project::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 38%) !important;
  opacity: 0.7 !important;
}

.services-page .portfolio-slide.real-project .project-preview,
.services-page .portfolio-slide.real-project .clean-preview {
  min-height: 0 !important;
  padding: 0 !important;
}

.services-page .portfolio-slide.real-project .portfolio-photo {
  width: min(100%, 610px) !important;
  min-height: 0 !important;
  max-height: 330px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 18px !important;
  background: #05070b !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44) !important;
}

.services-page .portfolio-slide.real-project .portfolio-photo img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 6px !important;
  background: #05070b !important;
}

.services-page .portfolio-slide.real-project > div:last-child,
.services-page .portfolio-slide.real-project span {
  color: #ffffff !important;
}

.services-page .portfolio-slide.real-project small {
  color: #8cc7ff !important;
}

.services-page .portfolio-slide.real-project p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.services-page .future-project-note {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 113, 227, 0.2), transparent 32%),
    #05070b !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28) !important;
}

.services-page .future-project-note span {
  color: #8cc7ff !important;
}

.services-page .future-project-note p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.services-page .site-footer .footer-brand-head,
.services-page .site-footer .footer-brand-head > span:last-child {
  color: #ffffff !important;
}

@media (max-width: 760px) {
.services-page .portfolio-slide.real-project {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 18px !important;
    gap: 18px !important;
  }

  .services-page .portfolio-slide.real-project .portfolio-photo {
    width: 100% !important;
    max-height: 240px !important;
    border-radius: 14px !important;
  }
}
