:root {
  --primary: #3D52A0;
  --deep: #2A3B7A;
  --blue: #7091E6;
  --orange: #3D52A0;
  --soft-blue: #EDE8F5;
  --soft-orange: #EDE8F5;
  --grey: #F5F3FA;
  --ink: #2A3B7A;
  --muted: #8697C4;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(42, 59, 122, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 30;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--white);
}

.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(61, 82, 160, 0.08);
}

.nav {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 260px;
  height: 88px;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.05);
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a:not(.btn) {
  white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  padding: 11px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(112, 145, 230, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px) scale(0.96);
  box-shadow: 0 18px 36px rgba(112, 145, 230, 0.34);
}

.btn--ghost {
  background: var(--white);
  color: var(--primary);
  border-color: rgba(61, 82, 160, 0.2);
  box-shadow: none;
}

.btn--navy {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(61, 82, 160, 0.24);
}

.btn--small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  padding-top: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(112, 145, 230, 0.22), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(173, 187, 218, 0.28), transparent 50%),
    linear-gradient(135deg, #EDE8F5 0%, #F5F3FA 55%, #ADBBDA 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
  text-wrap: balance;
}

p {
  margin-top: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 20px;
  color: var(--deep);
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
}

h3 {
  color: var(--primary);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__lead {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
  text-align: left;
}

.hero__actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 28px;
}

.trust-row span {
  flex: 1 1 160px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(61, 82, 160, 0.08);
  color: var(--muted);
}

.trust-row strong {
  display: block;
  color: var(--primary);
}

.hero__visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motion-badge {
  position: relative;
  z-index: 3;
  width: min(100%, 560px);
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 60px rgba(61, 82, 160, 0.28));
}

.motion-badge::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 145, 230, 0.45), rgba(112, 145, 230, 0) 65%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.motion-badge video {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  mix-blend-mode: multiply;
}


.device-stage {
  display: none;
}


.laptop {
  position: absolute;
  left: 5%;
  right: 4%;
  bottom: 60px;
  transform: rotateX(7deg) rotateY(-13deg);
  transform-style: preserve-3d;
  animation: floatDevice 7s ease-in-out infinite;
}

.laptop__screen {
  position: relative;
  height: 318px;
  padding: 24px;
  border: 16px solid var(--deep);
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(145deg, #3D52A0, #7091E6);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.laptop__base {
  width: 82%;
  height: 28px;
  margin: 0 auto;
  border-radius: 0 0 38px 38px;
  background: linear-gradient(90deg, #EDE8F5, #ffffff, #ADBBDA);
}

.dashboard-top {
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 22px;
}

.chart--line {
  height: 104px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.88) 47%, transparent 49%),
    linear-gradient(45deg, transparent 47%, rgba(112, 145, 230, 0.88) 48%, transparent 50%),
    rgba(255, 255, 255, 0.09);
  margin-bottom: 20px;
}

.chart--bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 82px;
  width: 54%;
}

.chart--bars span {
  flex: 1;
  min-width: 16px;
  border-radius: 5px 5px 0 0;
  background: var(--orange);
}

.chart--bars span:nth-child(1) { height: 38%; }
.chart--bars span:nth-child(2) { height: 72%; }
.chart--bars span:nth-child(3) { height: 52%; }
.chart--bars span:nth-child(4) { height: 86%; }
.chart--bars span:nth-child(5) { height: 61%; }

.metric-card {
  position: absolute;
  right: 24px;
  bottom: 82px;
  width: 150px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 28px;
}

.metric-card--orange {
  right: 86px;
  bottom: 22px;
  background: var(--orange);
  color: var(--white);
}

.metric-card--orange strong {
  color: var(--white);
}

.phone {
  position: absolute;
  right: 2%;
  bottom: 52px;
  width: 120px;
  height: 216px;
  padding: 14px;
  border: 9px solid var(--deep);
  border-radius: 28px;
  background: #F5F3FA;
  box-shadow: var(--shadow);
  animation: floatPhone 6s ease-in-out infinite;
}

.phone div,
.phone span {
  display: block;
  border-radius: 6px;
}

.phone div {
  height: 54px;
  background: var(--soft-blue);
  margin-bottom: 12px;
}

