/* Keyboard navigation and accessibility */
.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #04111f;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  background: #67e8f9;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
}

:root {
  --ink: #101828;
  --muted: #667085;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #e4e7ec;
  --teal: #0891b2;
  --cyan: #67e8f9;
  --orange: #f97316;
  --green: #16a34a;
  --blue: #2563eb;
  --dark: #07111d;
  --shadow: 0 18px 44px rgba(13, 25, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.asset-marquee {
  position: relative;
  z-index: 15;
  overflow: hidden;
  cursor: grab;
  padding: 104px 0 18px;
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.22), rgba(34, 197, 94, 0.18), rgba(249, 115, 22, 0.18), rgba(239, 68, 68, 0.16)),
    #06111f;
  touch-action: pan-y;
  user-select: none;
}

.asset-marquee::before,
.asset-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.asset-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #06111f, transparent);
}

.asset-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #06111f, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeMove 42s linear infinite;
  will-change: transform;
}

.asset-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.asset-marquee figure {
  position: relative;
  flex: 0 0 320px;
  height: 148px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.asset-marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: brightness(1.22) saturate(1.22) contrast(0.96) hue-rotate(5deg);
}

.asset-marquee figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(6, 17, 31, 0.68);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(9, 16, 28, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav > a,
.nav-group > a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-group {
  position: relative;
  padding: 14px 0;
}

.nav-menu {
  position: absolute;
  top: 44px;
  left: 50%;
  display: grid;
  min-width: 300px;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
}

.nav-menu a:hover {
  background: var(--paper);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: brightness(1.2) saturate(1.12) contrast(0.95) hue-rotate(4deg);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(2, 8, 13, 0.04) 0%, rgba(2, 8, 13, 0.02) 38%, rgba(2, 8, 13, 0.08) 100%),
    radial-gradient(circle at 78% 42%, rgba(249, 115, 22, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(2, 8, 13, 0.02), rgba(2, 8, 13, 0.12));
}

.hero-content {
  position: relative;
  width: min(560px, calc(100% - 36px));
  margin-left: clamp(420px, 43vw, 760px);
  padding-top: 132px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  color: #061017;
  background: var(--cyan);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 48px;
}

.hero-stats span {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 25px;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.about-copy p,
.section-heading + p {
  margin: 0;
}

.services,
.industries,
.plans,
.process {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 0 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(13, 25, 38, 0.04);
}

.service-media {
  width: calc(100% + 44px);
  height: 168px;
  margin: 0 -22px 18px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  filter: brightness(1.24) saturate(1.18) contrast(0.96) hue-rotate(5deg);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: var(--teal);
}

.service-card:nth-child(3) .service-icon {
  background: var(--green);
}

.service-card:nth-child(4) .service-icon {
  background: var(--orange);
}

.service-card:nth-child(5) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(6) .service-icon {
  background: #7c3aed;
}

.service-card:nth-child(7) .service-icon {
  background: #dc2626;
}

.service-card:nth-child(8) .service-icon {
  background: #475569;
}

.service-card p,
.industry-grid p,
.benefits p,
.plan-grid p,
.plan-grid li,
.timeline span,
.contact-band p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

.cta-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #07111d, #0f3b46);
  box-shadow: var(--shadow);
}

.cta-strip .eyebrow {
  color: var(--cyan);
}

.quick-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.quick-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.quick-form input,
.quick-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.quick-form select option {
  color: var(--ink);
}

.quick-form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.industry-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(103, 232, 249, 0.16), rgba(255, 255, 255, 0) 58%),
    var(--dark);
}

.industry-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}

.benefits {
  display: grid;
  gap: 16px;
}

.benefits > div {
  padding: 24px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(13, 25, 38, 0.04);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.plan-grid article {
  min-height: 340px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plan-grid .featured {
  border-color: rgba(249, 115, 22, 0.48);
  box-shadow: var(--shadow);
}

.plan-grid article > span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-size: 13px;
  font-weight: 900;
}

.plan-grid .featured > span {
  background: var(--orange);
}

.plan-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 24px 0 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  counter-increment: step;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 92px;
}

.numbers div {
  min-height: 138px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0b1726, #10313a);
}

.numbers strong {
  font-size: 40px;
  line-height: 1;
}

.numbers span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 40px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding: 46px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin-bottom: 14px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-panel a,
.contact-panel span {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 48px clamp(18px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #07111d;
}

.site-footer h3 {
  color: #fff;
  font-size: 16px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 18px;
}

@media (max-width: 1100px) {
  .service-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .site-nav a,
  .nav-group > a {
    padding: 12px;
  }

  .nav-group {
    padding: 0;
  }

  .nav-menu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    margin: 0 8px 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: var(--paper);
  }

  .about,
  .cta-strip,
  .split,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-form,
  .plan-grid,
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 98vh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 96px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-text {
    font-size: 16px;
  }

  .button,
  .quick-form .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .quick-form,
  .industry-grid,
  .plan-grid,
  .timeline,
  .numbers {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .timeline li,
  .industry-grid article,
  .plan-grid article,
  .numbers div {
    min-height: auto;
  }

  .cta-strip,
  .contact-band {
    padding: 28px;
  }

}

/* Bright corporate theme pass */
body {
  background:
    radial-gradient(circle at 12% 18%, rgba(6, 182, 212, 0.22), transparent 28%),
    radial-gradient(circle at 38% 34%, rgba(34, 197, 94, 0.2), transparent 30%),
    radial-gradient(circle at 64% 28%, rgba(250, 204, 21, 0.2), transparent 28%),
    radial-gradient(circle at 82% 44%, rgba(249, 115, 22, 0.2), transparent 30%),
    radial-gradient(circle at 92% 68%, rgba(239, 68, 68, 0.16), transparent 28%),
    linear-gradient(180deg, #e8fbff 0, #ffffff 520px, #f4fbff 1000px, #fff7ed 100%);
}

.site-header {
  top: 14px;
  left: clamp(14px, 3vw, 36px);
  right: clamp(14px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(6, 17, 29, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
}

.brand-mark {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #22c55e 58%, #f97316);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.28);
}

.image-mark {
  position: relative;
  overflow: hidden;
  background: #07111d;
}

.image-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transform: none;
}

.site-nav > a,
.nav-group > a {
  position: relative;
  color: #1f2937;
  opacity: 1;
}

.site-nav > a::after,
.nav-group > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav > a:hover::after,
.nav-group > a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  min-height: 96vh;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16px;
  z-index: 2;
  background: linear-gradient(90deg, #06b6d4, #22c55e, #f97316, #ef4444);
}

.hero-image {
  filter: saturate(1.24) contrast(1.04) brightness(1.08);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 20, 32, 0.88) 0%, rgba(3, 38, 51, 0.68) 40%, rgba(255, 255, 255, 0.06) 82%),
    linear-gradient(135deg, rgba(8, 145, 178, 0.34), rgba(249, 115, 22, 0.24) 58%, rgba(34, 197, 94, 0.2));
}

.hero .eyebrow,
.cta-strip .eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 8px;
  color: #05202b;
  background: #a7f3d0;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
}