.phone span {
  height: 19px;
  background: #EDE8F5;
  margin-bottom: 9px;
}

.float-card,
.pixel {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.float-card {
  padding: 10px 13px;
  background: var(--white);
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card--seo { left: 6%; top: 28%; }
.float-card--ads { right: 12%; top: 24%; animation-delay: 0.6s; }
.float-card--bi { left: 22%; bottom: 20%; animation-delay: 1s; }
.float-card--it { right: 20%; bottom: 7%; animation-delay: 1.4s; }

.pixel {
  width: 18px;
  height: 18px;
  background: var(--orange);
  animation: pixelTrail 5s linear infinite;
}

.pixel--one { top: 72px; left: 18%; }
.pixel--two { top: 130px; right: 22%; background: var(--primary); animation-delay: 1s; }
.pixel--three { top: 206px; left: 4%; width: 12px; height: 12px; animation-delay: 2s; }

.keyword-strip {
  padding: 24px 0;
  background: var(--deep);
}

.chips {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.chips a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-head {
  max-width: 810px;
  margin-bottom: 34px;
}

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

.service-card,
.package,
.sample-card,
.contact-card,
.audit-form {
  border: 1px solid rgba(61, 82, 160, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(61, 82, 160, 0.08);
}

.service-card,
.package {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.package:hover {
  transform: translateY(-5px) scale(0.96);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--soft-orange);
  color: var(--orange);
  font-weight: 900;
}

.service-card p,
.package li,
.preview-copy p,
.portfolio-copy p,
.admin-copy p,
.contact p,
.audit-grid p {
  color: var(--muted);
}

.service-card a,
.package a {
  color: var(--orange);
  font-weight: 900;
}

.section--blue {
  background: linear-gradient(180deg, var(--soft-blue), #ffffff);
}

.preview-grid,
.audit-grid,
.contact-grid,
.admin-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: center;
}

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

.step {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(61, 82, 160, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.step.is-active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.preview-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-panel img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(61, 82, 160, 0.78), rgba(112, 145, 230, 0.48)),
    linear-gradient(45deg, #EDE8F5 25%, #F5F3FA 25%, #F5F3FA 50%, #EDE8F5 50%, #EDE8F5 75%, #F5F3FA 75%);
  background-size: auto, 34px 34px;
}

.preview-panel div {
  padding: 28px;
}

.preview-panel p {
  color: var(--orange);
  font-weight: 900;
}

.preview-panel ul,
.package ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.package--featured {
  background: var(--primary);
  color: var(--white);
}

.package--featured h3,
.package--featured p,
.package--featured a {
  color: var(--white);
}

.package--featured li {
  color: rgba(255, 255, 255, 0.82);
}

.portfolio {
  background: var(--grey);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.portfolio-copy {
  align-self: center;
  padding-right: 18px;
}

.sample-card {
  overflow: hidden;
}

.sample-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(61, 82, 160, 0.86), rgba(112, 145, 230, 0.32)),
    linear-gradient(90deg, #f0f7fd, #ffefe8);
}

.sample-card h3 {
  margin: 0;
  padding: 18px;
}

.section--dark {
  background: var(--deep);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

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

.process-step {
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  font-weight: 900;
}

.process-step p {
  color: rgba(255, 255, 255, 0.75);
}

.admin-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.admin-shell aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-shell aside img {
  height: 58px;
  width: 100%;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  margin-bottom: 16px;
}

.admin-shell aside span {
  padding: 10px 12px;
  border-radius: 6px;
}

.admin-shell aside .active {
  background: var(--orange);
  color: var(--white);
}

.admin-main {
  padding: 24px;
  background: var(--grey);
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.admin-cards div,
.lead-table {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
}

.admin-cards small {
  display: block;
  color: var(--muted);
}

.admin-cards strong {
  color: var(--primary);
  font-size: 32px;
}

.lead-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
}

.lead-table span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lead-table em {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft-orange);
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.section--orange {
  background:
    linear-gradient(90deg, rgba(61, 82, 160, 0.92), rgba(42, 59, 122, 0.84)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=85") center/cover;
  color: var(--white);
}

.section--orange h2 {
  color: var(--white);
}

.section--orange p {
  color: rgba(255, 255, 255, 0.78);
}

.audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

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

.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  border: 1px solid rgba(61, 82, 160, 0.16);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus,
.step:focus,
.nav a:focus,
.btn:focus {
  outline: 3px solid rgba(112, 145, 230, 0.35);
  outline-offset: 2px;
}

.full {
  grid-column: 1 / -1;
}

.check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  color: var(--muted) !important;
}

.check input {
  width: 18px;
  height: 18px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--primary);
}

.contact-card a,
.contact-card span {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 900;
}

.footer {
  padding: 38px 0 88px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer img {
  width: 200px;
  height: 76px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
}

.footer a {
  display: inline-block;
  margin-left: 14px;
  color: var(--white);
  font-weight: 800;
}

.mobile-cta {
  display: none;
}

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

@keyframes floatDevice {
  0%, 100% { transform: rotateX(7deg) rotateY(-13deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-13deg) translateY(-14px); }
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pixelTrail {
  0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translate(210px, 125px) scale(1.2); opacity: 0; }
}

@media (max-width: 1060px) {
  .hero__grid,
  .preview-grid,
  .audit-grid,
  .contact-grid,
  .admin-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 500px;
  }

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

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

  .portfolio-copy {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .nav {
    height: 72px;
  }

  .brand img {
    width: 148px;
    height: 50px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px;
  }

  .nav-links .btn {
    margin-top: 8px;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 46px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__visual {
    min-height: 390px;
  }

  .motion-badge {
    width: 142px;
    right: 0;
  }

  .motion-badge video {
    height: 84px;
  }

  .device-stage {
    inset-top: 54px;
  }

  .laptop {
    left: 0;
    right: 0;
    bottom: 54px;
  }

  .laptop__screen {
    height: 245px;
    padding: 16px;
  }

  .phone,
  .float-card--it,
  .float-card--bi {
    display: none;
  }

  .metric-card {
    width: 122px;
    right: 16px;
    bottom: 62px;
    padding: 11px;
    font-size: 13px;
  }

  .metric-card--orange {
    right: 54px;
    bottom: 14px;
  }

  .service-grid,
  .package-grid,
  .portfolio-grid,
  .process-timeline,
  .footer-grid,
  .admin-cards {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell aside {
    display: none;
  }

  .audit-form {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 96px;
  }

  .footer a {
    margin: 0 14px 8px 0;
  }

  .mobile-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .mobile-cta a {
    padding: 13px 10px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-cta a:nth-child(2) {
    background: var(--orange);
  }
}

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

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .lead-table {
    grid-template-columns: 1fr;
  }

  .lead-table span {
    display: none;
  }
}

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

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

/* ============ SERVICES IN ACTION - AUTO SLIDER ============ */
.showcase {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-blue) 100%);
  overflow: hidden;
}

.showcase__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.showcase__head .eyebrow {
  justify-content: center;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.slider__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide-scroll 40s linear infinite;
}

.slider:hover .slider__track {
  animation-play-state: paused;
}

.slide-card {
  position: relative;
  flex: 0 0 340px;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(61, 82, 160, 0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slide-card:hover {
  transform: translateY(-8px) scale(0.96);
  box-shadow: 0 26px 60px rgba(61, 82, 160, 0.22);
}

.slide-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide-card:hover img {
  transform: scale(1.08);
}

.slide-card__body {
  padding: 20px 22px;
}

.slide-card__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft-orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slide-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--deep);
}

.slide-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

@keyframes slide-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ ZOOM-OUT HOVER EFFECT ON ALL OPTIONS & TABS ============ */
.nav-links a:not(.btn),
.chips a,
.step,
.sample-card,
.contact-card a,
.footer a,
.admin-shell aside span,
.mobile-cta a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-links a:not(.btn):hover,
.chips a:hover,
.step:hover,
.sample-card:hover,
.contact-card a:hover,
.footer a:hover,
.admin-shell aside span:hover,
.mobile-cta a:hover {
  transform: scale(0.96);
}

/* Pulse ring behind hero CTAs */
.hero__actions .btn:first-child {
  position: relative;
}
.hero__actions .btn:first-child::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: btn-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes btn-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 820px) {
  .slide-card { flex: 0 0 260px; height: 340px; }
  .slide-card img { height: 170px; }
}