h1 {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.button.primary {
  color: #101828;
  background: linear-gradient(135deg, #facc15, #fb923c 48%, #67e8f9);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-stats span {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.section-heading .eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  color: #075985;
  background: #cffafe;
}

.about {
  position: relative;
}

main {
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.16), rgba(34, 197, 94, 0.14) 28%, rgba(250, 204, 21, 0.13) 52%, rgba(249, 115, 22, 0.13) 74%, rgba(239, 68, 68, 0.12)),
    radial-gradient(circle at 18% 9%, rgba(6, 182, 212, 0.26), transparent 22%),
    radial-gradient(circle at 78% 17%, rgba(249, 115, 22, 0.22), transparent 24%),
    radial-gradient(circle at 52% 42%, rgba(34, 197, 94, 0.16), transparent 26%),
    radial-gradient(circle at 88% 62%, rgba(239, 68, 68, 0.16), transparent 24%),
    linear-gradient(180deg, #f7fdff 0, #fffaf3 45%, #f7fbff 100%);
}

main > section:not(.hero) {
  position: relative;
  z-index: 1;
}

main > section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 10px -18px;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(6, 182, 212, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(249, 115, 22, 0.18) 0 1px, transparent 2px);
  background-position: 0 0, 34px 26px, 72px 58px;
  background-size: 120px 120px, 150px 150px, 180px 180px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

.about,
.services,
.industries,
.split,
.plans,
.process {
  padding-left: clamp(22px, 4vw, 48px);
  padding-right: clamp(22px, 4vw, 48px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08), rgba(34, 197, 94, 0.07), rgba(249, 115, 22, 0.08), rgba(239, 68, 68, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.about::before,
.services::before,
.industries::before,
.plans::before {
  content: "";
  display: block;
  width: 86px;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #22c55e, #f97316);
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, #06b6d4, #22c55e);
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #22c55e, #84cc16);
}

.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, #f97316, #facc15);
}

.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.service-card:nth-child(6)::before {
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
}

.service-card:nth-child(7)::before {
  background: linear-gradient(90deg, #dc2626, #fb7185);
}

.service-card:nth-child(8)::before {
  background: linear-gradient(90deg, #475569, #22c55e);
}

.service-card:hover,
.plan-grid article:hover,
.industry-grid article:hover {
  transform: translateY(-4px);
}

.service-card,
.plan-grid article,
.industry-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.plan-grid article:hover {
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.service-card a {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 8px;
  color: #064e3b;
  background: #d1fae5;
}

.cta-strip {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.94), rgba(34, 197, 94, 0.9) 48%, rgba(249, 115, 22, 0.95)),
    #0891b2;
  box-shadow: 0 26px 58px rgba(8, 145, 178, 0.28);
}

.cta-strip h2 {
  color: #05202b;
}

.quick-form input,
.quick-form select {
  border-color: rgba(255, 255, 255, 0.72);
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
}

.quick-form input::placeholder {
  color: #64748b;
}

.industry-grid article {
  color: #0f172a;
  background: linear-gradient(135deg, #cffafe, #ffffff 62%, #fed7aa);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.industry-grid article:nth-child(2) {
  background: linear-gradient(135deg, #dcfce7, #ffffff 58%, #bfdbfe);
}

.industry-grid article:nth-child(3) {
  background: linear-gradient(135deg, #fef3c7, #ffffff 58%, #bae6fd);
}

.industry-grid article:nth-child(4) {
  background: linear-gradient(135deg, #fee2e2, #ffffff 58%, #ddd6fe);
}

.industry-grid p {
  color: #475569;
}

.benefits > div {
  border-left: 0;
  border-top: 6px solid var(--teal);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.benefits > div:nth-child(2) {
  border-top-color: var(--orange);
}

.benefits > div:nth-child(3) {
  border-top-color: var(--green);
}

.plan-grid article {
  border: 0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.plan-grid .featured {
  background: linear-gradient(145deg, #fff7ed, #ffffff 50%, #cffafe);
  box-shadow: 0 26px 58px rgba(249, 115, 22, 0.18);
}

.timeline li {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.timeline li::before {
  color: #fff;
  width: fit-content;
  margin-bottom: 42px;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0891b2, #22c55e);
}

.timeline li:nth-child(2)::before {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.timeline li:nth-child(3)::before {
  background: linear-gradient(135deg, #f97316, #facc15);
}

.timeline li:nth-child(4)::before {
  background: linear-gradient(135deg, #22c55e, #84cc16);
}

.timeline li:nth-child(5)::before {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.timeline span {
  color: var(--muted);
}

.numbers div {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.numbers div:nth-child(1) {
  background: linear-gradient(135deg, #0891b2, #22c55e);
}

.numbers div:nth-child(2) {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.numbers div:nth-child(3) {
  background: linear-gradient(135deg, #f97316, #facc15);
}

.numbers div:nth-child(4) {
  background: linear-gradient(135deg, #ef4444, #7c3aed);
}

.contact-band {
  background:
    linear-gradient(135deg, rgba(207, 250, 254, 0.88), rgba(255, 255, 255, 0.94) 58%, rgba(254, 215, 170, 0.9)),
    #fff;
}

.contact-panel a,
.contact-panel span {
  border: 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.22), rgba(249, 115, 22, 0.16)),
    #06111f;
}

.floating-contact {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 4vw, 36px);
  z-index: 40;
  display: grid;
  gap: 14px;
  animation: contactSlideIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both 420ms;
}

.floating-contact.is-hidden {
  pointer-events: none;
  animation: contactSlideOut 260ms ease both;
}

.floating-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 20px;
}

.floating-action {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-action:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.3);
}

.floating-action svg {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
}

.whatsapp-action {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.call-action {
  background: linear-gradient(135deg, #7dd3fc, #0ea5e9);
}

.pulse-ring,
.floating-action::before,
.floating-action::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.pulse-ring {
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: contactPulse 1.9s ease-out infinite;
}

.floating-action::before {
  background: rgba(255, 255, 255, 0.18);
  animation: contactGlow 2.2s ease-in-out infinite;
}

.floating-action::after {
  border: 1px solid currentColor;
  opacity: 0.24;
  animation: contactPulse 1.9s ease-out infinite 620ms;
}

@keyframes contactSlideIn {
  from {
    opacity: 0;
    transform: translateX(120px) translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes contactSlideOut {
  to {
    opacity: 0;
    transform: translateX(110px);
  }
}

@keyframes contactPulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

@keyframes contactGlow {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.16;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.32;
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
  }

  .site-nav {
    top: 72px;
  }
}

@media (max-width: 640px) {
  .floating-contact {
    right: 16px;
    bottom: 18px;
    gap: 12px;
  }

  .floating-action {
    width: 56px;
    height: 56px;
  }

  .floating-action svg {
    width: 31px;
    height: 31px;
  }
}

/* Final asset marquee and hero placement overrides */
@media (max-width: 920px) {
  .asset-marquee {
    padding-top: 90px;
  }

  .asset-marquee figure {
    flex-basis: 260px;
    height: 122px;
  }

  .hero-content {
    width: min(500px, calc(100% - 36px));
    margin-left: auto;
    margin-right: 18px;
  }
}

@media (max-width: 640px) {
  .asset-marquee {
    padding-top: 86px;
  }

  .asset-marquee figure {
    flex-basis: 230px;
    height: 108px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-image {
    object-position: 42% center;
  }

  .hero-content {
    width: min(340px, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 220px;
  }

  h1 {
    font-size: 27px;
  }
}

/* Final brightness pass: reduce the heavy dark-blue cast on supplied images. */
.hero-image {
  filter: brightness(1.24) saturate(1.12) contrast(0.94) hue-rotate(5deg);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(1, 11, 20, 0.03) 0%, rgba(1, 11, 20, 0.02) 38%, rgba(1, 11, 20, 0.08) 100%),
    radial-gradient(circle at 75% 42%, rgba(249, 115, 22, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(1, 11, 20, 0.01), rgba(1, 11, 20, 0.1));
}

.asset-marquee img,
.service-media {
  filter: brightness(1.25) saturate(1.2) contrast(0.95) hue-rotate(5deg);
}

.service-card {
  min-height: 430px;
}

/* Glass header and no numeric badges on service cards. */
.site-header {
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 71, 126, 0.48), rgba(12, 30, 58, 0.36) 42%, rgba(13, 148, 136, 0.26)),
    rgba(10, 18, 34, 0.38);
  box-shadow:
    0 18px 42px rgba(3, 10, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(1.32);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 24%, rgba(103, 232, 249, 0.42), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(249, 115, 22, 0.28), transparent 18%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.34) 42%, transparent 54%);
  opacity: 0.86;
  transform: translateX(-115%);
  animation: headerSpark 5.8s ease-in-out infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(103, 232, 249, 0.55) 0 1px, transparent 1.8px);
  background-position: 20px 18px, 90px 42px;
  background-size: 120px 80px, 170px 100px;
  opacity: 0.18;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.language-current,
.language-option,
.theme-toggle {
  display: inline-flex;
  min-width: 42px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.language-current {
  padding: 0 8px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(9, 22, 39, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  padding: 0 7px;
}

.language-option span {
  font-size: 15px;
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.flag-ru {
  background: linear-gradient(180deg, #fff 0 33.33%, #1c57a7 33.33% 66.66%, #d52b1e 66.66%);
}

.flag-kg {
  background: #e11d2e;
}

.flag-kg::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #facc15;
}

.flag-kg::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #e11d2e;
  border-radius: 999px;
}

.flag-en {
  background:
    linear-gradient(33deg, transparent 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
    linear-gradient(147deg, transparent 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
    linear-gradient(90deg, transparent 38%, #fff 38% 45%, #c8102e 45% 55%, #fff 55% 62%, transparent 62%),
    linear-gradient(180deg, transparent 38%, #fff 38% 45%, #c8102e 45% 55%, #fff 55% 62%, transparent 62%),
    #012169;
}

.language-option.is-active,
.theme-toggle.is-dark {
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.72), rgba(30, 64, 175, 0.78));
  border-color: rgba(186, 230, 253, 0.72);
}

.theme-toggle {
  min-width: 40px;
  overflow: hidden;
}

.theme-moon {
  display: none;
}

.theme-toggle.is-dark .theme-sun {
  display: none;
}

.theme-toggle.is-dark .theme-moon {
  display: inline;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(40, 68, 118, 0.56), rgba(8, 22, 44, 0.42) 44%, rgba(8, 145, 178, 0.3)),
    rgba(8, 16, 31, 0.46);
}

.brand small,
.site-nav > a,
.nav-group > a {
  color: rgba(255, 255, 255, 0.9);
}

.brand strong {
  color: #fff;
}

.service-icon {
  display: none;
}

.timeline li::before {
  content: "";
  width: 64px;
  height: 7px;
  margin-bottom: 42px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #22c55e, #f97316);
}

.service-media {
  margin-bottom: 22px;
}

@keyframes headerSpark {
  0%,
  40% {
    transform: translateX(-115%);
  }

  70%,
  100% {
    transform: translateX(115%);
  }
}

.floating-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.34);
  border-radius: 999px;
  color: #111827;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.hero .eyebrow {
  display: none;
}

.button.primary {
  color: #fff;
  border: 1px solid rgba(191, 219, 254, 0.48);
  background: linear-gradient(180deg, rgba(78, 119, 190, 0.56), rgba(45, 78, 139, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 32px rgba(2, 6, 23, 0.18);
}

.button.primary:hover {
  border-color: rgba(219, 234, 254, 0.76);
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.62), rgba(59, 130, 246, 0.42));
}

.floating-action {
  border: 1px solid rgba(255, 255, 255, 0.56);
}

body.dark-mode {
  color: #e5eefb;
  background:
    radial-gradient(circle at 12% 18%, rgba(6, 182, 212, 0.2), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(249, 115, 22, 0.14), transparent 30%),
    linear-gradient(180deg, #07111d 0, #0d1726 55%, #06111f 100%);
}

body.dark-mode main {
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.12), rgba(34, 197, 94, 0.1), rgba(249, 115, 22, 0.1)),
    radial-gradient(circle at 18% 9%, rgba(6, 182, 212, 0.18), transparent 22%),
    radial-gradient(circle at 78% 17%, rgba(249, 115, 22, 0.13), transparent 24%),
    linear-gradient(180deg, #07111d 0, #0d1726 45%, #06111f 100%);
}

body.dark-mode .about,
body.dark-mode .services,
body.dark-mode .industries,
body.dark-mode .split,
body.dark-mode .plans,
body.dark-mode .process {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(8, 19, 34, 0.64)),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08), rgba(34, 197, 94, 0.07), rgba(249, 115, 22, 0.08));
  color: #e5eefb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-mode .service-card,
body.dark-mode .benefits > div,
body.dark-mode .plan-grid article,
body.dark-mode .timeline li,
body.dark-mode .contact-band {
  color: #e5eefb;
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .service-card p,
body.dark-mode .benefits p,
body.dark-mode .plan-grid p,
body.dark-mode .plan-grid li,
body.dark-mode .timeline span,
body.dark-mode .contact-band p,
body.dark-mode .about-copy,
body.dark-mode .site-footer p {
  color: rgba(226, 232, 240, 0.72);
}

body.dark-mode .contact-panel a,
body.dark-mode .contact-panel span {
  color: #e5eefb;
  background: rgba(2, 8, 23, 0.68);
}

/* Final close-button polish: centered black x, white circle, thin crisp outline. */
.floating-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0 0 2px;
  border: 1px solid rgba(17, 24, 39, 0.38);
  color: #111827;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

/* Desktop flag fix and modern unified service cards. */
.language-current .flag-icon,
.language-option .flag-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.language-current {
  min-width: 58px;
}

.language-option {
  min-width: 58px;
}

.services {
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(59, 130, 246, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(5, 18, 36, 0.96), rgba(7, 28, 55, 0.88) 55%, rgba(10, 37, 68, 0.92));
  color: #fff;
  border-color: rgba(125, 211, 252, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px rgba(8, 17, 35, 0.12);
}

.services .section-heading .eyebrow {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.22);
}

.services .section-heading h2 {
  color: #fff;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 408px;
  padding: 0 16px 18px;
  color: #fff;
  border: 1px solid rgba(96, 165, 250, 0.36);
  background:
    linear-gradient(180deg, rgba(15, 44, 82, 0.82), rgba(6, 20, 39, 0.94)),
    rgba(8, 24, 44, 0.96);
  box-shadow:
    0 20px 44px rgba(2, 8, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.9), rgba(37, 99, 235, 0.75), transparent);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(14, 165, 233, 0.28), transparent 26%);
  opacity: 0.44;
}

.service-media {
  position: relative;
  z-index: 1;
  width: calc(100% + 32px);
  height: 148px;
  margin: 0 -16px 16px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  filter: brightness(1.16) saturate(1.18) contrast(1.02);
}

.service-card h3,
.service-card p,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.14;
}

.service-card p {
  color: rgba(226, 242, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.service-card a {
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-card:hover {
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow:
    0 26px 56px rgba(2, 8, 23, 0.34),
    0 0 0 1px rgba(125, 211, 252, 0.18);
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile polish: compact header, clean menu, readable service list. */
@media (max-width: 920px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand controls toggle"
      "nav nav nav";
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    overflow: visible;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .brand strong {
    font-size: 18px;
    line-height: 1.08;
  }

  .brand small {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    white-space: nowrap;
  }

  .header-controls {
    grid-area: controls;
    justify-self: end;
    gap: 6px;
  }

  .language-switcher {
    border-radius: 8px;
  }

  .language-current,
  .language-option,
  .theme-toggle {
    width: 42px;
    min-width: 42px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    font-size: 12px;
  }

  .language-current b,
  .language-option b {
    display: none;
  }

  .flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
  }

  .language-menu {
    right: 0;
    top: calc(100% + 7px);
    width: 54px;
    gap: 6px;
    padding: 6px;
  }

  .language-menu .language-option b {
    display: block;
    font-size: 11px;
  }

  .language-menu .language-option {
    width: 42px;
    gap: 3px;
  }

  .language-menu .flag-icon {
    width: 18px;
    height: 18px;
  }

  .theme-toggle {
    font-size: 17px;
  }

  .nav-toggle {
    grid-area: toggle;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 9px;
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 22px;
    margin: 0;
  }

  .site-nav {
    grid-area: nav;
    position: static;
    display: none;
    width: 100%;
    margin-top: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    background: rgba(4, 14, 27, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 34px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav > a,
  .nav-group > a {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-group {
    display: grid;
    gap: 6px;
    padding: 0;
  }

  .nav-menu {
    position: static;
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    min-height: 40px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 800;
  }

  .asset-marquee {
    padding-top: 104px;
  }
}

@media (max-width: 640px) {
  .site-header {
    left: 8px;
    right: 8px;
    gap: 8px;
    padding: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand strong {
    max-width: 92px;
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .language-current,
  .language-option,
  .theme-toggle,
  .nav-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .asset-marquee {
    padding-top: 94px;
    padding-bottom: 12px;
  }

  .asset-marquee figure {
    flex-basis: 240px;
    height: 112px;
  }

  .asset-marquee figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    align-items: end;
    padding: 230px 0 38px;
  }

  .hero-image {
    object-position: 47% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 0;
  }

  h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.12;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
  }

  .button,
  .quick-form .button {
    min-height: 50px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 8px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-grid,
  .industry-grid,
  .quick-form,
  .plan-grid,
  .numbers,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .floating-contact {
    right: 12px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-action {
    width: 58px;
    height: 58px;
  }

  .floating-close {
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  .nav-menu {
    grid-template-columns: 1fr;
  }

  .nav-menu a {
    font-size: 13px;
  }
}

/* Final services layout: dark 5x2 card grid like the provided Emir Techno mockup. */
.services {
  width: 100%;
  margin: 0;
  padding: 76px clamp(28px, 5vw, 72px) 84px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.94), rgba(3, 14, 28, 0.97)),
    radial-gradient(circle at 22% 8%, rgba(37, 99, 235, 0.26), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(14, 165, 233, 0.18), transparent 30%),
    #020817;
  box-shadow: none;
}

.services::before {
  display: none;
}

.services .section-heading {
  max-width: 980px;
  margin: 0 auto 26px;
  text-align: center;
}

.services .section-heading .eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto 6px;
  padding: 0;
  color: #3b82f6;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services .section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1280px, 100%);
  margin: 20px auto 0;
}

.service-card {
  min-height: 228px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 30, 57, 0.92), rgba(2, 12, 27, 0.96)),
    #061326;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.28);
}

.service-card::before,
.service-card::after {
  display: none;
}

.service-media {
  width: 100%;
  height: 122px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  filter: brightness(1.05) saturate(1.08) contrast(1.02);
}

.service-card h3 {
  margin: 12px 14px 4px;
  color: #fff;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.14;
}

.service-card p {
  min-height: 56px;
  margin: 0 54px 18px 14px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.service-card a {
  position: absolute;
  right: 14px;
  bottom: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.72);
  border-radius: 999px;
  color: transparent;
  background: rgba(15, 23, 42, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card a::after {
  content: ">";
  color: #60a5fa;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.38);
}

@keyframes service-light-run {
  to {
    background-position: 240% 0;
  }
}

@keyframes service-light-run-vertical {
  to {
    background-position: 0 240%;
  }
}

.service-card {
  --service-light-color: #ff7a00;
  isolation: isolate;
}

.service-card::before {
  display: none;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card .service-light {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 7px var(--service-light-color));
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--service-light-color) 72%, transparent));
  opacity: 0.82;
  transition: background 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.service-card .service-light-top,
.service-card .service-light-bottom {
  left: 0;
  width: 100%;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      var(--service-light-color) 22%,
      color-mix(in srgb, var(--service-light-color) 72%, #fff) 50%,
      var(--service-light-color) 78%,
      transparent 100%
    ) 0 0 / 240% 100%;
  animation: service-light-run 4.8s linear infinite;
}

.service-card .service-light-top {
  top: 0;
  border-radius: 8px 8px 0 0;
}

.service-card .service-light-bottom {
  bottom: 0;
  border-radius: 0 0 8px 8px;
  animation-direction: reverse;
}

.service-card .service-light-right,
.service-card .service-light-left {
  top: 0;
  width: 2px;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      var(--service-light-color) 22%,
      color-mix(in srgb, var(--service-light-color) 72%, #fff) 50%,
      var(--service-light-color) 78%,
      transparent 100%
    ) 0 0 / 100% 240%;
  animation: service-light-run-vertical 4.8s linear infinite;
}

.service-card .service-light-right {
  right: 0;
  border-radius: 0 8px 8px 0;
}

.service-card .service-light-left {
  left: 0;
  border-radius: 8px 0 0 8px;
  animation-direction: reverse;
}

.service-card:hover .service-light {
  background: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.82));
  opacity: 1;
  animation-play-state: paused;
}

.service-card:nth-child(1) { --service-light-color: #ff7a00; }
.service-card:nth-child(2) { --service-light-color: #ff1744; }
.service-card:nth-child(3) { --service-light-color: #ffd400; }
.service-card:nth-child(4) { --service-light-color: #00e676; }
.service-card:nth-child(5) { --service-light-color: #00d9ff; }
.service-card:nth-child(6) { --service-light-color: #2979ff; }
.service-card:nth-child(7) { --service-light-color: #651fff; }
.service-card:nth-child(8) { --service-light-color: #d500f9; }
.service-card:nth-child(9) { --service-light-color: #ff1493; }
.service-card:nth-child(10) { --service-light-color: #00ffc8; }

.service-card:nth-child(2n)::before { animation-delay: -0.7s; }
.service-card:nth-child(3n)::before { animation-delay: -1.4s; }
.service-card:nth-child(4n)::before { animation-delay: -2.1s; }

.site-header,
.site-nav,
.nav-menu,
.button,
.language-switcher,
.floating-contact {
  user-select: none;
}

.nav-menu {
  overflow: visible;
}

.nav-menu .nav-service-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  outline: none;
}

.nav-menu .nav-title {
  min-width: 0;
}

.nav-menu .nav-arrow {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(180deg, #16a34a, #047857);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 7px 18px rgba(5, 150, 105, 0.28);
  font-size: 0;
  line-height: 1;
  text-indent: -999px;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-menu .nav-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-58%, -50%) rotate(45deg);
}

.nav-menu .nav-hint {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 20;
  display: grid;
  width: 310px;
  gap: 8px;
  padding: 15px 17px;
  border: 1px solid rgba(134, 239, 172, 0.42);
  border-radius: 8px;
  color: #f7fff9;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.98), rgba(4, 120, 87, 0.98));
  box-shadow:
    0 18px 42px rgba(2, 44, 34, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu .nav-hint::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(4, 120, 87, 0.98);
  transform: translateY(-50%);
}

.nav-menu .nav-hint strong {
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.nav-menu .nav-hint span {
  color: rgba(247, 255, 249, 0.94);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.nav-menu .nav-service-link:hover .nav-arrow,
.nav-menu .nav-service-link:focus-visible .nav-arrow {
  color: #fff;
  background: linear-gradient(180deg, #16a34a, #047857);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 9px 22px rgba(5, 150, 105, 0.28);
  transform: translateX(4px);
}

.nav-menu .nav-service-link:hover .nav-hint,
.nav-menu .nav-service-link:focus-visible .nav-hint {
  opacity: 1;
  transform: translate(0, -50%);
}

.service-card {
  position: relative;
  overflow: visible;
  scroll-margin-top: 128px;
}

.service-card:target {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 26px 54px rgba(0, 0, 0, 0.42);
}

.service-card .service-offer-link {
  z-index: 5;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  width: auto;
  height: auto;
  min-height: 38px;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  overflow: visible;
  border-color: rgba(191, 219, 254, 0.42);
  border-radius: 8px;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(78, 119, 190, 0.46), rgba(45, 78, 139, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 20px rgba(2, 6, 23, 0.14);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.service-card .service-offer-link span {
  min-width: 0;
}

.service-card .service-offer-link::after {
  content: "";
  position: relative;
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.98), rgba(37, 99, 235, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 18px rgba(37, 99, 235, 0.28);
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card .service-offer-link::before {
  pointer-events: none;
}

.service-card .service-offer-link::after {
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.98), rgba(37, 99, 235, 0.92));
}

.service-card .service-offer-link span::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease;
}

.service-card .service-offer-link:hover {
  border-color: rgba(219, 234, 254, 0.74);
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.54), rgba(59, 130, 246, 0.38));
}

.service-card .service-offer-link:hover::after {
  transform: translateX(3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 10px 22px rgba(37, 99, 235, 0.36);
}

.service-card .service-offer-link:hover span::after {
  transform: translate(3px, -50%) rotate(45deg);
}

.service-card .service-offer-link:hover::before,
.service-card .service-offer-link:focus-visible::before {
  content: "Уважаемый клиент, вы можете сами посчитать услугу и материалы и автоматически получить коммерческое предложение.";
  position: absolute;
  z-index: 60;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(300px, calc(100vw - 42px));
  padding: 13px 15px;
  border: 1px solid rgba(134, 239, 172, 0.42);
  border-radius: 8px;
  color: #f7fff9;
  background: #078a4f;
  box-shadow:
    0 20px 42px rgba(2, 44, 34, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: none;
}

.service-card p {
  margin-bottom: 68px;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav-menu .nav-hint {
    display: none;
  }
}

@media (max-width: 760px) {
  .services {
    padding: 54px 16px 60px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 236px;
  }

  .service-media {
    height: 132px;
  }

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

  .service-card .service-light {
    filter: none;
    opacity: 0.76;
  }

  .service-card .service-light-top,
  .service-card .service-light-bottom,
  .service-card .service-light-right,
  .service-card .service-light-left {
    animation: none;
    background: var(--service-light-color);
  }

  .pulse-ring,
  .floating-action::before,
  .site-header::before {
    animation: none !important;
  }

  .asset-marquee img,
  .service-media,
  .hero-image {
    filter: none !important;
  }

  .site-header,
  .language-menu,
  .cta-strip,
  .service-card {
    backdrop-filter: none !important;
  }

  .floating-action {
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.22);
  }
}

@media (max-width: 920px) {
  .service-card:hover {
    transform: none;
  }

  .service-card .service-light {
    filter: none;
    opacity: 0.76;
  }

  .service-card .service-light-top,
  .service-card .service-light-bottom,
  .service-card .service-light-right,
  .service-card .service-light-left {
    animation: none;
    background: var(--service-light-color);
  }

  .pulse-ring,
  .floating-action::before,
  .site-header::before {
    animation: none !important;
  }

  .asset-marquee img,
  .service-media,
  .hero-image {
    filter: none !important;
  }

  .site-header,
  .language-menu,
  .cta-strip,
  .service-card {
    backdrop-filter: none !important;
  }

  .floating-action {
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.22);
  }
}

/* Final consultation band polish: match the dark service-card system. */
.cta-strip {
  width: 100%;
  margin: 0;
  padding: 62px clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
  align-items: end;
  gap: 42px;
  border-radius: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.95), rgba(3, 14, 28, 0.98)),
    radial-gradient(circle at 20% 12%, rgba(37, 99, 235, 0.28), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.2), transparent 32%),
    #020817;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-strip > div,
.quick-form {
  width: min(100%, 620px);
}

.cta-strip .eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 0;
  color: #3b82f6;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cta-strip h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
}

.quick-form {
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 8px;
  background: rgba(8, 24, 44, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.quick-form label {
  color: rgba(226, 232, 240, 0.96);
  font-size: 13px;
  font-weight: 800;
}

.quick-form input,
.quick-form select {
  min-height: 52px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  color: #e5eefb;
  background: rgba(2, 8, 23, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.quick-form select option {
  color: #0f172a;
}

.quick-form input::placeholder {
  color: rgba(203, 213, 225, 0.58);
}

.quick-form .button {
  min-height: 52px;
  white-space: nowrap;
  color: #1f1306;
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  box-shadow: 0 16px 30px rgba(251, 146, 60, 0.22);
}

.quick-form .button:hover {
  background: linear-gradient(135deg, #ffedd5, #fdba74 46%, #f97316);
}

@media (max-width: 980px) {
  .cta-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quick-form {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cta-strip {
    padding: 46px 16px;
  }

  .quick-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}

/* Use the Emir Techno hero artwork as the shared background after the hero. */
body,
main {
  background:
    linear-gradient(180deg, rgba(1, 8, 18, 0.78), rgba(2, 12, 27, 0.88)),
    url("./assets/hero-main.png") center center / cover fixed;
}

main > section:not(.hero):not(.asset-marquee) {
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.9), rgba(3, 14, 28, 0.94)),
    url("./assets/hero-main.png") center center / cover;
}

main > section:not(.hero)::after {
  display: none;
}

.process {
  width: 100%;
  margin: 0;
  padding: 72px clamp(28px, 5vw, 72px) 76px;
  border: 0;
  border-radius: 0;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process .section-heading {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.process .section-heading .eyebrow {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.18);
}

.process h2 {
  color: #fff;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.timeline {
  width: min(1160px, 100%);
  margin: 34px auto 0;
}

.timeline li {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.timeline span {
  color: #64748b;
}

.timeline li {
  border: 1px solid rgba(96, 165, 250, 0.34);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 44, 82, 0.88), rgba(6, 20, 39, 0.96)),
    rgba(8, 24, 44, 0.96);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline li strong {
  color: #fff;
}

.timeline li span {
  color: rgba(226, 242, 255, 0.78);
}

.timeline li:hover {
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(125, 211, 252, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.numbers {
  width: 100%;
  margin: 0;
  padding: 0 clamp(28px, 5vw, 72px) 76px;
  background:
    linear-gradient(180deg, rgba(3, 14, 28, 0.94), rgba(2, 8, 20, 0.88)),
    url("./assets/hero-main.png") center bottom / cover;
}

.numbers div {
  width: min(1160px, 100%);
}

.numbers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 920px) {
  body,
  main,
  main > section:not(.hero):not(.asset-marquee),
  .numbers {
    background-attachment: scroll;
  }

  .timeline,
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .process {
    padding: 54px 16px 58px;
  }

  .numbers {
    grid-template-columns: 1fr;
    padding: 0 16px 58px;
  }
}

/* Keep the shared hero artwork natural instead of overly dark. */
body,
main {
  background:
    linear-gradient(180deg, rgba(1, 8, 18, 0.1), rgba(2, 12, 27, 0.16)),
    url("./assets/background-main.png") center center / cover fixed;
}

main > section:not(.hero):not(.asset-marquee) {
  background:
    linear-gradient(180deg, rgba(1, 8, 18, 0.18), rgba(2, 12, 27, 0.26)),
    url("./assets/background-main.png") center center / cover;
}

.process {
  background:
    linear-gradient(180deg, rgba(1, 8, 18, 0.12), rgba(2, 12, 27, 0.2)),
    url("./assets/background-main.png") center center / cover;
}

.numbers {
  background:
    linear-gradient(180deg, rgba(2, 12, 27, 0.18), rgba(1, 8, 18, 0.12)),
    url("./assets/background-main.png") center bottom / cover;
}

[data-theme-toggle],
.theme-toggle {
  display: none;
}

/* Final marquee: new uploaded images only, larger, with no text overlays. */
.asset-marquee {
  padding-top: 112px;
  padding-bottom: 26px;
}

.asset-marquee figure {
  flex: 0 0 520px;
  height: 236px;
  border-color: rgba(96, 165, 250, 0.42);
  background: #06111f;
}

.asset-marquee img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.08) contrast(1.01);
}

.asset-marquee figcaption {
  display: none;
}

.marquee-track {
  gap: 22px;
  animation-duration: 58s;
}

.asset-marquee.is-dragging {
  cursor: grabbing;
}

.asset-marquee.is-dragging .marquee-track {
  transition: none;
}

.hero::after {
  height: 18px;
  background: linear-gradient(
    90deg,
    #06b6d4 0%,
    #22c55e 16%,
    #facc15 32%,
    #fb923c 48%,
    #ef4444 64%,
    #8b5cf6 80%,
    #06b6d4 100%
  );
  background-size: 260% 100%;
  box-shadow:
    0 -8px 26px rgba(34, 197, 94, 0.18),
    0 8px 28px rgba(239, 68, 68, 0.2);
  animation: colorDividerFlow 14s ease-in-out infinite;
}

@keyframes colorDividerFlow {
  0% {
    background-position: 0% 50%;
    filter: saturate(1.08) brightness(1);
  }

  50% {
    background-position: 100% 50%;
    filter: saturate(1.24) brightness(1.08);
  }

  100% {
    background-position: 0% 50%;
    filter: saturate(1.08) brightness(1);
  }
}

.floating-close {
  top: -26px;
  right: -4px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.5);
  color: transparent;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
  font-size: 0;
  font-weight: 400;
  line-height: 1;
}

.floating-close::before,
.floating-close::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1.4px;
  border-radius: 999px;
  background: #0f172a;
  transform-origin: center;
}

.floating-close::before {
  transform: translateY(-50%) rotate(45deg);
}

.floating-close::after {
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 920px) {
  .asset-marquee {
    padding-top: 104px;
    padding-bottom: 18px;
  }

  .asset-marquee figure {
    flex-basis: 380px;
    height: 172px;
  }
}

@media (max-width: 640px) {
  .asset-marquee {
    padding-top: 94px;
  }

  .asset-marquee figure {
    flex-basis: 320px;
    height: 146px;
  }
}

.service-home-link {
  min-width: auto;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 920px) {
  .service-home-link {
    width: auto;
    min-width: 96px;
    max-width: 112px;
    height: 44px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
  }
}

.service-page-hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 150px clamp(28px, 6vw, 92px) 72px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.42), rgba(2, 8, 20, 0.86)),
    radial-gradient(circle at 22% 24%, rgba(37, 99, 235, 0.32), transparent 32%),
    radial-gradient(circle at 86% 24%, rgba(14, 165, 233, 0.22), transparent 34%),
    url("/public/assets/background-main.png") center / cover no-repeat,
    #020817;
}

.service-page-copy {
  max-width: 720px;
}

.service-page-copy .eyebrow {
  color: #60a5fa;
  background: transparent;
  padding: 0;
}

.service-page-copy h1 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-page-copy p {
  max-width: 680px;
  color: rgba(239, 246, 255, 0.88);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.service-page-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.38);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 68px rgba(2, 6, 23, 0.42);
}

.service-page-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.service-page-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 72px clamp(24px, 6vw, 92px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.96), rgba(3, 14, 28, 0.98)),
    #020817;
}

.service-page-panel,
.service-page-result,
.service-mini-grid a {
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(78, 119, 190, 0.2), rgba(15, 23, 42, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(2, 6, 23, 0.24);
}

.service-page-panel {
  padding: 28px;
}

.service-page-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.service-page-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-page-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.55;
}

.service-page-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.72);
}

.service-page-result {
  grid-column: 1 / -1;
  padding: 30px;
}

.service-page-result span {
  display: block;
  margin-bottom: 8px;
  color: #60a5fa;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-page-result p {
  max-width: 960px;
  margin: 0;
  color: rgba(248, 250, 252, 0.94);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;
  font-weight: 800;
}

.service-page-more {
  display: block;
  padding-top: 28px;
}

.service-page-more .section-heading {
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-mini-grid a {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
}

.service-mini-grid strong {
  font-size: 19px;
}

.service-mini-grid span {
  color: rgba(226, 232, 240, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.service-mini-grid a:hover {
  border-color: rgba(219, 234, 254, 0.62);
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.26), rgba(37, 99, 235, 0.16));
}

@media (max-width: 920px) {
  .service-page-hero,
  .service-page-section {
    grid-template-columns: 1fr;
  }

  .service-page-hero {
    min-height: auto;
    padding: 126px 18px 50px;
  }

  .service-page-media img {
    min-height: 260px;
  }

  .service-page-section {
    padding: 44px 18px;
  }

  .service-page-result {
    grid-column: auto;
  }

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

.service-calculator {
  padding: 72px clamp(24px, 6vw, 92px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.92), rgba(3, 14, 28, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.2), transparent 34%),
    transparent;
}

.calculator-heading {
  max-width: 960px;
  margin: 0 auto 26px;
  text-align: center;
}

.calculator-heading .eyebrow {
  color: #fff;
  background: transparent;
}

.calculator-heading h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.calculator-controls {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.36fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto 34px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 247, 238, 0.94), rgba(238, 232, 218, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 24px 54px rgba(2, 6, 23, 0.26);
}

.calculator-fields {
  display: grid;
  gap: 12px;
}

.calculator-fields label {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.calculator-fields input,
.calculator-fields select {
  min-height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 4px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
}

.calculator-total {
  align-self: center;
  color: #172033;
}

.calculator-total span,
.calculator-total small {
  color: #334155;
  font-size: 13px;
}

.calculator-total strong {
  display: inline-block;
  margin: 0 6px;
  color: #2563eb;
  font-size: 34px;
  font-weight: 500;
}

.calculator-total p {
  margin: 24px 0 0;
  color: #0f5f8f;
  font-size: 14px;
  line-height: 1.5;
}

.calculator-estimate {
  max-width: 1040px;
  margin: 0 auto;
  color: #fff;
}

.calculator-estimate h2 {
  margin: 0 0 18px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.calculator-table-wrap {
  overflow-x: auto;
}

.calculator-table {
  width: 100%;
  border-collapse: collapse;
  color: #101827;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(245, 240, 228, 0.98));
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.2);
}

.calculator-table th,
.calculator-table td {
  padding: 12px 10px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.24);
  text-align: left;
  font-size: 13px;
}

.calculator-table th:nth-child(n+3),
.calculator-table td:nth-child(n+3) {
  text-align: right;
}

.calculator-table tfoot td {
  border-bottom: 0;
  font-weight: 900;
}

.calc-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-item img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
}

.calculator-estimate > p {
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.calculator-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

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

.calculator-admin-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.calculator-admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 100px 80px 80px 120px minmax(170px, 0.8fr);
  gap: 8px;
  align-items: center;
}

.calculator-admin-row.head {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.calculator-admin-row input,
.calculator-admin-row select {
  width: 100%;
}

@media print {
  .site-header,
  .service-page-hero,
  .service-page-section,
  .site-footer,
  .floating-contact,
  .calculator-controls,
  .calculator-actions {
    display: none !important;
  }

  .service-calculator {
    padding: 0;
    background: #fff;
  }
}

.service-card-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.service-more-link {
  color: rgba(226, 232, 240, 0.9);
  font-weight: 800;
  text-decoration: none;
}

.kp-wizard {
  padding: 72px clamp(20px, 5vw, 84px);
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 8, 20, 0.94), rgba(4, 20, 34, 0.96));
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.kp-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.kp-step {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 10px;
  background: rgba(8, 25, 44, 0.72);
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.24);
}

.kp-step > span {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kp-step h3 {
  margin: 8px 0 16px;
  font-size: 22px;
}

.kp-service-picker,
.kp-fields {
  display: grid;
  gap: 10px;
}

.kp-service-picker label,
.kp-fields label,
.kp-step label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.kp-service-picker label {
  grid-template-columns: auto 1fr;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.56);
}

.kp-service-picker small {
  display: block;
  grid-column: 2;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 500;
}

.kp-fields input,
.kp-step textarea {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 7px;
  color: #0f172a;
  background: #fff;
}

.kp-result {
  grid-column: span 2;
}

.kp-offer-card {
  color: #102033;
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #fffdf7, #eef8ff);
}

.kp-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.kp-offer-card h4 {
  margin: 22px 0 10px;
  color: #075985;
}

.kp-offer-table {
  overflow: hidden;
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.kp-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 170px;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.kp-offer-row:last-child {
  border-bottom: 0;
}

.kp-offer-row span {
  min-width: 0;
}

.kp-offer-row b,
.kp-offer-row strong {
  text-align: right;
  white-space: nowrap;
}

.kp-offer-row-head {
  color: #075985;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.92), rgba(204, 251, 241, 0.86));
}

.kp-offer-section-total,
.kp-offer-subtotal,
.kp-offer-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  text-align: right;
}

.kp-offer-section-total span,
.kp-offer-subtotal span,
.kp-offer-total span {
  text-align: left;
}

.kp-offer-section-total {
  color: #075985;
  font-weight: 900;
}

.kp-offer-total {
  margin-top: 10px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #16a34a);
}

.kp-offer-total strong {
  color: #fff;
  font-size: 24px;
}

.kp-preview-body {
  margin: 0;
  background: #dbeafe;
}

.kp-preview-page {
  padding: 30px;
}

.kp-preview-sheet {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  color: #172033;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.kp-preview-header {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 3px solid #0ea5e9;
  padding-bottom: 18px;
}

.kp-preview-header img {
  width: 72px;
  border-radius: 12px;
}

.kp-preview-header h1,
.kp-preview-title h2 {
  margin: 0;
}

.kp-preview-header aside {
  display: grid;
  gap: 6px;
  text-align: right;
}

.kp-preview-title {
  padding: 26px 0;
}

.kp-preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.kp-preview-table th,
.kp-preview-table td {
  padding: 10px;
  border: 1px solid #cbd5e1;
}

.kp-preview-table th {
  background: #e0f2fe;
}

.kp-preview-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid #0ea5e9;
}

.kp-preview-total strong {
  color: #059669;
  font-size: 26px;
}

.kp-preview-sign {
  margin-top: 24px;
  font-weight: 900;
}

@media (max-width: 820px) {
  .kp-steps,
  .kp-result {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .kp-preview-header {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .kp-preview-header aside {
    text-align: left;
  }
}

/* Stage 23: brighter, more readable public estimate builder. */
.kp-wizard {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
  padding: 82px clamp(18px, 5vw, 84px) 92px;
  color: #f8fbff;
  font-weight: 400;
  background:
    radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.28), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(34, 197, 94, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(1, 18, 38, 0.98), rgba(4, 33, 58, 0.96) 48%, rgba(6, 20, 45, 0.98));
}

.kp-wizard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  opacity: 0.72;
}

.kp-wizard > * {
  position: relative;
  z-index: 1;
}

.kp-wizard .section-heading {
  max-width: 1180px;
  margin-inline: auto;
  text-align: left;
}

.kp-wizard .section-heading .eyebrow {
  display: inline-flex;
  color: #083344;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #a7f3d0, #67e8f9);
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.22);
}

.kp-wizard .section-heading h2 {
  max-width: 860px;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(14, 165, 233, 0.28);
}

.kp-steps {
  gap: 22px;
}

.kp-step {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 42, 73, 0.92), rgba(5, 19, 38, 0.9)),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 54px rgba(1, 8, 21, 0.42);
}

.kp-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #06b6d4, #3b82f6, #f59e0b);
}

.kp-step > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  color: #06202f;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #a7f3d0;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.22);
}

.kp-step h3 {
  margin: 10px 0 16px;
  color: #ffffff;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.18;
}

.kp-service-picker {
  gap: 12px;
}

.kp-mode-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.kp-mode-picker label {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 14px;
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.72);
  cursor: pointer;
}

.kp-mode-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kp-mode-picker label:has(input:checked) {
  color: #052e16;
  background: linear-gradient(135deg, #bef264, #22c55e);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.24);
}

.kp-service-picker label {
  position: relative;
  --kp-option-color: #38bdf8;
  grid-template-columns: 24px 1fr;
  align-items: start;
  padding: 13px 15px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--kp-option-color) 18%, rgba(15, 50, 84, 0.9)), rgba(8, 28, 54, 0.92));
  box-shadow:
    inset 4px 0 0 var(--kp-option-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.kp-service-picker label:nth-child(1) { --kp-option-color: #ff8a00; }
.kp-service-picker label:nth-child(2) { --kp-option-color: #ff2d55; }
.kp-service-picker label:nth-child(3) { --kp-option-color: #facc15; }
.kp-service-picker label:nth-child(4) { --kp-option-color: #22c55e; }
.kp-service-picker label:nth-child(5) { --kp-option-color: #06b6d4; }
.kp-service-picker label:nth-child(6) { --kp-option-color: #3b82f6; }
.kp-service-picker label:nth-child(7) { --kp-option-color: #8b5cf6; }
.kp-service-picker label:nth-child(8) { --kp-option-color: #d946ef; }
.kp-service-picker label:nth-child(9) { --kp-option-color: #f43f5e; }
.kp-service-picker label:nth-child(10) { --kp-option-color: #14b8a6; }

.kp-service-picker label:hover,
.kp-service-picker label:has(input:checked) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--kp-option-color) 82%, #fff);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--kp-option-color) 54%, rgba(15, 50, 84, 0.92)), rgba(13, 148, 136, 0.82));
  box-shadow:
    inset 4px 0 0 #fff,
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 34px color-mix(in srgb, var(--kp-option-color) 34%, transparent);
}

.kp-service-picker input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 2px solid color-mix(in srgb, var(--kp-option-color) 72%, #fff);
  border-radius: 6px;
  accent-color: #22c55e;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(2, 8, 23, 0.18);
}

.kp-service-picker input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: scale(0);
  transition: transform 120ms ease;
  background: var(--kp-option-color);
}

.kp-service-picker input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.kp-service-picker b {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.kp-service-picker small {
  margin-top: 4px;
  color: rgba(235, 248, 255, 0.82);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.kp-fields {
  gap: 14px;
}

.kp-dynamic-fields {
  display: grid;
  gap: 16px;
}

.kp-service-fields {
  display: none;
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 16px;
  background: rgba(5, 23, 42, 0.58);
}

.kp-service-fields.is-active {
  display: grid;
}

.kp-service-fields h4 {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-size: 16px;
  font-weight: 600;
}

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

.kp-fields label,
.kp-step label {
  color: #eef8ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.kp-fields input,
.kp-fields select,
.kp-step textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 12px;
  color: #061827;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff, #eaf7ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(14, 165, 233, 0.14);
}

.kp-step textarea {
  min-height: 96px;
  padding-block: 12px;
}

.kp-check-field {
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 12px;
  background: rgba(15, 50, 84, 0.66);
}

.kp-check-field input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #22c55e;
}

.kp-fields input:focus,
.kp-fields select:focus,
.kp-step textarea:focus {
  outline: 3px solid rgba(34, 197, 94, 0.28);
  border-color: #22c55e;
}

.kp-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #dff8ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 14px;
  background: rgba(8, 47, 73, 0.68);
}

.kp-result {
  border-color: rgba(251, 191, 36, 0.48);
}

.kp-result::before {
  background: linear-gradient(90deg, #f59e0b, #22c55e, #06b6d4);
}

.kp-summary {
  min-height: 120px;
  padding: 18px;
  color: #082f49;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #e0f2fe);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.kp-summary p {
  margin: 0;
  color: #155e75;
  font-weight: 800;
}

.kp-summary .kp-offer-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 18px;
  color: #071827;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.13), transparent 34%),
    linear-gradient(180deg, #fffdf7 0%, #eff9ff 100%);
  box-shadow: 0 20px 44px rgba(8, 47, 73, 0.12);
}

.kp-summary .kp-offer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.kp-summary .kp-offer-head strong {
  font-size: 18px;
}

.kp-summary .kp-offer-head span,
.kp-offer-mode {
  color: #334155;
  font-weight: 700;
}

.kp-offer-section h4 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 8px 0 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: #064e3b;
  background: linear-gradient(135deg, #bbf7d0, #bae6fd);
}

.kp-offer-table {
  overflow: hidden;
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.kp-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 170px;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.kp-offer-row:last-child {
  border-bottom: 0;
}

.kp-offer-row:nth-child(even):not(.kp-offer-row-head) {
  background: rgba(241, 245, 249, 0.58);
}

.kp-offer-row span {
  min-width: 0;
  color: #0f172a;
  font-weight: 700;
}

.kp-offer-row b,
.kp-offer-row strong {
  color: #020617;
  text-align: right;
  white-space: nowrap;
}

.kp-offer-row-head {
  min-height: 42px;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  background: linear-gradient(135deg, rgba(186, 230, 253, 0.96), rgba(204, 251, 241, 0.9));
}

.kp-offer-row-head span,
.kp-offer-row-head b,
.kp-offer-row-head strong {
  color: #075985;
}

.kp-offer-section-total,
.kp-offer-subtotal,
.kp-offer-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  text-align: right;
}

.kp-offer-section-total span,
.kp-offer-subtotal span,
.kp-offer-total span {
  text-align: left;
}

.kp-offer-section-total {
  color: #075985;
  font-weight: 900;
}

.kp-offer-subtotal {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.kp-offer-total {
  margin-top: 4px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #16a34a);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.18);
}

.kp-offer-total strong {
  color: #fff;
  font-size: 24px;
}

.kp-result .calculator-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 18px;
}

.kp-result .button {
  min-height: 48px;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.22);
}

.kp-result .button.primary {
  color: #052e16;
  background: linear-gradient(135deg, #bef264, #22c55e);
}

.kp-result .button.secondary {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.5);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.78), rgba(6, 182, 212, 0.68));
}

@media (max-width: 820px) {
  .kp-wizard {
    padding: 58px 16px 68px;
  }

  .kp-step {
    padding: 18px;
    border-radius: 16px;
  }

  .kp-service-picker label {
    grid-template-columns: 22px 1fr;
  }

  .kp-mode-picker,
  .kp-service-fields .kp-fields {
    grid-template-columns: 1fr;
  }

  .kp-result .calculator-actions {
    display: grid;
  }

  .kp-summary {
    padding: 10px;
  }

  .kp-summary .kp-offer-card {
    padding: 14px;
  }

  .kp-summary .kp-offer-head,
  .kp-offer-row,
  .kp-offer-section-total,
  .kp-offer-subtotal,
  .kp-offer-total {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .kp-offer-row b,
  .kp-offer-row strong,
  .kp-offer-section-total,
  .kp-offer-subtotal,
  .kp-offer-total {
    text-align: left;
  }
}

