*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f9ff;
  --cyan: #0ea5e9;
  --blue: #1d4ed8;
  --text: #0f172a;
  --muted: rgba(15,23,42,0.62);
  --border: rgba(29,78,216,0.13);
  --surf: rgba(255,255,255,0.78);
  --card-r: 20px;
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #f6f9ff;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
a, button { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(18px,4vw,64px) 96px;
  background:
    radial-gradient(circle at 82% 18%, rgba(14,165,233,0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 56%, #eef6ff 100%);
}
.page-shell::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.075) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 0;
}
.page-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78), rgba(255,255,255,0.18)),
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(14,165,233,0.12) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}

.page-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.top-nav {
  position: relative;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 0 clamp(54px,7vw,92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(29,78,216,0.12);
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 48px rgba(30,64,175,0.12);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.2px;
}
.brand-mark {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(29,78,216,0.24);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px,5vw,46px);
}
.section-title {
  max-width: 760px;
  margin-top: 0;
  font-size: clamp(36px,6vw,68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.section-title span {
  background: linear-gradient(90deg, #0ea5e9, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s, background .3s, box-shadow .3s;
}
.btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  box-shadow: 0 16px 34px rgba(29,78,216,0.24);
  font-weight: 900;
}
.btn-primary.top-start {
  min-height: 54px;
  padding: 16px 30px;
  border-radius: 17px;
  font-size: 18px;
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surf);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(30,64,175,0.08);
  font-weight: 900;
}
.btn-primary:hover,
.btn-ghost:hover { transform: translateY(-3px); }
.btn-ghost:hover {
  border-color: rgba(29,78,216,0.24);
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(30,64,175,0.12);
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.portfolio-crumb {
  color: rgba(15,23,42,0.56);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.back-btn {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(29,78,216,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  color: var(--text);
  padding: 11px 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.back-btn.is-visible { display: inline-flex; }

.portfolio-grid,
.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portfolio-card,
.design-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  background: var(--surf);
  box-shadow: 0 18px 45px rgba(30,64,175,0.1);
  cursor: pointer;
  text-align: left;
  color: inherit;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s;
}
.portfolio-card:hover,
.design-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29,78,216,0.24);
  box-shadow: 0 24px 60px rgba(30,64,175,0.16);
}
.portfolio-card::before,
.design-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.42), transparent 48%);
  pointer-events: none;
  z-index: 2;
}
.category-visual,
.design-preview,
.detail-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.55), transparent 26%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.2) 0 10px, rgba(255,255,255,0.06) 10px 20px),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.category-visual {
  height: 210px;
  border-bottom: 1px solid var(--border);
}
.category-visual.has-image {
  height: auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.58), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(226,242,255,0.96), rgba(246,250,255,0.96));
  background-size: 190% 100%, 100% 100%;
}
.category-visual.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(15,23,42,0.08));
  pointer-events: none;
}
.category-banner {
  display: block;
  width: 100%;
  height: auto;
  background: #f7fbff;
}
.visual-browser {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  height: 142px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(29,78,216,0.13);
  box-shadow: 0 18px 35px rgba(30,64,175,0.14);
  backdrop-filter: blur(12px);
}
.visual-browser::before {
  content: '';
  position: absolute;
  top: 14px; left: 16px;
  width: 42px; height: 8px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0ea5e9, #1d4ed8);
  box-shadow: 64px 0 0 rgba(29,78,216,0.12), 106px 0 0 rgba(29,78,216,0.08);
}
.visual-browser::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  height: 76px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(29,78,216,0.16) 0 32%, transparent 32%),
    linear-gradient(135deg, rgba(14,165,233,0.14), rgba(29,78,216,0.1));
  opacity: .7;
}
.portfolio-card-body,
.design-card-body { position: relative; z-index: 3; padding: 18px; }
.portfolio-card h3,
.design-card h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.2px;
  margin-bottom: 10px;
}
.portfolio-meta,
.design-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: rgba(15,23,42,0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.explore-link,
.view-link {
  color: #1d4ed8;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}
.design-preview {
  height: 220px;
  border-bottom: 1px solid var(--border);
}
.design-preview::before {
  content: '';
  position: absolute;
  inset: 22px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(29,78,216,0.13);
  box-shadow: 0 22px 45px rgba(30,64,175,0.14);
}
.design-preview::after {
  content: '';
  position: absolute;
  left: 38px; right: 38px; top: 58px;
  height: 118px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(29,78,216,0.16) 0 36%, transparent 36%),
    repeating-linear-gradient(180deg, rgba(29,78,216,0.12) 0 8px, transparent 8px 18px),
    linear-gradient(135deg, rgba(14,165,233,0.14), rgba(29,78,216,0.1));
  opacity: .86;
}
.design-preview.has-image {
  height: 266px;
  min-height: 0;
  background: #ffffff;
}
.design-preview.has-image::before,
.design-preview.has-image::after {
  content: none;
  display: none;
}
.design-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  background: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: center;
}
.detail-preview {
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(30,64,175,0.16);
}
.detail-preview::before {
  content: '';
  position: absolute;
  inset: 34px;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(29,78,216,0.13);
  backdrop-filter: blur(14px);
}
.detail-preview::after {
  content: '';
  position: absolute;
  left: 66px; right: 66px; top: 94px; bottom: 74px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(29,78,216,0.16) 0 33%, transparent 33%),
    repeating-linear-gradient(180deg, rgba(29,78,216,0.12) 0 11px, transparent 11px 28px),
    linear-gradient(135deg, rgba(14,165,233,0.14), rgba(29,78,216,0.1));
  opacity: .84;
}
.detail-preview.has-image {
  height: clamp(497px, 54vw, 647px);
  min-height: 0;
  padding: 0;
  display: block;
  background: #ffffff;
  overflow: hidden;
}
.detail-preview.has-image::before,
.detail-preview.has-image::after {
  content: none;
  display: none;
}
.detail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 22px;
  background: #ffffff;
  transform: none;
  margin-bottom: 0;
}

.design-card.category-kids-and-toys .design-preview.has-image {
  height: clamp(245px, 26vw, 320px);
  min-height: 0;
  display: block;
  background: #ffffff;
}

.design-card.category-kids-and-toys .design-banner {
  display: block;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.detail-preview.category-kids-and-toys.has-image {
  height: auto;
  min-height: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.detail-preview.category-kids-and-toys .detail-image {
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}
.detail-panel,
.info-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.8);
  padding: clamp(22px,4vw,34px);
  box-shadow: 0 18px 48px rgba(30,64,175,0.1);
  backdrop-filter: blur(14px);
}
.detail-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(29,78,216,0.07);
  border: 1px solid rgba(29,78,216,0.14);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.detail-panel h1,
.info-panel h1,
.info-panel h2 {
  font-size: clamp(30px,4vw,46px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.detail-panel p,
.info-panel p {
  color: rgba(15,23,42,0.62);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 22px;
}
.feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-bottom: 26px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15,23,42,0.72);
  font-size: 14px;
}
.feature-list li::before {
  content: '';
  flex: 0 0 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: #1d4ed8;
  box-shadow: 0 0 14px rgba(29,78,216,0.24);
}
.detail-actions,
.service-grid,
.contact-grid {
  display: grid;
  gap: 14px;
}
.detail-actions { grid-template-columns: repeat(2, minmax(0, max-content)); }
.service-grid,
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surf);
  padding: 22px;
  box-shadow: 0 18px 45px rgba(30,64,175,0.08);
}
.portfolio-card:nth-child(2),
.design-card:nth-child(2),
.mini-card:nth-child(2) { animation-delay: .08s; }
.portfolio-card:nth-child(3),
.design-card:nth-child(3),
.mini-card:nth-child(3) { animation-delay: .16s; }
.portfolio-card:nth-child(4),
.design-card:nth-child(4),
.mini-card:nth-child(4) { animation-delay: .24s; }
.portfolio-card:nth-child(5),
.design-card:nth-child(5),
.mini-card:nth-child(5) { animation-delay: .32s; }
.portfolio-card:nth-child(6),
.design-card:nth-child(6),
.mini-card:nth-child(6) { animation-delay: .4s; }
.mini-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.mini-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.mobile-bottom-nav {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(29,78,216,0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 48px rgba(30,64,175,0.18);
  backdrop-filter: blur(18px);
  --active-index: 0;
  --from-index: 0;
  --nav-gap: 7px;
}
.mobile-bottom-nav::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 0;
  width: calc((100% - 16px - (var(--nav-gap) * 3)) / 4);
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  box-shadow: 0 12px 26px rgba(29,78,216,0.24);
  transform: translateX(calc(var(--active-index) * (100% + var(--nav-gap))));
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.mobile-bottom-nav.nav-animate::before {
  animation: navSlide .54s cubic-bezier(.16,1,.3,1) both;
}
.mobile-nav-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 54px;
  border-radius: 14px;
  color: rgba(15,23,42,0.56);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  position: relative;
  z-index: 1;
  background: transparent !important;
  box-shadow: none !important;
  transition: color .28s ease, transform .28s cubic-bezier(.34,1.56,.64,1);
}
.mobile-nav-item svg {
  width: 18px; height: 18px;
  stroke-width: 2.2;
}
.mobile-nav-item.is-active {
  color: var(--text);
  background: rgba(29,78,216,0.08);
}
.mobile-nav-item.is-primary {
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mature navy / white theme pass */
:root {
  --bg: #f8fbff;
  --cyan: #176ee8;
  --blue: #0f3f98;
  --text: #07142d;
  --muted: rgba(7,20,45,0.64);
  --border: rgba(8,30,66,0.12);
  --surf: rgba(255,255,255,0.96);
}
body { background: #f8fbff; }
.page-shell {
  background:
    radial-gradient(circle at 78% 12%, rgba(59,130,246,0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 54%, #f4f8ff 100%);
}
.page-shell::before {
  background-image:
    linear-gradient(rgba(8,30,66,0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,30,66,0.052) 1px, transparent 1px);
}
.page-shell::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.88), rgba(255,255,255,0.34)),
    radial-gradient(ellipse 58% 68% at 78% 48%, rgba(37,99,235,0.075) 0%, transparent 66%);
}
.top-nav {
  border-color: rgba(8,30,66,0.11);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 44px rgba(8,30,66,0.1);
}
.brand-mark,
.btn-primary,
.mobile-bottom-nav::before {
  background: linear-gradient(135deg, #176ee8, #0f3f98);
  box-shadow: 0 14px 30px rgba(15,63,152,0.24);
}
.section-title span,
.explore-link,
.view-link,
.portfolio-crumb {
  color: #1159c7;
}
.section-title span {
  background: linear-gradient(90deg, #176ee8, #0f3f98);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(15,63,152,0.28);
}
.btn-ghost,
.back-btn,
.portfolio-card,
.design-card,
.mini-card,
.detail-panel,
.info-panel {
  border-color: rgba(8,30,66,0.12);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 38px rgba(8,30,66,0.08);
}
.portfolio-card:hover,
.design-card:hover,
.mini-card:hover {
  border-color: rgba(17,89,199,0.22);
  box-shadow: 0 24px 56px rgba(8,30,66,0.13);
}
.category-visual.has-image::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(7,20,45,0.045));
}
.mobile-bottom-nav {
  border-color: rgba(8,30,66,0.12);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 20px 44px rgba(8,30,66,0.14);
}
.mobile-nav-item {
  color: rgba(7,20,45,0.56);
}
.mobile-nav-item.is-active {
  color: #1159c7;
  background: rgba(17,89,199,0.08);
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes imageWarmth {
  from { background-position: 190% 0, 0 0; }
  to { background-position: -190% 0, 0 0; }
}
@keyframes navSlide {
  from { transform: translateX(calc(var(--from-index) * (100% + var(--nav-gap)))); }
  to { transform: translateX(calc(var(--active-index) * (100% + var(--nav-gap)))); }
}
.mobile-nav-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body { padding-bottom: 88px; }
  .page-shell { padding-top: 22px; }
  .mobile-bottom-nav { display: grid; }
  .top-nav {
    width: calc(100vw - 28px);
    border-radius: 22px;
  }
  .section-head,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .portfolio-grid,
  .design-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-preview { min-height: 430px; }
}

@media (max-width: 520px) {
  .top-nav {
    width: calc(100% + 12px);
    padding: 8px 8px 8px 14px;
  }
  .brand {
    gap: 10px;
    font-size: 14px;
  }
  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .btn-primary.top-start {
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 15px;
    font-size: 15px;
  }
  .design-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-visual { height: 124px; }
  .category-visual.has-image { height: auto; }
  .design-preview { height: 190px; }
  .portfolio-card-body { padding: 12px; }
  .portfolio-card h3 {
    min-height: 36px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.25;
  }
  .portfolio-card .portfolio-meta {
    display: grid;
    gap: 5px;
    font-size: 10px;
    letter-spacing: .35px;
  }
  .portfolio-card .explore-link {
    white-space: normal;
    line-height: 1.25;
  }
  .portfolio-card .visual-browser {
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 82px;
    border-radius: 12px;
  }
  .portfolio-card .visual-browser::before {
    top: 10px;
    left: 12px;
    width: 28px;
    height: 6px;
    box-shadow: 44px 0 0 rgba(29,78,216,0.12), 76px 0 0 rgba(29,78,216,0.08);
  }
  .portfolio-card .visual-browser::after {
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 42px;
    border-radius: 10px;
  }
  .portfolio-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-preview {
    min-height: 350px;
    border-radius: 20px;
  }
  .detail-preview::before { inset: 22px; border-radius: 18px; }
  .detail-preview::after {
    left: 42px; right: 42px; top: 72px; bottom: 52px;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-nav {
    left: 8px; right: 8px; bottom: 8px;
    border-radius: 18px;
    gap: 5px;
    --nav-gap: 5px;
  }
  .mobile-nav-item {
    height: 52px;
    font-size: 9px;
  }
}

/* Professional refinement layer */
:root {
  --bg: #fbfdff;
  --cyan: #1f6fd7;
  --blue: #123f91;
  --border: rgba(8,30,66,0.105);
  --surf: rgba(255,255,255,0.97);
  --card-r: 16px;
}
body { background: #fbfdff; }
.page-shell {
  background:
    radial-gradient(circle at 78% 12%, rgba(23,110,232,0.06), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 56%, #f7faff 100%);
}
.page-shell::before {
  opacity: .92;
  background-image:
    linear-gradient(rgba(8,30,66,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,30,66,0.035) 1px, transparent 1px);
}
.page-shell::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.46)),
    radial-gradient(ellipse 58% 68% at 78% 48%, rgba(15,63,152,0.045) 0%, transparent 66%);
}
.top-nav {
  border-radius: 20px;
  border-color: rgba(8,30,66,0.105);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 28px rgba(8,30,66,0.075);
}
.brand-mark {
  border-radius: 13px;
}
.btn-primary,
.brand-mark,
.mobile-bottom-nav::before {
  background: linear-gradient(135deg, #1f6fd7, #123f91);
  box-shadow: 0 10px 22px rgba(15,63,152,0.2);
}
.btn-primary.top-start {
  border-radius: 14px;
}
.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(15,63,152,0.24);
}
.btn-ghost,
.back-btn,
.portfolio-card,
.design-card,
.mini-card,
.detail-panel,
.info-panel {
  border-color: rgba(8,30,66,0.105);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 26px rgba(8,30,66,0.065);
}
.portfolio-card:hover,
.design-card:hover,
.mini-card:hover {
  border-color: rgba(18,79,168,0.2);
  box-shadow: 0 16px 36px rgba(8,30,66,0.1);
}
.category-visual.has-image::after {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(7,20,45,0.025));
}
.portfolio-crumb {
  color: rgba(7,20,45,0.58);
  letter-spacing: .35px;
}
.portfolio-meta,
.design-meta {
  color: rgba(7,20,45,0.52);
}
.section-title span {
  background: linear-gradient(90deg, #1f6fd7, #123f91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.explore-link,
.view-link {
  color: #124fa8;
}
.mobile-bottom-nav {
  border-radius: 16px;
  border-color: rgba(8,30,66,0.105);
  background: rgba(255,255,255,0.965);
  box-shadow: 0 14px 34px rgba(8,30,66,0.12);
}
.mobile-bottom-nav::before {
  border-radius: 11px;
}
.mobile-nav-item.is-active {
  color: #124fa8;
  background: rgba(18,79,168,0.07);
}

@media (max-width: 900px) {
  .top-nav { border-radius: 18px; }
}

@media (max-width: 520px) {
  .top-nav { padding: 8px 8px 8px 12px; }
  .brand-mark { border-radius: 12px; }
  .btn-primary.top-start { border-radius: 12px; }
  .mobile-bottom-nav { border-radius: 16px; }
}

/* Subtle 3D depth */
.page-shell {
  perspective: 1200px;
}
.top-nav {
  transform: translateZ(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.96) inset,
    0 12px 24px rgba(8,30,66,0.07),
    0 30px 70px rgba(18,79,168,0.06);
}
.brand-mark,
.btn-primary,
.mobile-bottom-nav::before {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.34) inset,
    0 10px 20px rgba(15,63,152,0.2),
    0 18px 36px rgba(31,111,215,0.12);
}
.portfolio-grid,
.design-grid,
.service-grid,
.contact-grid,
.detail-layout {
  perspective: 1400px;
}
.portfolio-card,
.design-card,
.mini-card,
.detail-panel,
.info-panel {
  position: relative;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.96) inset,
    0 12px 24px rgba(8,30,66,0.06),
    0 32px 70px rgba(18,79,168,0.055);
}
.portfolio-card::before,
.design-card::before,
.mini-card::before,
.detail-panel::before,
.info-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.58), transparent 32%, rgba(18,79,168,0.045) 100%);
}
.portfolio-card > *,
.design-card > *,
.mini-card > *,
.detail-panel > *,
.info-panel > * {
  position: relative;
  z-index: 2;
}
.category-visual,
.design-preview,
.detail-preview {
  transform: translateZ(18px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 16px 32px rgba(8,30,66,0.075);
}
.category-banner {
  filter: drop-shadow(0 12px 18px rgba(8,30,66,0.1));
}
.mobile-bottom-nav {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 16px 32px rgba(8,30,66,0.12),
    0 32px 70px rgba(18,79,168,0.08);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-card,
  .design-card,
  .mini-card {
    transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease;
  }
  .portfolio-card:hover,
  .design-card:hover,
  .mini-card:hover {
    transform: translateY(-8px) rotateX(1.2deg) rotateY(-.8deg);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.96) inset,
      0 18px 34px rgba(8,30,66,0.09),
      0 44px 86px rgba(18,79,168,0.12);
  }
}

/* Premium bright SaaS theme */
:root {
  --bg: #f7fbff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --surf: rgba(255,255,255,0.78);
  --cyan: oklch(0.7 0.18 230);
  --blue: #2563eb;
  --brand: oklch(0.55 0.22 258);
  --brand-deep: oklch(0.38 0.19 262);
  --brand-glow: oklch(0.72 0.18 240);
  --brand-soft: oklch(0.96 0.04 250);
  --mint: oklch(0.72 0.17 165);
  --brand-gradient: linear-gradient(135deg, oklch(0.6 0.22 258) 0%, oklch(0.7 0.18 230) 55%, oklch(0.78 0.16 200) 100%);
}
html,
body {
  background: #f7fbff;
  color: #0f172a;
}
.page-shell {
  background:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px),
    radial-gradient(circle at 86% 7%, oklch(0.88 0.09 238 / 0.34), transparent 30%),
    radial-gradient(circle at 8% 10%, oklch(0.9 0.07 215 / 0.22), transparent 30%),
    radial-gradient(circle at 50% 46%, oklch(0.94 0.035 240 / 0.18), transparent 36%),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 34%, #ffffff 68%, #f6f9ff 100%);
  background-size: 70px 70px, 70px 70px, auto, auto, auto, auto;
}
.page-shell::before,
.page-shell::after {
  opacity: 0;
}
.top-nav,
.mobile-bottom-nav,
.btn-ghost,
.back-btn,
.portfolio-card,
.design-card,
.mini-card,
.detail-panel,
.info-panel {
  border: 1px solid rgba(203,213,225,0.72);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(15,23,42,0.07);
}
.top-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.88);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(15,23,42,0.1);
}
.brand,
.section-title,
.portfolio-card h3,
.design-card h3,
.detail-title,
.info-panel h3 {
  color: #0f172a;
}
.section-title span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-mark,
.btn-primary,
.mobile-bottom-nav::before {
  background: var(--brand-gradient);
  box-shadow: 0 20px 60px -20px oklch(0.55 0.22 258 / 0.45);
}
.btn-primary {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 900;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%) skewX(-20deg);
  animation: ctaShine 2.4s ease-in-out infinite;
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 70px -20px oklch(0.55 0.22 258 / 0.55);
}
.btn-ghost,
.back-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
  box-shadow: 0 16px 42px rgba(15,23,42,0.06);
}
.btn-ghost:hover,
.back-btn:hover {
  border-color: oklch(0.55 0.22 258 / 0.4);
}
.portfolio-card,
.design-card,
.mini-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15,23,42,0.07);
}
.portfolio-card:hover,
.design-card:hover,
.mini-card:hover {
  border-color: oklch(0.55 0.22 258 / 0.35);
  transform: translateY(-7px);
  box-shadow: 0 26px 70px -20px oklch(0.55 0.22 258 / 0.38);
}
.explore-link,
.view-link,
.portfolio-crumb {
  color: #2563eb;
}
.portfolio-meta,
.design-meta,
.lead,
.eyebrow,
.mobile-nav-item {
  color: #64748b;
}
.mobile-bottom-nav {
  background: rgba(255,255,255,0.9);
  border-color: rgba(203,213,225,0.78);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(15,23,42,0.13);
}
.mobile-bottom-nav::before {
  border-radius: 17px;
}
.mobile-nav-item.is-active {
  color: #0f172a;
  background: oklch(0.96 0.04 250 / 0.72);
}

@keyframes ctaShine {
  0%, 42% { transform: translateX(-120%) skewX(-20deg); }
  72%, 100% { transform: translateX(220%) skewX(-20deg); }
}

@media (max-width: 520px) {
  .top-nav {
    border-radius: 24px;
  }
  .btn-primary.top-start {
    border-radius: 16px;
  }
  .mobile-bottom-nav {
    border-radius: 22px;
  }
}

/* Secondary page header alignment */
.top-nav {
  left: auto;
  translate: none;
  transform: none;
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto clamp(42px,6vw,72px);
  padding: 10px 10px 10px 14px;
  isolation: isolate;
  overflow: hidden;
}
.top-nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), transparent 48%),
    radial-gradient(circle at 82% 20%, oklch(0.88 0.09 238 / 0.18), transparent 28%);
}
.brand {
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.25px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 17px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.34) inset,
    0 14px 28px oklch(0.55 0.22 258 / 0.26);
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.top-actions {
  flex: 0 0 auto;
  margin-left: 12px;
}
.btn-primary.top-start {
  min-height: 54px;
  padding: 16px 30px;
  border-radius: 18px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .page-shell {
    padding-top: 14px;
  }
  .top-nav {
    top: 10px;
    width: calc(100% - 28px);
    min-height: 68px;
    margin-bottom: 34px;
    border-radius: 25px;
  }
}

@media (max-width: 520px) {
  .top-nav {
    width: calc(100% - 24px);
    padding: 8px 8px 8px 12px;
    min-height: 64px;
    border-radius: 24px;
  }
  .brand {
    gap: 10px;
    font-size: 15px;
  }
  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 15px;
  }
  .brand-mark svg {
    width: 20px;
    height: 20px;
  }
  .top-actions {
    margin-left: 8px;
  }
  .btn-primary.top-start {
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 16px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .btn-primary.top-start {
    padding-inline: 18px;
  }
}

/* App-like mobile navigation transitions */
.mobile-bottom-nav {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint;
}
.mobile-bottom-nav::before {
  transform: translate3d(calc((var(--active-index) * (100% + var(--nav-gap))) + var(--nav-drag, 0px)), 0, 0) !important;
  transition: transform .34s cubic-bezier(.22,1,.36,1), box-shadow .16s ease, width .16s ease;
  will-change: transform;
}
.mobile-bottom-nav.nav-dragging::before {
  transition: none !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.38) inset,
    0 18px 42px -16px oklch(0.55 0.22 258 / 0.58);
}
.mobile-bottom-nav.nav-transitioning {
  pointer-events: none;
}
.mobile-nav-item {
  transition: color .24s ease, transform .28s cubic-bezier(.22,1,.36,1), opacity .24s ease;
}
.mobile-nav-item.is-primary {
  transform: translateY(-1px) scale(1.01);
}
body.nav-leaving .page-shell {
  pointer-events: none;
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
body.nav-page-enter .page-shell {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

@keyframes navPageExit {
  to {
    opacity: .18;
    filter: blur(2px);
    transform: translateX(calc(var(--nav-direction, 1) * -18px)) scale(.992);
  }
}
@keyframes navPageEnter {
  from {
    opacity: .25;
    filter: blur(2px);
    transform: translateX(calc(var(--nav-direction, 1) * 18px)) scale(.992);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }

  .page-shell {
    background-size: 88px 88px, 88px 88px, auto, auto, auto, auto;
  }

  .top-nav,
  .mobile-bottom-nav,
  .portfolio-card,
  .category-card,
  .design-card,
  .detail-panel,
  .info-panel,
  .mini-card,
  .quick-pill,
  .service-card,
  .contact-card,
  .contact-form {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 12px 28px rgba(15,23,42,0.08) !important;
  }

  .page-shell,
  .portfolio-card,
  .category-card,
  .design-card,
  .mini-card,
  .service-card {
    animation-duration: .32s !important;
    animation-iteration-count: 1 !important;
  }

  .category-visual.has-image {
    animation: none !important;
  }

  .mobile-bottom-nav::before {
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .14s ease !important;
  }

  .portfolio-card:hover,
  .category-card:hover,
  .design-card:hover,
  .mini-card:hover,
  .service-card:hover {
    transform: none;
  }

  .category-banner,
  .design-preview {
    filter: none !important;
  }

  .design-preview.has-image,
  .detail-preview.has-image {
    transform: none;
  }
}

@media (max-width: 520px) {
  .design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .design-card {
    border-radius: 20px;
  }

  .design-preview {
    height: 126px !important;
  }

  .design-preview.has-image {
    height: 206px !important;
    min-height: 0;
  }

  .design-preview::before {
    inset: 16px 12px;
    border-radius: 13px;
  }

  .design-preview::after {
    left: 24px;
    right: 24px;
    top: 44px;
    bottom: 24px;
    border-radius: 10px;
  }

  .design-preview.has-image::before,
  .design-preview.has-image::after {
    content: none;
    display: none;
  }

  .detail-preview.has-image {
    height: clamp(416px, 90vw, 497px);
    min-height: 0;
    padding: 0;
  }

  .detail-image {
    border-radius: 20px;
    object-position: center 45%;
  }

  .design-card-body {
    padding: 12px;
  }

  .design-card h3 {
    min-height: 36px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.1px;
  }

  .design-card .design-meta {
    display: grid;
    gap: 5px;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: .32px;
  }

  .design-card .view-link {
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 360px) {
  .design-grid {
    gap: 10px;
  }

  .design-preview {
    height: 112px !important;
  }

  .design-preview.has-image {
    height: 183px !important;
  }

  .detail-preview.has-image {
    height: clamp(381px, 97vw, 439px);
  }

  .design-card-body {
    padding: 11px;
  }

  .design-card h3 {
    font-size: 13px;
  }
}

/* Solid mobile bottom navigation */
.mobile-bottom-nav {
  background: #ffffff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-color: rgba(203,213,225,0.95) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 16px 36px rgba(15,23,42,0.16) !important;
}

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

/* Skip entrance animations after the first page visit in the same tab. */
html.kg-no-entry-motion .page-shell,
html.kg-no-entry-motion .top-nav,
html.kg-no-entry-motion .section-head,
html.kg-no-entry-motion .offer-intro,
html.kg-no-entry-motion .offer-step,
html.kg-no-entry-motion .offer-cta,
html.kg-no-entry-motion .portfolio-card,
html.kg-no-entry-motion .design-card,
html.kg-no-entry-motion .mini-card,
html.kg-no-entry-motion .detail-layout,
html.kg-no-entry-motion .detail-preview,
html.kg-no-entry-motion .detail-panel,
html.kg-no-entry-motion .info-panel {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Services premium offer timeline */
.services-page {
  background: #f4f9ff;
}

.services-page .page-shell {
  padding-bottom: 118px;
  background:
    radial-gradient(circle at 16% 16%, rgba(20, 184, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(124, 92, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 46%, #edf7ff 100%);
}

.services-page .page-shell::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22)),
    radial-gradient(ellipse 68% 72% at 72% 38%, rgba(110, 104, 255, 0.1), transparent 68%),
    radial-gradient(ellipse 62% 70% at 20% 72%, rgba(14, 165, 233, 0.12), transparent 70%);
}

.services-offer-wrap {
  width: min(860px, 100%);
}

.services-offer {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

.services-offer::before,
.services-offer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.72;
  z-index: -1;
}

.services-offer::before {
  width: 210px;
  height: 210px;
  top: 90px;
  right: -84px;
  background: radial-gradient(circle, rgba(111, 96, 255, 0.16), transparent 70%);
}

.services-offer::after {
  width: 240px;
  height: 240px;
  left: -96px;
  bottom: 120px;
  background: radial-gradient(circle, rgba(13, 199, 236, 0.15), transparent 72%);
}

.offer-intro {
  max-width: 690px;
  margin-bottom: 22px;
}

.offer-intro .portfolio-eyebrow {
  width: max-content;
  min-height: 29px;
  margin-bottom: 14px;
  padding: 0 14px;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.76);
  color: #1777ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.offer-intro h1 {
  max-width: 680px;
  margin: 0;
  color: #071026;
  font-size: clamp(34px, 6.8vw, 58px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.offer-intro h1 span {
  background: linear-gradient(95deg, #0ea5ff 0%, #266dff 48%, #a43cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.offer-intro p {
  max-width: 500px;
  margin-top: 7px;
  color: #64748b;
  font-size: clamp(13px, 2.35vw, 15.5px);
  font-weight: 600;
  line-height: 1.36;
}

.offer-timeline {
  display: grid;
  gap: 10px;
  position: relative;
  margin-top: 20px;
}

.offer-step {
  --delay: calc(var(--i) * 1.35s);
  --step-a: #138cff;
  --step-b: #7c4dff;
  --icon-bg-a: rgba(14, 149, 255, 0.14);
  --icon-bg-b: rgba(14, 149, 255, 0.06);
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  isolation: isolate;
}

.offer-step:nth-child(1) {
  --step-a: #1196ff;
  --step-b: #176ee8;
  --icon-bg-a: rgba(17, 150, 255, 0.16);
  --icon-bg-b: rgba(17, 150, 255, 0.06);
}

.offer-step:nth-child(2) {
  --step-a: #8b5cf6;
  --step-b: #c044ff;
  --icon-bg-a: rgba(139, 92, 246, 0.16);
  --icon-bg-b: rgba(192, 68, 255, 0.07);
}

.offer-step:nth-child(3) {
  --step-a: #ff2f92;
  --step-b: #e11d8f;
  --icon-bg-a: rgba(255, 47, 146, 0.16);
  --icon-bg-b: rgba(225, 29, 143, 0.07);
}

.offer-step:nth-child(4) {
  --step-a: #ff8a1f;
  --step-b: #f97316;
  --icon-bg-a: rgba(255, 138, 31, 0.17);
  --icon-bg-b: rgba(249, 115, 22, 0.08);
}

.offer-step:nth-child(5) {
  --step-a: #18d6a4;
  --step-b: #10b981;
  --icon-bg-a: rgba(24, 214, 164, 0.18);
  --icon-bg-b: rgba(16, 185, 129, 0.08);
}

.offer-step:nth-child(6) {
  --step-a: #168bff;
  --step-b: #2563eb;
  --icon-bg-a: rgba(22, 139, 255, 0.16);
  --icon-bg-b: rgba(37, 99, 235, 0.07);
}

.offer-step:nth-child(7) {
  --step-a: #8b5cf6;
  --step-b: #7c3aed;
  --icon-bg-a: rgba(139, 92, 246, 0.17);
  --icon-bg-b: rgba(124, 58, 237, 0.07);
}

.offer-step.is-premium {
  --step-a: #ff2fb5;
  --step-b: #d946ef;
  --icon-bg-a: rgba(255, 47, 181, 0.18);
  --icon-bg-b: rgba(217, 70, 239, 0.08);
}

.offer-step:not(:last-child)::before,
.offer-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: -13px;
  width: 2px;
  border-radius: 99px;
}

.offer-step:not(:last-child)::before {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.18), rgba(124, 58, 237, 0.16));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.offer-step:not(:last-child)::after {
  display: none;
  height: 48px;
  bottom: auto;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--step-a), var(--step-b), rgba(255, 255, 255, 0));
  box-shadow: 0 0 15px color-mix(in srgb, var(--step-b) 46%, transparent);
  transform-origin: top;
}

.offer-number {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.62), transparent 31%),
    linear-gradient(145deg, var(--step-a), var(--step-b));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 12px 28px color-mix(in srgb, var(--step-b) 28%, transparent);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  isolation: isolate;
  animation: offerNumberGlow 10.8s cubic-bezier(.4, 0, .2, 1) infinite;
  animation-delay: var(--delay);
}

.offer-number::before,
.offer-number::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.offer-number::before {
  inset: -8px;
  z-index: -2;
  background: radial-gradient(circle, color-mix(in srgb, var(--step-b) 44%, transparent), transparent 68%);
  filter: blur(5px);
  opacity: 0;
  animation: offerNumberAura 10.8s cubic-bezier(.4, 0, .2, 1) infinite;
  animation-delay: var(--delay);
}

.offer-number::after {
  inset: 1px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 48%);
  opacity: 0.56;
}

.offer-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 13px 12px 13px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(242, 248, 255, 0.75)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 15px 36px rgba(15, 23, 42, 0.075);
  backdrop-filter: blur(18px);
}

.offer-step.is-premium .offer-card {
  border-color: rgba(217, 70, 239, 0.26);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 47, 181, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.82));
}

.offer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  color: var(--step-a);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(145deg, var(--icon-bg-a), var(--icon-bg-b));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 11px 22px color-mix(in srgb, var(--step-a) 18%, transparent);
}

.offer-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-copy {
  min-width: 0;
}

.offer-copy h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
  color: #0f172a;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(217, 70, 239, 0.18);
  border-radius: 999px;
  color: #d11aa4;
  background: rgba(255, 239, 251, 0.92);
  box-shadow: 0 8px 18px rgba(217, 70, 239, 0.12);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.25px;
  line-height: 1;
  text-transform: uppercase;
}

.offer-copy p {
  max-width: 560px;
  color: #64748b;
  font-size: clamp(12px, 3vw, 14px);
  font-weight: 600;
  line-height: 1.35;
}

.offer-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: var(--step-a);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.96), transparent 38%),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 12px 26px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  transition: transform .24s ease;
}

.offer-arrow svg,
.offer-cta-button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-arrow:hover,
.offer-cta-button:hover {
  transform: translateY(-2px);
}

.offer-cta {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 24px auto 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 255, 0.11), transparent 35%),
    radial-gradient(circle at 86% 18%, rgba(139, 92, 246, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.offer-cta p {
  color: #0f172a;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
}

.offer-cta-button {
  width: min(360px, 100%);
  min-height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #11c2f2 0%, #176ee8 54%, #a63df3 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 18px 38px rgba(23, 110, 232, 0.25),
    0 0 34px rgba(166, 61, 243, 0.14);
}

@keyframes offerNumberGlow {
  0% {
    filter: brightness(1) saturate(1);
    transform: translateY(0) scale(1);
  }

  4%, 8% {
    filter: brightness(1.11) saturate(1.1);
    transform: translateY(-1px) scale(1.025);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.62) inset,
      0 0 18px color-mix(in srgb, var(--step-b) 34%, transparent),
      0 13px 30px color-mix(in srgb, var(--step-b) 26%, transparent);
  }

  16%, 100% {
    filter: brightness(1);
    transform: translateY(0) scale(1);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.42) inset,
      0 12px 28px color-mix(in srgb, var(--step-b) 28%, transparent);
  }
}

@keyframes offerNumberAura {
  0%, 100% {
    opacity: 0;
    transform: scale(0.92);
  }

  4%, 8% {
    opacity: 0.58;
    transform: scale(1);
  }

  16% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes offerCardGlow {
  0%, 10% {
    border-color: color-mix(in srgb, var(--step-b) 32%, rgba(148, 163, 184, 0.2));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.94) inset,
      0 17px 42px rgba(15, 23, 42, 0.08),
      0 0 0 1px color-mix(in srgb, var(--step-a) 9%, transparent),
      0 0 34px color-mix(in srgb, var(--step-b) 14%, transparent);
    transform: translateX(2px);
  }

  18%, 100% {
    transform: translateX(0);
  }
}

@keyframes offerArrowGlow {
  0%, 10% {
    color: #ffffff;
    border-color: transparent;
    background:
      radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.42), transparent 35%),
      linear-gradient(145deg, var(--step-a), var(--step-b));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.44) inset,
      0 0 24px color-mix(in srgb, var(--step-b) 34%, transparent),
      0 13px 24px color-mix(in srgb, var(--step-a) 22%, transparent);
    transform: translateX(2px);
  }

  18%, 100% {
    transform: translateX(0);
  }
}

@keyframes offerIconGlow {
  0%, 10% {
    color: #ffffff;
    background:
      radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.56), transparent 35%),
      linear-gradient(145deg, var(--step-a), var(--step-b));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.48) inset,
      0 0 25px color-mix(in srgb, var(--step-b) 38%, transparent),
      0 14px 26px color-mix(in srgb, var(--step-a) 24%, transparent);
    transform: translateY(-1px) scale(1.03);
  }

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

@keyframes offerLinePulse {
  0% {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.14);
  }

  7% {
    opacity: 0.92;
    transform: translateY(10px) scaleY(0.82);
  }

  13% {
    opacity: 0;
    transform: translateY(46px) scaleY(0.18);
  }

  100% {
    opacity: 0;
    transform: translateY(46px) scaleY(0.18);
  }
}

@keyframes offerStepLift {
  0%, 10% {
    transform: translateY(-1px);
  }

  18%, 100% {
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .services-offer-wrap {
    width: min(920px, 100%);
  }

  .services-offer {
    max-width: 900px;
  }

  .offer-intro {
    margin-bottom: 28px;
  }

  .offer-timeline {
    gap: 12px;
  }

  .offer-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .offer-number {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }

  .offer-step:not(:last-child)::before,
  .offer-step:not(:last-child)::after {
    left: 27px;
    top: 60px;
    bottom: -15px;
  }

  .offer-card {
    min-height: 94px;
    grid-template-columns: 52px minmax(0, 1fr) 48px;
    padding: 16px 16px 16px 18px;
    border-radius: 24px;
  }

  .offer-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .offer-icon svg {
    width: 25px;
    height: 25px;
  }

  .offer-arrow {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 520px) {
  .services-page .page-shell {
    padding-inline: 14px;
    padding-bottom: 100px;
  }

  .services-offer-wrap {
    width: 100%;
  }

  .offer-intro .portfolio-eyebrow {
    min-height: 26px;
    margin-bottom: 10px;
    padding: 0 11px;
    font-size: 9px;
  }

  .offer-intro {
    margin-bottom: 16px;
  }

  .offer-intro h1 {
    max-width: 390px;
    font-size: clamp(30px, 8.25vw, 34px);
    line-height: 1.06;
  }

  .offer-intro p {
    max-width: 330px;
    margin-top: 6px;
    font-size: clamp(12.25px, 3.25vw, 13.5px);
    line-height: 1.32;
  }

  .offer-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
  }

  .offer-number {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .offer-step:not(:last-child)::before,
  .offer-step:not(:last-child)::after {
    left: 21px;
    top: 48px;
    bottom: -11px;
  }

  .offer-card {
    min-height: 76px;
    grid-template-columns: 37px minmax(0, 1fr) 34px;
    gap: 8px;
    padding: 11px 9px 11px 10px;
    border-radius: 18px;
  }

  .offer-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .offer-icon svg {
    width: 19px;
    height: 19px;
  }

  .offer-copy h2 {
    margin-bottom: 3px;
    font-size: clamp(13px, 3.75vw, 15px);
  }

  .risk-badge {
    min-height: 18px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .offer-copy p {
    font-size: clamp(11.2px, 3.05vw, 12.5px);
    line-height: 1.28;
  }

  .offer-arrow {
    width: 34px;
    height: 34px;
  }

  .offer-arrow svg {
    width: 15px;
    height: 15px;
  }

  .offer-cta {
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
  }

  .offer-cta-button {
    min-height: 54px;
    border-radius: 16px;
  }
}

@media (max-width: 370px) {
  .offer-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
  }

  .offer-number {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .offer-step:not(:last-child)::before,
  .offer-step:not(:last-child)::after {
    left: 19px;
    top: 44px;
  }

  .offer-card {
    grid-template-columns: 33px minmax(0, 1fr) 31px;
    padding: 12px 8px 12px 12px;
  }

  .offer-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .offer-icon svg {
    width: 17px;
    height: 17px;
  }

  .offer-arrow {
    width: 31px;
    height: 31px;
  }
}

/* Services timeline: keep continuous motion only on the numbered timeline dots. */
.services-page .offer-step,
.services-page .offer-card,
.services-page .offer-icon,
.services-page .offer-arrow {
  animation: none !important;
  transform: none !important;
}

.services-page .offer-step:not(:last-child)::after {
  display: none !important;
  animation: none !important;
}

.services-page .offer-number {
  animation: offerNumberGlow 10.8s cubic-bezier(.4, 0, .2, 1) infinite !important;
  animation-delay: var(--delay) !important;
}

/* Kids & Toys listing images are tall website previews; crop from the bottom only. */
.design-card.category-kids-and-toys .design-preview.has-image {
  height: clamp(245px, 26vw, 320px) !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.design-card.category-kids-and-toys .design-banner {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.detail-preview.category-kids-and-toys.has-image {
  height: auto !important;
  min-height: 0 !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
}

.detail-preview.category-kids-and-toys .detail-image {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 18px !important;
}

@media (max-width: 520px) {
  .design-card.category-kids-and-toys .design-preview.has-image {
    height: clamp(220px, 46vw, 245px) !important;
  }

  .detail-preview.category-kids-and-toys.has-image {
    padding: 8px !important;
  }

  .detail-preview.category-kids-and-toys .detail-image {
    border-radius: 16px !important;
  }
}

@media (max-width: 360px) {
  .design-card.category-kids-and-toys .design-preview.has-image {
    height: clamp(205px, 54vw, 225px) !important;
  }
}

/* Women's and Men's Fashion screenshots keep the top visible and crop only from the bottom. */
.design-card.category-women-s-fashion-and-essentials .design-preview.has-image,
.design-card.category-men-s-fashion .design-preview.has-image {
  height: 285px !important;
  display: block !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.design-card.category-women-s-fashion-and-essentials .design-banner,
.design-card.category-men-s-fashion .design-banner {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.detail-preview.category-women-s-fashion-and-essentials.has-image,
.detail-preview.category-men-s-fashion.has-image {
  overflow: hidden !important;
  background: #ffffff !important;
}

.detail-preview.category-women-s-fashion-and-essentials .detail-image,
.detail-preview.category-men-s-fashion .detail-image {
  object-position: top center !important;
}

@media (max-width: 520px) {
  .design-card.category-women-s-fashion-and-essentials .design-preview.has-image,
  .design-card.category-men-s-fashion .design-preview.has-image {
    height: 220px !important;
  }
}

@media (max-width: 360px) {
  .design-card.category-women-s-fashion-and-essentials .design-preview.has-image,
  .design-card.category-men-s-fashion .design-preview.has-image {
    height: 196px !important;
  }
}

/* Premium portfolio category home */
.portfolio-page .page-shell {
  background:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 6% 14%, rgba(14, 165, 233, 0.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.12), transparent 30%),
    linear-gradient(180deg, #edf8ff 0%, #f7fbff 42%, #eef7ff 100%);
  background-size: 138px 138px, 138px 138px, auto, auto, auto;
}

.portfolio-page .top-nav {
  width: min(1120px, calc(100% - 44px));
  min-height: 96px;
  margin: 0 auto 52px;
  padding: 14px 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.94));
  box-shadow:
    0 26px 58px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.portfolio-page .brand {
  gap: 18px;
  letter-spacing: 0;
}

.portfolio-page .brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 23px;
  background: linear-gradient(135deg, #0fd0f2 0%, #1478f2 58%, #5b4bf6 100%);
  color: #ffffff;
  box-shadow:
    0 16px 28px rgba(20, 120, 242, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.42) inset;
}

.portfolio-page .brand-copy {
  display: grid;
  gap: 8px;
  line-height: 1;
}

.portfolio-page .brand-name {
  font-size: 29px;
  font-weight: 950;
  color: #0f172a;
  letter-spacing: 0;
}

.portfolio-page .brand-tagline {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0;
  white-space: nowrap;
}

.portfolio-page .top-actions {
  gap: 14px;
}

.portfolio-page .btn-primary.top-start {
  min-height: 68px;
  padding: 0 42px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0dc7ec 0%, #1677f2 54%, #c13ff2 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow:
    0 18px 34px rgba(37, 99, 235, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.portfolio-page .menu-toggle {
  width: 60px;
  height: 60px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.portfolio-page .menu-toggle span {
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.portfolio-page .portfolio-hero {
  display: none;
}

.portfolio-page.is-portfolio-home .page-inner {
  width: min(1120px, 100%);
}

.portfolio-page.is-portfolio-home .portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 34px;
  margin: 0 auto 34px;
}

.portfolio-page.is-portfolio-home .portfolio-toolbar {
  display: none;
}

.portfolio-eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #1681e8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.portfolio-eyebrow span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2585f8;
  box-shadow: 0 0 0 5px rgba(37, 133, 248, 0.1);
}

.portfolio-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #070b1f;
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.portfolio-hero h1 span {
  color: #2458f5;
  background: linear-gradient(135deg, #008cff 0%, #2458f5 48%, #9c27ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #596985;
  font-size: 21px;
  line-height: 1.45;
}

.portfolio-hero-aside {
  display: grid;
  gap: 20px;
  justify-items: end;
}

.portfolio-script-note {
  color: #1478f2;
  font-family: "Segoe Script", "Comic Sans MS", cursive;
  font-size: 30px;
  font-weight: 700;
  line-height: 0.98;
  text-align: right;
  transform: rotate(-6deg);
}

.portfolio-hero-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 88px;
  padding: 16px 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.94));
  box-shadow:
    0 22px 42px rgba(15, 23, 42, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
}

.portfolio-hero-card svg {
  width: 46px;
  height: 46px;
  color: #1478f2;
}

.portfolio-hero-card strong,
.portfolio-hero-card small {
  display: block;
  letter-spacing: 0;
}

.portfolio-hero-card strong {
  color: #0f172a;
  font-size: 19px;
}

.portfolio-hero-card small {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-hero-card b {
  color: #1478f2;
  font-size: 24px;
}

.portfolio-page.is-portfolio-home .portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-page.is-portfolio-home .portfolio-card {
  min-height: 454px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.93));
  box-shadow:
    0 26px 58px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.98) inset;
}

.portfolio-page.is-portfolio-home .portfolio-card:nth-child(1) { --accent-a: #ff7a18 !important; --accent-b: #ff4d00 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(2) { --accent-a: #18a5ff !important; --accent-b: #075df0 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(3) { --accent-a: #ff5c9d !important; --accent-b: #ec2f80 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(4) { --accent-a: #d9932d !important; --accent-b: #9a5b09 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(5) { --accent-a: #12cbb2 !important; --accent-b: #008b7c !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(6) { --accent-a: #8b5cf6 !important; --accent-b: #6419d8 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(7) { --accent-a: #fbbf24 !important; --accent-b: #b7791f !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(8) { --accent-a: #f472b6 !important; --accent-b: #7c3aed !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(9) { --accent-a: #22c55e !important; --accent-b: #ea580c !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(10) { --accent-a: #fb923c !important; --accent-b: #ef4444 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(11) { --accent-a: #38bdf8 !important; --accent-b: #0f5bd5 !important; }
.portfolio-page.is-portfolio-home .portfolio-card:nth-child(12) { --accent-a: #22d3ee !important; --accent-b: #6d28d9 !important; }

.portfolio-page.is-portfolio-home .category-visual.has-image {
  height: 270px !important;
  background: #ffffff !important;
  border-bottom: 0;
}

.portfolio-page.is-portfolio-home .category-visual.has-image::after {
  background: linear-gradient(180deg, transparent 62%, rgba(15, 23, 42, 0.08));
}

.portfolio-page.is-portfolio-home .category-banner {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.portfolio-page.is-portfolio-home .portfolio-card-body {
  min-height: 184px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 18px;
  padding: 24px 26px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 251, 255, 0.98));
}

.portfolio-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  color: #ffffff;
  box-shadow:
    0 16px 28px color-mix(in srgb, var(--accent-b) 30%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.portfolio-card-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 2.25;
}

.portfolio-page.is-portfolio-home .portfolio-card h3 {
  min-height: 0;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
}

.portfolio-page.is-portfolio-home .portfolio-meta {
  display: grid;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portfolio-page.is-portfolio-home .explore-link {
  color: var(--accent-b);
  font-size: 16px;
  text-transform: none;
}

.portfolio-card-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent-b) 22%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-b);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.portfolio-page .mobile-bottom-nav {
  background: #ffffff !important;
}

.portfolio-page .mobile-nav-item.is-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0dc7ec 0%, #1777f2 52%, #ba3ff2 100%);
  box-shadow:
    0 18px 30px rgba(37, 99, 235, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.32) inset;
}

@media (max-width: 900px) {
  .portfolio-page .top-nav {
    min-height: 86px;
    margin-bottom: 40px;
    border-radius: 30px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-hero-aside {
    grid-template-columns: 1fr;
    justify-items: end;
    margin-top: -8px;
  }

  .portfolio-script-note {
    font-size: 26px;
  }

  .portfolio-hero-card {
    width: min(360px, 100%);
  }
}

@media (max-width: 520px) {
  .portfolio-page .page-shell {
    padding: 22px 16px 126px;
  }

  .portfolio-page .top-nav {
    width: calc(100% - 6px);
    min-height: 74px;
    margin-bottom: 36px;
    padding: 10px;
    border-radius: 27px;
  }

  .portfolio-page .brand {
    gap: 12px;
    min-width: 0;
  }

  .portfolio-page .brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .portfolio-page .brand-name {
    font-size: 20px;
  }

  .portfolio-page .brand-tagline {
    font-size: 7px;
  }

  .portfolio-page .btn-primary.top-start {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 19px;
    font-size: 19px;
  }

  .portfolio-page .menu-toggle {
    width: 48px;
    height: 48px;
    gap: 5px;
  }

  .portfolio-page .menu-toggle span {
    width: 19px;
    height: 2px;
  }

  .portfolio-eyebrow {
    min-height: 31px;
    margin-bottom: 18px;
    padding: 0 15px;
    font-size: 11px;
  }

  .portfolio-eyebrow span {
    width: 9px;
    height: 9px;
  }

  .portfolio-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .portfolio-hero p {
    margin-top: 16px;
    font-size: 17px;
  }

  .portfolio-script-note {
    font-size: 21px;
  }

  .portfolio-hero-card {
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    min-height: 74px;
    width: min(290px, 100%);
    padding: 13px 15px;
    border-radius: 20px;
  }

  .portfolio-hero-card svg {
    width: 38px;
    height: 38px;
  }

  .portfolio-hero-card strong {
    font-size: 15px;
  }

  .portfolio-hero-card small {
    margin-top: 4px;
    font-size: 9px;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card {
    min-height: 0;
    border-radius: 25px;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    height: 158px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 132px;
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    gap: 8px;
    padding: 13px;
  }

  .portfolio-card-icon {
    width: 44px;
    height: 44px;
    border-width: 3px;
    border-radius: 16px;
  }

  .portfolio-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.16;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    gap: 5px;
    font-size: 10px;
  }

  .portfolio-page.is-portfolio-home .explore-link {
    font-size: 12px;
  }

  .portfolio-card-arrow {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .portfolio-page .brand-tagline {
    display: none;
  }

  .portfolio-page .btn-primary.top-start {
    padding: 0 18px;
    font-size: 17px;
  }

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

  .portfolio-page.is-portfolio-home .portfolio-grid {
    gap: 12px;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    height: 142px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    padding: 12px;
  }

  .portfolio-card-icon {
    width: 39px;
    height: 39px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    font-size: 15px;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    font-size: 9px;
  }

  .portfolio-page.is-portfolio-home .explore-link {
    font-size: 11px;
  }

  .portfolio-card-arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

/* Minimal portfolio hero section */
.portfolio-page.is-portfolio-home .portfolio-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto 30px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(248, 252, 255, 0.52)),
    radial-gradient(circle at 12% 10%, rgba(14, 165, 233, 0.08), transparent 34%);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.portfolio-page.is-portfolio-home .portfolio-eyebrow {
  min-height: 30px;
  gap: 9px;
  margin-bottom: 14px;
  padding: 0 14px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  box-shadow: none;
}

.portfolio-page.is-portfolio-home .portfolio-eyebrow span {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px rgba(37, 133, 248, 0.08);
}

.portfolio-page.is-portfolio-home .portfolio-hero h1 {
  max-width: 640px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
}

.portfolio-page.is-portfolio-home .portfolio-hero p {
  max-width: 540px;
  margin-top: 12px;
  color: #66758f;
  font-size: 17px;
}

.portfolio-page.is-portfolio-home .portfolio-script-note {
  display: none !important;
}

.portfolio-page.is-portfolio-home .portfolio-hero-aside {
  gap: 0;
  justify-items: end;
}

.portfolio-page.is-portfolio-home .portfolio-hero-card {
  width: 304px;
  min-height: 68px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 16px;
  border-color: rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.portfolio-page.is-portfolio-home .portfolio-hero-card svg {
  width: 34px;
  height: 34px;
  color: #1d7ff2;
}

.portfolio-page.is-portfolio-home .portfolio-hero-card strong {
  font-size: 16px;
}

.portfolio-page.is-portfolio-home .portfolio-hero-card small {
  margin-top: 3px;
  font-size: 10px;
}

.portfolio-page.is-portfolio-home .portfolio-hero-card b {
  font-size: 18px;
}

@media (max-width: 900px) {
  .portfolio-page.is-portfolio-home .portfolio-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-aside {
    justify-items: start;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-card {
    width: min(304px, 100%);
  }
}

@media (max-width: 520px) {
  .portfolio-page.is-portfolio-home .portfolio-hero {
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 22px;
  }

  .portfolio-page.is-portfolio-home .portfolio-eyebrow {
    min-height: 27px;
    margin-bottom: 12px;
    padding: 0 12px;
    font-size: 10px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .portfolio-page.is-portfolio-home .portfolio-hero p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.42;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-card {
    min-height: 58px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 17px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-card svg {
    width: 28px;
    height: 28px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-card strong {
    font-size: 14px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero-card small {
    font-size: 8px;
  }
}

/* Final portfolio home polish: subtle hero and consistent card captions */
.portfolio-page.is-portfolio-home .portfolio-hero {
  display: block;
  margin: 0 auto 24px;
  padding: 18px 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(248, 252, 255, 0.44)),
    radial-gradient(circle at 8% 0%, rgba(37, 133, 248, 0.055), transparent 36%);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.045),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.portfolio-page.is-portfolio-home .portfolio-hero-aside,
.portfolio-page.is-portfolio-home .portfolio-hero-card,
.portfolio-page.is-portfolio-home .portfolio-script-note {
  display: none !important;
}

.portfolio-page.is-portfolio-home .portfolio-eyebrow {
  min-height: 28px;
  gap: 8px;
  margin-bottom: 11px;
  padding: 0 12px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #1d75e8;
  font-size: 10px;
  box-shadow: none;
}

.portfolio-page.is-portfolio-home .portfolio-eyebrow span {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px rgba(37, 133, 248, 0.08);
}

.portfolio-page.is-portfolio-home .portfolio-hero h1 {
  max-width: 560px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.05;
}

.portfolio-page.is-portfolio-home .portfolio-hero p {
  max-width: 520px;
  margin-top: 9px;
  color: #66758f;
  font-size: 15px;
  line-height: 1.45;
}

.portfolio-page.is-portfolio-home .portfolio-card {
  border-radius: 26px;
}

.portfolio-page.is-portfolio-home .category-visual.has-image {
  height: auto !important;
  aspect-ratio: 1.52 / 1;
  background: #ffffff !important;
}

.portfolio-page.is-portfolio-home .category-banner {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.portfolio-page.is-portfolio-home .portfolio-card-body {
  min-height: 130px;
  grid-template-columns: 58px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px 18px;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon {
  width: 52px;
  height: 52px;
  border-width: 4px;
  border-radius: 18px;
  flex-shrink: 0;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon svg {
  width: 25px;
  height: 25px;
}

.portfolio-page.is-portfolio-home .portfolio-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.12;
}

.portfolio-page.is-portfolio-home .portfolio-meta {
  gap: 5px;
  color: #738198;
  font-size: 11px;
}

.portfolio-page.is-portfolio-home .explore-link {
  color: var(--accent-b);
  font-size: 13px;
  font-weight: 900;
}

.portfolio-page.is-portfolio-home .portfolio-card-arrow {
  width: 38px;
  height: 38px;
  border-color: color-mix(in srgb, var(--accent-b) 18%, rgba(148, 163, 184, 0.16));
  color: var(--accent-b);
  font-size: 18px;
}

@media (max-width: 520px) {
  .portfolio-page.is-portfolio-home .portfolio-hero {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 20px;
  }

  .portfolio-page.is-portfolio-home .portfolio-eyebrow {
    min-height: 24px;
    margin-bottom: 9px;
    padding: 0 10px;
    font-size: 9px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero h1 {
    max-width: 310px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.04;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero p {
    max-width: 330px;
    margin-top: 8px;
    font-size: 13px;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.46 / 1;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 88px;
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    gap: 8px;
    padding: 10px 9px 12px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 34px;
    height: 34px;
    border-width: 3px;
    border-radius: 12px;
    box-shadow:
      0 10px 20px color-mix(in srgb, var(--accent-b) 24%, transparent),
      0 1px 0 rgba(255, 255, 255, 0.5) inset;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon svg {
    width: 17px;
    height: 17px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    margin-bottom: 4px;
    font-size: 12.5px;
    line-height: 1.12;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    gap: 3px;
    font-size: 8.5px;
    line-height: 1.15;
  }

  .portfolio-page.is-portfolio-home .explore-link {
    font-size: 9.5px;
    line-height: 1.15;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 27px;
    height: 27px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .portfolio-page.is-portfolio-home .portfolio-card-body {
    grid-template-columns: 34px minmax(0, 1fr) 26px;
    gap: 6px;
    padding: 9px 8px 10px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 31px;
    height: 31px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    font-size: 11.5px;
  }

  .portfolio-page.is-portfolio-home .explore-link {
    font-size: 9px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 25px;
    height: 25px;
  }
}

/* Home-style global header and portfolio title refinement */
.top-nav,
.portfolio-page .top-nav {
  width: min(1060px, calc(100% - 40px)) !important;
  min-height: 64px !important;
  margin: 18px auto 44px !important;
  padding: 8px 9px 8px 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.92)) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 -8px 24px rgba(255, 255, 255, 0.7) inset,
    0 12px 28px rgba(15, 23, 42, 0.06),
    0 24px 54px rgba(29, 78, 216, 0.07) !important;
  backdrop-filter: none !important;
}

.brand,
.portfolio-page .brand {
  gap: 11px !important;
  color: #0f172a;
  font-size: 17px !important;
  letter-spacing: 0 !important;
}

.brand-mark,
.portfolio-page .brand-mark {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #10c4f7 0%, #176ee8 78%, #4f46e5 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.36) inset,
    0 10px 20px rgba(23, 110, 232, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
}

.brand-copy,
.portfolio-page .brand-copy {
  display: grid;
  gap: 5px;
  line-height: 1;
}

.brand-name,
.portfolio-page .brand-name {
  color: #0f172a;
  font-size: 17px !important;
  font-weight: 950;
  letter-spacing: 0 !important;
}

.brand-tagline,
.portfolio-page .brand-tagline {
  color: rgba(71, 85, 105, 0.74);
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary.top-start,
.portfolio-page .btn-primary.top-start {
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #10bdf2 0%, #176ee8 66%, #5b57f4 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950;
  letter-spacing: 0 !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 12px 24px rgba(23, 110, 232, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset !important;
}

.btn-primary.top-start svg,
.portfolio-page .btn-primary.top-start svg {
  width: 15px;
  height: 15px;
}

.menu-toggle,
.portfolio-page .menu-toggle {
  display: none !important;
}

.portfolio-page.is-portfolio-home .portfolio-hero {
  display: block;
  margin: 0 auto 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portfolio-page.is-portfolio-home .portfolio-eyebrow {
  min-height: 30px;
  gap: 9px;
  margin-bottom: 12px;
  padding: 0 14px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.76);
  color: #1777ee;
  font-size: 11px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.portfolio-page.is-portfolio-home .portfolio-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.portfolio-page.is-portfolio-home .portfolio-hero p {
  max-width: 620px;
  margin-top: 8px;
  color: #66758f;
  font-size: 17px;
  line-height: 1.45;
}

.portfolio-page.is-portfolio-home .category-visual.has-image {
  aspect-ratio: 4 / 3;
}

.portfolio-page.is-portfolio-home .category-banner {
  object-fit: cover !important;
  object-position: center top !important;
}

.portfolio-page.is-portfolio-home .explore-link {
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .top-nav,
  .portfolio-page .top-nav {
    width: calc(100% - 28px) !important;
    min-height: 60px !important;
    margin-top: 10px !important;
    padding: 7px 8px 7px 11px !important;
    border-radius: 20px !important;
  }

  .brand,
  .portfolio-page .brand {
    font-size: 16px !important;
  }

  .brand-mark,
  .portfolio-page .brand-mark {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 13px !important;
  }

  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    min-height: 42px !important;
    padding-inline: 19px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 520px) {
  .top-nav,
  .portfolio-page .top-nav {
    margin-bottom: 28px !important;
  }

  .brand-tagline,
  .portfolio-page .brand-tagline {
    font-size: 8px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero {
    margin-bottom: 18px;
  }

  .portfolio-page.is-portfolio-home .portfolio-eyebrow {
    min-height: 25px;
    margin-bottom: 9px;
    padding: 0 11px;
    font-size: 9px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero h1 {
    max-width: 380px;
    font-size: clamp(35px, 10.8vw, 46px);
    line-height: 1.02;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero p {
    margin-top: 7px;
    font-size: 14px;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 94px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    font-size: 12px;
  }

  .portfolio-page.is-portfolio-home .explore-link {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .brand-tagline,
  .portfolio-page .brand-tagline {
    display: none;
  }
}

/* Portfolio category final polish */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 4px;
  pointer-events: none;
  background: rgba(226, 242, 255, 0.56);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #10c4f7 0%, #176ee8 50%, #9c27ef 100%);
  box-shadow: 0 0 16px rgba(23, 110, 232, 0.42);
}

.portfolio-page.is-portfolio-home .portfolio-hero {
  width: 100%;
}

.portfolio-page.is-portfolio-home .portfolio-hero h1 {
  max-width: none !important;
  white-space: nowrap;
  font-size: clamp(34px, 7.9vw, 58px) !important;
  line-height: 1.02;
}

.portfolio-page.is-portfolio-home .portfolio-grid {
  align-items: stretch;
}

.portfolio-page.is-portfolio-home .portfolio-card {
  position: relative;
  border: 1.5px solid color-mix(in srgb, var(--accent-b) 34%, rgba(255, 255, 255, 0.9)) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 34px rgba(15, 23, 42, 0.075),
    0 22px 54px color-mix(in srgb, var(--accent-b) 14%, transparent) !important;
}

.portfolio-page.is-portfolio-home .portfolio-card:hover {
  border-color: color-mix(in srgb, var(--accent-b) 52%, rgba(255, 255, 255, 0.65)) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 42px rgba(15, 23, 42, 0.09),
    0 28px 64px color-mix(in srgb, var(--accent-b) 19%, transparent) !important;
}

.portfolio-page.is-portfolio-home .category-visual.has-image {
  display: grid;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--accent-a) 15%, transparent), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.portfolio-page.is-portfolio-home .category-banner {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
}

.portfolio-page.is-portfolio-home .portfolio-card-body {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon {
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(145deg, var(--accent-a) 0%, var(--accent-b) 100%) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.48) inset,
    0 11px 22px color-mix(in srgb, var(--accent-b) 35%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset !important;
  animation: portfolioIconFloat 5.2s ease-in-out infinite;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 9px;
  right: 9px;
  height: 30%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  filter: blur(1px);
  opacity: 0.72;
  transform: translateZ(10px);
}

.portfolio-page.is-portfolio-home .portfolio-card-icon svg {
  position: relative;
  z-index: 1;
  stroke-width: 2.35;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.2));
  transform: translateZ(14px);
}

.portfolio-page.is-portfolio-home .portfolio-card:nth-child(2n) .portfolio-card-icon {
  animation-delay: -1.1s;
}

.portfolio-page.is-portfolio-home .portfolio-card:nth-child(3n) .portfolio-card-icon {
  animation-delay: -2.2s;
}

.portfolio-page.is-portfolio-home .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  white-space: nowrap !important;
}

.portfolio-page.is-portfolio-home .explore-link svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  stroke-width: 2.8;
}

.portfolio-page.is-portfolio-home .portfolio-card-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-b);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 20px color-mix(in srgb, var(--accent-b) 12%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent-b) 22%, rgba(148, 163, 184, 0.12)) inset !important;
}

.portfolio-page.is-portfolio-home .portfolio-card-arrow svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.8;
}

@keyframes portfolioIconFloat {
  0%,
  100% {
    transform: perspective(560px) rotateX(0deg) rotateY(0deg) translateY(0);
  }
  50% {
    transform: perspective(560px) rotateX(7deg) rotateY(-8deg) translateY(-3px);
  }
}

@media (max-width: 520px) {
  .scroll-progress {
    height: 3px;
  }

  .portfolio-page.is-portfolio-home .portfolio-hero h1 {
    font-size: clamp(27px, 8.1vw, 35px) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon::before {
    top: 5px;
    left: 7px;
    right: 7px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon svg {
    width: 17px;
    height: 17px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 28px !important;
    height: 28px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 380px) {
  .portfolio-page.is-portfolio-home .portfolio-hero h1 {
    font-size: clamp(25px, 7.7vw, 30px) !important;
  }

  .portfolio-page.is-portfolio-home .explore-link svg {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 25px !important;
    height: 25px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    animation: none !important;
  }
}

/* Extend the premium category treatment across every card */
.portfolio-page.is-portfolio-home .portfolio-card {
  background:
    radial-gradient(circle at 18% 72%, color-mix(in srgb, var(--accent-a) 10%, transparent), transparent 38%),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent-b) 9%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 255, 0.95)) !important;
}

.portfolio-page.is-portfolio-home .portfolio-card-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--accent-a) 5%, #ffffff 95%)),
    radial-gradient(circle at 14% 48%, color-mix(in srgb, var(--accent-a) 9%, transparent), transparent 34%) !important;
}

.portfolio-page.is-portfolio-home .category-visual.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-a) 13%, transparent), transparent 42%),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent-b) 12%, transparent), transparent 40%);
  opacity: 0.84;
}

.portfolio-page.is-portfolio-home .category-banner {
  position: relative;
  z-index: 1;
}

.portfolio-page.is-portfolio-home .category-visual.has-image::after {
  z-index: 2;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.62), transparent 25%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent-a) 96%, #ffffff 4%) 0%, var(--accent-b) 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.58) inset,
    0 13px 25px color-mix(in srgb, var(--accent-b) 36%, transparent),
    0 5px 13px color-mix(in srgb, var(--accent-a) 22%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
}

.portfolio-page.is-portfolio-home .portfolio-card-icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-page.is-portfolio-home .portfolio-card-arrow {
  border-color: color-mix(in srgb, var(--accent-b) 28%, rgba(255, 255, 255, 0.7)) !important;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--accent-a) 7%, #ffffff 93%)) !important;
}

/* Category card copy: keep paired names together and remove secondary CTA text */
.portfolio-page.is-portfolio-home .portfolio-card-copy {
  min-width: 0;
}

.portfolio-page.is-portfolio-home .portfolio-card h3 {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: manual;
}

.portfolio-page.is-portfolio-home .portfolio-meta {
  gap: 0 !important;
}

.portfolio-page.is-portfolio-home .explore-link {
  display: none !important;
}

@media (max-width: 520px) {
  .portfolio-page.is-portfolio-home .portfolio-card-body {
    position: relative;
    min-height: 60px !important;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    padding: 8px 39px 9px 9px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 30px;
    height: 30px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    max-width: 100%;
    margin-bottom: 3px;
    font-size: clamp(10.8px, 2.95vw, 12.5px) !important;
    line-height: 1.06;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    font-size: 8px;
    line-height: 1;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 26px !important;
    height: 26px !important;
    transform: translateY(-50%);
  }
}

@media (max-width: 380px) {
  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 56px !important;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 34px 8px 8px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 28px;
    height: 28px;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    font-size: clamp(10.3px, 2.95vw, 11.4px) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    right: 7px;
    width: 24px !important;
    height: 24px !important;
  }
}

/* Portfolio home responsive grid: laptop 4 columns, tablet 3 columns */
@media (min-width: 1024px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(1180px, calc(100% - 44px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card {
    min-height: 0 !important;
    border-radius: 24px !important;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.38 / 1 !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 104px !important;
    grid-template-columns: 42px minmax(0, 1fr) 34px !important;
    gap: 10px !important;
    padding: 14px 14px 16px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 40px !important;
    height: 40px !important;
    border-width: 3px !important;
    border-radius: 14px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    margin-bottom: 5px !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    font-size: 9px !important;
    letter-spacing: 0.45px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 32px !important;
    height: 32px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(920px, calc(100% - 36px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card {
    min-height: 0 !important;
    border-radius: 23px !important;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.36 / 1 !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-body {
    min-height: 98px !important;
    grid-template-columns: 39px minmax(0, 1fr) 31px !important;
    gap: 9px !important;
    padding: 13px 12px 15px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon {
    width: 37px !important;
    height: 37px !important;
    border-width: 3px !important;
    border-radius: 13px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card h3 {
    margin-bottom: 5px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-meta {
    font-size: 8.5px !important;
    letter-spacing: 0.42px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow {
    width: 30px !important;
    height: 30px !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-card-arrow svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Global mobile bottom navigation lock */
.mobile-bottom-nav {
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  z-index: 80 !important;
  display: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
  --nav-gap: 5px !important;
  padding: 7px !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(15, 23, 42, 0.16) !important;
  contain: layout paint;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-bottom-nav::before {
  content: "" !important;
  position: absolute !important;
  top: 7px !important;
  bottom: 7px !important;
  left: 7px !important;
  z-index: 0 !important;
  width: calc((100% - 14px - (var(--nav-gap) * 3)) / 4) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #14c8ff 0%, #176ee8 52%, #6d5dfc 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 14px 34px rgba(23, 110, 232, 0.26),
    0 0 34px rgba(20, 200, 255, 0.18) !important;
  transform: translate3d(calc((var(--active-index) * (100% + var(--nav-gap))) + var(--nav-drag, 0px)), 0, 0) !important;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .12s ease, width .12s ease !important;
  will-change: transform;
}

.mobile-bottom-nav.nav-animate::before {
  animation: none !important;
}

.mobile-nav-item {
  min-width: 0 !important;
  height: 52px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  border-radius: 13px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(15, 23, 42, 0.56) !important;
  text-decoration: none !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  transition: color .16s ease, transform .18s cubic-bezier(.22, 1, .36, 1), opacity .16s ease !important;
}

.mobile-nav-item svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav-label {
  white-space: nowrap;
}

.mobile-nav-item.is-active {
  color: #0f172a !important;
  background: transparent !important;
}

.mobile-nav-item.is-primary {
  color: #ffffff !important;
  background: transparent !important;
  transform: translateY(-1px) scale(1.01) !important;
}

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: grid !important;
  }
}

@media (max-width: 380px) {
  .mobile-bottom-nav {
    left: 6px !important;
    right: 6px !important;
    bottom: 7px !important;
    gap: 4px !important;
    --nav-gap: 4px !important;
    padding: 6px !important;
    border-radius: 16px !important;
  }

  .mobile-bottom-nav::before {
    top: 6px !important;
    bottom: 6px !important;
    left: 6px !important;
    width: calc((100% - 12px - (var(--nav-gap) * 3)) / 4) !important;
    border-radius: 11px !important;
  }

  .mobile-nav-item {
    height: 50px !important;
    border-radius: 12px !important;
    font-size: 9px !important;
  }

  .mobile-nav-item svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* Premium contact enquiry page */
.contact-page {
  background: #f6fbff;
}

.contact-page .page-shell {
  min-height: 100vh;
  padding-bottom: 124px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 8% 8%, rgba(56, 189, 248, 0.2), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.14), transparent 34%),
    radial-gradient(circle at 12% 76%, rgba(99, 102, 241, 0.1), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f3f9ff 48%, #ffffff 100%);
  background-size: 74px 74px, 74px 74px, auto, auto, auto, auto;
}

.contact-page .page-shell::before,
.contact-page .page-shell::after {
  opacity: 0;
}

.contact-experience {
  width: min(1060px, 100%);
  display: grid;
  gap: 22px;
}

.contact-hero {
  position: relative;
  padding-top: 6px;
}

.contact-eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1477f2;
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-eyebrow span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5ff, #2563eb);
  box-shadow: 0 0 0 6px rgba(14, 165, 255, 0.1);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 34px;
  align-items: center;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #06122f;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.contact-hero h1 span {
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(95deg, #0ea5ff 0%, #2563ff 48%, #a43cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero p {
  max-width: 580px;
  margin: 17px 0 0;
  color: #64748b;
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.42;
  font-weight: 650;
}

.contact-note {
  justify-self: end;
  color: #1477f2;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  text-align: center;
  transform: rotate(-7deg);
  text-shadow: 0 10px 24px rgba(20, 119, 242, 0.16);
}

.contact-note::after {
  content: "";
  display: block;
  width: 150px;
  height: 32px;
  margin: -2px auto 0;
  border-bottom: 4px solid currentColor;
  border-radius: 50%;
  transform: rotate(-10deg);
  opacity: 0.78;
}

.contact-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 13px 18px;
  border: 1px solid rgba(191, 211, 235, 0.74);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(15, 76, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: #111b3d;
  font-size: 15px;
  line-height: 1.16;
  font-weight: 850;
}

.contact-mini-icon,
.why-item span,
.direct-card span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0fb7ee 0%, #1f65ff 58%, #9333ea 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.contact-mini-icon svg,
.why-item svg,
.direct-card svg,
.contact-form-note svg,
.contact-guarantee svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-form-card,
.contact-section-card,
.contact-offer-panel,
.direct-card,
.contact-testimonial,
.contact-final-cta {
  border: 1px solid rgba(191, 211, 235, 0.76);
  background: linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62));
  box-shadow: 0 22px 70px rgba(15, 76, 129, 0.11), inset 0 1px 0 rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.project-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
}

.project-form-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -34% 42%;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 73, 255, 0.13), transparent 68%);
  pointer-events: none;
}

.project-stepper {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(44px, 1fr) max-content;
  align-items: center;
  gap: 22px;
  margin-bottom: 32px;
}

.project-step {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7c86a6;
}

.project-step span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #7582a7;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.project-step strong {
  color: inherit;
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 850;
}

.project-step.is-active {
  color: #091534;
}

.project-step.is-active span {
  border-color: transparent;
  background: linear-gradient(135deg, #0ea5ff, #2563eb);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3), 0 0 0 8px rgba(37, 99, 235, 0.08);
}

.project-step-line {
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.28), rgba(124, 58, 237, 0.18));
}

.form-step {
  position: relative;
  z-index: 1;
  display: none;
}

.form-step.is-active {
  display: block;
}

.contact-field-label,
.contact-field > span {
  display: block;
  margin-bottom: 10px;
  color: #0b1431;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
}

.project-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.project-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-option span {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 18px;
  border: 1px solid rgba(147, 178, 223, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #111b3d;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.project-option svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: #1d6fff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-option input:checked + span {
  border-color: rgba(37, 99, 235, 0.92);
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(232,244,255,0.8));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14), inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.project-option span:hover,
.direct-card:hover,
.contact-guarantee:hover {
  transform: translateY(-2px);
}

.contact-field {
  display: block;
  margin-top: 20px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(147, 178, 223, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: #0b1431;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  outline: none;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-field input {
  min-height: 58px;
  padding: 0 20px;
}

.contact-field textarea {
  min-height: 118px;
  resize: vertical;
  padding: 17px 20px;
  line-height: 1.45;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8390b6;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.82);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255,255,255,0.92);
}

.contact-field small {
  display: block;
  margin-top: 7px;
  color: #7c86a6;
  text-align: right;
  font-size: 14px;
  font-weight: 750;
}

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

.contact-next {
  width: 100%;
  min-height: 64px;
  margin-top: 28px;
  border-radius: 18px;
  font-size: 19px;
}

.contact-next svg,
.contact-final-cta svg {
  width: 24px;
  height: 24px;
}

.two-actions {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: end;
}

.contact-back {
  min-height: 64px;
  margin-top: 28px;
  border: 1px solid rgba(147, 178, 223, 0.62);
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  color: #53607f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.contact-form-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  color: #6f7899;
  font-size: 14px;
  font-weight: 650;
}

.contact-form-note svg {
  width: 18px;
  height: 18px;
  color: #6b6f91;
}

.contact-form-note.is-sent {
  color: #0f766e;
}

.contact-section-card,
.contact-offer-panel,
.contact-testimonial,
.contact-final-cta {
  border-radius: 24px;
  padding: clamp(20px, 3.2vw, 30px);
}

.why-work h2,
.direct-contact h2,
.contact-offer-head h2,
.contact-final-cta h2 {
  margin: 0;
  color: #081330;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111b3d;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
}

.why-item span,
.direct-card span {
  background: linear-gradient(145deg, #ffffff, #e8f4ff);
  color: #1477f2;
  border: 1px solid rgba(191, 211, 235, 0.72);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

.contact-offer-panel {
  background:
    radial-gradient(circle at 10% 12%, rgba(14, 165, 255, 0.16), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(164, 60, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(227,246,255,0.88), rgba(249,246,255,0.82));
}

.contact-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-offer-head a {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid rgba(191, 211, 235, 0.8);
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: #1d6fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.contact-offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 24px 0 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.7);
}

.contact-offer-list ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-offer-list li {
  position: relative;
  padding-left: 42px;
  color: #162046;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.2;
  font-weight: 780;
}

.contact-offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5ff, #2563eb);
  color: #ffffff;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  font-size: 15px;
  font-weight: 950;
}

.contact-guarantee {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  color: #13204b;
  text-decoration: none;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 850;
  transition: transform .18s ease;
}

.contact-guarantee svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5ff, #2563eb);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.contact-guarantee strong {
  color: #1d6fff;
  font-weight: 950;
}

.direct-contact {
  display: grid;
  gap: 16px;
}

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

.direct-card {
  position: relative;
  min-height: 108px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 14px;
  padding: 18px;
  border-radius: 18px;
  color: #0f1838;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.direct-card strong,
.direct-card small {
  grid-column: 2;
}

.direct-card strong {
  align-self: end;
  font-size: 16px;
  font-weight: 900;
}

.direct-card small {
  align-self: start;
  margin-top: 4px;
  color: #53607f;
  font-size: 13px;
  font-weight: 700;
}

.direct-card b {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #1477f2;
  font-size: 22px;
}

.whatsapp-card span {
  color: #18b875;
}

.contact-testimonial {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 18px;
}

.quote-mark {
  grid-row: 1 / span 2;
  color: rgba(37, 99, 235, 0.22);
  font-size: 86px;
  line-height: 0.9;
  font-weight: 950;
}

.contact-testimonial blockquote {
  margin: 0;
  color: #0b1431;
  font-size: clamp(20px, 3.1vw, 30px);
  line-height: 1.18;
  font-weight: 760;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef5ff, #e8e9ff);
  color: #0f1838;
  font-weight: 950;
}

.testimonial-row strong,
.testimonial-row span {
  display: block;
}

.testimonial-row strong {
  color: #0b1431;
  font-size: 18px;
  font-weight: 920;
}

.testimonial-row span {
  margin-top: 3px;
  color: #7682a5;
  font-size: 16px;
  font-weight: 650;
}

.testimonial-stars {
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff8e7;
  color: #d18a00;
  font-size: 16px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(209, 138, 0, 0.14);
}

.contact-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(238, 248, 255, 0.88), rgba(249, 244, 255, 0.9));
}

.contact-final-cta .btn-primary {
  min-width: 248px;
  min-height: 58px;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .contact-experience {
    gap: 18px;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-note {
    justify-self: start;
    font-size: 24px;
    opacity: 0.85;
  }

  .contact-trust-row,
  .why-grid,
  .direct-grid {
    grid-template-columns: 1fr;
  }

  .why-item,
  .contact-trust-item {
    min-height: 62px;
  }
}

@media (max-width: 680px) {
  .contact-page .page-shell {
    padding-bottom: 104px;
    background-size: 58px 58px, 58px 58px, auto, auto, auto, auto;
  }

  .contact-hero {
    padding-top: 0;
  }

  .contact-eyebrow {
    min-height: 30px;
    padding: 7px 14px;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.11em;
  }

  .contact-hero h1 {
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: 1.02;
  }

  .contact-hero h1 span {
    white-space: normal;
  }

  .contact-hero p {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.42;
  }

  .contact-note {
    display: none;
  }

  .contact-trust-row {
    gap: 10px;
  }

  .contact-trust-item {
    min-height: 58px;
    padding: 11px 14px;
    border-radius: 18px;
    font-size: 14px;
  }

  .contact-mini-icon,
  .why-item span,
  .direct-card span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
  }

  .project-form-card,
  .contact-section-card,
  .contact-offer-panel,
  .contact-testimonial,
  .contact-final-cta {
    border-radius: 22px;
    padding: 18px;
  }

  .project-stepper {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .project-step-line {
    display: none;
  }

  .project-step {
    gap: 12px;
  }

  .project-step span {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .project-options,
  .contact-field-grid,
  .contact-offer-list,
  .two-actions {
    grid-template-columns: 1fr;
  }

  .project-options {
    gap: 10px;
    margin-bottom: 22px;
  }

  .project-option span {
    min-height: 54px;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .contact-field {
    margin-top: 16px;
  }

  .contact-field-label,
  .contact-field > span {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .contact-field input {
    min-height: 52px;
    padding: 0 15px;
  }

  .contact-field textarea {
    min-height: 104px;
    padding: 14px 15px;
  }

  .contact-next,
  .contact-back {
    min-height: 56px;
    margin-top: 20px;
    border-radius: 15px;
    font-size: 17px;
  }

  .contact-form-note {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-size: 12.5px;
  }

  .why-work h2,
  .direct-contact h2,
  .contact-offer-head h2,
  .contact-final-cta h2 {
    font-size: 22px;
  }

  .why-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .why-item {
    font-size: 14px;
  }

  .contact-offer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-offer-head a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .contact-offer-list {
    gap: 10px;
    margin: 18px 0 16px;
    padding-bottom: 18px;
  }

  .contact-offer-list li {
    min-height: 28px;
    padding-left: 38px;
    font-size: 16px;
  }

  .contact-guarantee {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 16px;
  }

  .direct-card {
    min-height: 88px;
    padding: 14px;
    border-radius: 16px;
  }

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

  .quote-mark {
    height: 40px;
    font-size: 58px;
  }

  .testimonial-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
  }

  .testimonial-stars {
    grid-column: 1 / -1;
    width: max-content;
    padding: 7px 12px;
  }

  .contact-final-cta {
    display: grid;
  }

  .contact-final-cta .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

/* Contact project type square tiles */
.contact-page .project-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.contact-page .project-option span {
  aspect-ratio: 1 / 1;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 14px 10px;
  text-align: center;
  border-radius: 20px;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.12;
}

.contact-page .project-option svg {
  width: clamp(25px, 2.6vw, 31px);
  height: clamp(25px, 2.6vw, 31px);
  flex-basis: auto;
}

.contact-page .project-option input:checked + span {
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.14),
    inset 0 0 0 1px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

@media (max-width: 900px) {
  .contact-page .project-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-page .project-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-page .project-option span {
    min-height: 0;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 18px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .contact-page .project-options {
    grid-template-columns: 1fr;
  }
}

/* Compact contact project tiles */
@media (max-width: 680px) {
  .contact-page .project-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .contact-page .project-option span {
    aspect-ratio: 1 / 1;
    min-height: 0;
    gap: 7px;
    padding: 8px 5px;
    border-radius: 15px;
    font-size: clamp(11.5px, 2.75vw, 12.5px);
    line-height: 1.08;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .contact-page .project-option svg {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 345px) {
  .contact-page .project-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact why-work benefit boxes */
.contact-page .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .why-item {
  min-height: 126px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(177, 203, 236, 0.72);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 255, 0.1), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.66));
  box-shadow:
    0 16px 38px rgba(15, 76, 129, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.contact-page .why-item span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
}

.contact-page .why-item svg {
  width: 23px;
  height: 23px;
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-page .why-item {
    min-height: 116px;
    padding: 14px;
    border-radius: 18px;
    font-size: 14.5px;
  }
}

@media (max-width: 380px) {
  .contact-page .why-item {
    min-height: 108px;
    padding: 12px;
    font-size: 13.5px;
  }

  .contact-page .why-item span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* Compact contact trust benefit boxes */
.contact-page .contact-trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
}

.contact-page .contact-trust-item {
  min-height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 8px;
  border-radius: 20px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.08;
}

.contact-page .contact-mini-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
}

.contact-page .contact-mini-icon svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 900px) {
  .contact-page .contact-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .contact-page .contact-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-page .contact-trust-item {
    min-height: 76px;
    padding: 9px 5px;
    border-radius: 16px;
    font-size: clamp(10.5px, 2.65vw, 12px);
    line-height: 1.05;
  }

  .contact-page .contact-mini-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }

  .contact-page .contact-mini-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Contact conversion cards premium polish */
.contact-page .contact-trust-item,
.contact-page .why-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-page .contact-trust-item::before,
.contact-page .why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(14, 165, 255, 0.62), rgba(255, 255, 255, 0.34) 38%, rgba(164, 60, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.62;
  pointer-events: none;
  z-index: -1;
}

.contact-page .contact-trust-item::after,
.contact-page .why-item::after {
  content: "";
  position: absolute;
  inset: -55% -35% auto auto;
  width: 105px;
  height: 105px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--card-glow, rgba(37, 99, 235, 0.16)), transparent 68%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.contact-page .contact-trust-item:nth-child(1),
.contact-page .why-item:nth-child(1) {
  --card-accent-a: #0ea5ff;
  --card-accent-b: #2563eb;
  --card-glow: rgba(14, 165, 255, 0.2);
}

.contact-page .contact-trust-item:nth-child(2),
.contact-page .why-item:nth-child(2) {
  --card-accent-a: #2563eb;
  --card-accent-b: #7c3aed;
  --card-glow: rgba(124, 58, 237, 0.19);
}

.contact-page .contact-trust-item:nth-child(3),
.contact-page .why-item:nth-child(3) {
  --card-accent-a: #0fce9a;
  --card-accent-b: #0ea5ff;
  --card-glow: rgba(15, 206, 154, 0.17);
}

.contact-page .why-item:nth-child(4) {
  --card-accent-a: #ff4fb8;
  --card-accent-b: #7c3aed;
  --card-glow: rgba(255, 79, 184, 0.16);
}

.contact-page .contact-trust-item {
  border-color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 255, 0.7)),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.94), transparent 36%);
  box-shadow:
    0 20px 44px rgba(15, 76, 129, 0.12),
    0 8px 20px rgba(37, 99, 235, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.contact-page .contact-mini-icon,
.contact-page .why-item span {
  border: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #7c3aed));
  color: #ffffff;
  box-shadow:
    0 14px 26px color-mix(in srgb, var(--card-accent-b, #2563eb) 26%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -10px 18px rgba(4, 15, 45, 0.12);
}

.contact-page .why-grid {
  gap: 16px;
}

.contact-page .why-item {
  min-height: 138px;
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.66)),
    radial-gradient(circle at 18% 12%, var(--card-glow, rgba(37, 99, 235, 0.13)), transparent 40%);
  box-shadow:
    0 22px 52px rgba(15, 76, 129, 0.11),
    0 9px 22px rgba(37, 99, 235, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-page .why-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 62px rgba(15, 76, 129, 0.14),
    0 12px 28px color-mix(in srgb, var(--card-accent-b, #2563eb) 13%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.contact-page .why-item span {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 18px;
}

.contact-page .why-item span::after {
  content: "";
  position: absolute;
}

.contact-page .why-item {
  color: #071230;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 920;
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    gap: 14px;
  }

  .contact-page .why-item {
    min-height: 130px;
  }
}

@media (max-width: 680px) {
  .contact-page .contact-trust-item {
    min-height: 82px;
    border-radius: 18px;
    font-size: clamp(10.8px, 2.75vw, 12.3px);
  }

  .contact-page .contact-mini-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .contact-page .why-grid {
    gap: 12px;
  }

  .contact-page .why-item {
    min-height: 124px;
    padding: 14px;
    border-radius: 19px;
    font-size: 14.5px;
  }

  .contact-page .why-item span {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .why-item {
    transition: none;
  }

  .contact-page .why-item:hover {
    transform: none;
  }
}

.contact-page .why-item span::after {
  content: none;
}

/* Contact page professional refinement */
.contact-page .page-shell {
  background:
    linear-gradient(rgba(37, 99, 235, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.038) 1px, transparent 1px),
    radial-gradient(circle at 10% 8%, rgba(14, 165, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(124, 58, 237, 0.11), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f4faff 46%, #ffffff 100%);
  background-size: 78px 78px, 78px 78px, auto, auto, auto;
}

.contact-page .contact-experience {
  width: min(980px, 100%);
  gap: 18px;
}

.contact-page .contact-hero {
  padding: 8px 2px 2px;
}

.contact-page .contact-hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.contact-page .contact-note {
  display: none;
}

.contact-page .contact-eyebrow {
  min-height: 31px;
  margin-bottom: 14px;
  padding: 7px 15px;
  border-color: rgba(177, 203, 236, 0.62);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.contact-page .contact-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.25vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.contact-page .contact-hero p {
  max-width: 600px;
  margin-top: 13px;
  color: #65718f;
  font-size: clamp(15.5px, 1.85vw, 19px);
  line-height: 1.46;
  font-weight: 620;
}

.contact-page .contact-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(188, 211, 239, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 44px rgba(15, 76, 129, 0.085), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-page .contact-trust-item {
  min-height: 74px;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid rgba(205, 221, 243, 0.78);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #071230;
  font-size: 12.5px;
  font-weight: 900;
}

.contact-page .contact-trust-item::before,
.contact-page .contact-trust-item::after {
  content: none;
}

.contact-page .contact-mini-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  box-shadow: 0 12px 22px color-mix(in srgb, var(--card-accent-b, #2563eb) 22%, transparent), inset 0 1px 0 rgba(255,255,255,0.36);
}

.contact-page .project-form-card {
  margin-top: 4px;
  border-radius: 30px;
  border-color: rgba(185, 207, 236, 0.78);
  background:
    radial-gradient(circle at 88% 4%, rgba(124, 58, 237, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,252,255,0.74));
  box-shadow: 0 26px 72px rgba(15, 76, 129, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

.contact-page .project-form-card::before {
  opacity: 0.55;
}

.contact-page .project-stepper {
  margin-bottom: 26px;
}

.contact-page .project-step span {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

.contact-page .project-step strong,
.contact-page .contact-field-label,
.contact-page .contact-field > span {
  color: #071230;
}

.contact-page .project-option span {
  border-color: rgba(184, 207, 238, 0.82);
  background:
    radial-gradient(circle at 20% 12%, rgba(14, 165, 255, 0.075), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(249,252,255,0.72));
  color: #071230;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.045), inset 0 1px 0 rgba(255,255,255,0.94);
}

.contact-page .project-option input:checked + span {
  border-color: rgba(37, 99, 235, 0.9);
  background:
    radial-gradient(circle at 22% 16%, rgba(14, 165, 255, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,248,255,0.84));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.13), inset 0 0 0 1px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255,255,255,0.96);
}

.contact-page .contact-field input,
.contact-page .contact-field textarea {
  border-color: rgba(184, 207, 238, 0.82);
  background: rgba(255, 255, 255, 0.78);
  color: #071230;
}

.contact-page .why-work {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(14, 165, 255, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(248,252,255,0.7));
}

.contact-page .why-work h2 {
  max-width: 620px;
  font-size: clamp(25px, 3vw, 32px);
}

.contact-page .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.contact-page .why-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid rgba(195, 215, 241, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(248,252,255,0.76));
  box-shadow: 0 16px 34px rgba(15, 76, 129, 0.075), inset 0 1px 0 rgba(255,255,255,0.96);
  color: #071230;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 920;
}

.contact-page .why-item::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  padding: 0;
  background: linear-gradient(90deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  -webkit-mask: none;
  mask: none;
  opacity: 0.78;
  z-index: 1;
}

.contact-page .why-item::after {
  top: 15px;
  right: 15px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: color-mix(in srgb, var(--card-accent-b, #2563eb) 35%, #94a3b8);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  opacity: 0.58;
  z-index: 2;
}

.contact-page .why-item:nth-child(1)::after { content: "01"; }
.contact-page .why-item:nth-child(2)::after { content: "02"; }
.contact-page .why-item:nth-child(3)::after { content: "03"; }
.contact-page .why-item:nth-child(4)::after { content: "04"; }

.contact-page .why-item span {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 16px;
}

.contact-page .why-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 76, 129, 0.105), inset 0 1px 0 rgba(255,255,255,0.98);
}

.contact-page .contact-final-cta {
  border-radius: 28px;
  border-color: rgba(185, 207, 236, 0.74);
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 255, 0.12), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(124, 58, 237, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(246,250,255,0.72));
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-page .contact-experience {
    gap: 15px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(34px, 10.3vw, 46px);
    line-height: 1.03;
  }

  .contact-page .contact-hero p {
    font-size: 14.5px;
    line-height: 1.42;
  }

  .contact-page .contact-trust-row {
    gap: 7px;
    padding: 7px;
    border-radius: 20px;
  }

  .contact-page .contact-trust-item {
    min-height: 72px;
    padding: 8px 4px;
    border-radius: 15px;
    font-size: clamp(10px, 2.55vw, 11.5px);
  }

  .contact-page .contact-mini-icon {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
    border-radius: 12px;
  }

  .contact-page .project-form-card,
  .contact-page .why-work,
  .contact-page .contact-final-cta {
    border-radius: 22px;
  }

  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .contact-page .why-item {
    min-height: 112px;
    padding: 12px;
    border-radius: 17px;
    font-size: 13.5px;
  }

  .contact-page .why-item span {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  .contact-page .why-item::before {
    left: 12px;
    right: 12px;
  }

  .contact-page .why-item::after {
    top: 12px;
    right: 12px;
    font-size: 10.5px;
  }
}

/* Contact lovable premium sections */
.contact-page .contact-trust-row {
  position: relative;
  overflow: hidden;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(177, 203, 236, 0.74);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 0%, rgba(14, 165, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(124, 58, 237, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 54px rgba(15, 76, 129, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.contact-page .contact-trust-row::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
}

.contact-page .contact-trust-item {
  min-height: 86px;
  display: grid;
  grid-template-rows: 38px auto auto;
  align-items: center;
  justify-items: center;
  gap: 5px;
  padding: 12px 8px 10px;
  border: 1px solid rgba(202, 220, 244, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(249,252,255,0.78));
  box-shadow: 0 12px 26px rgba(15, 76, 129, 0.055), inset 0 1px 0 rgba(255,255,255,0.98);
}

.contact-page .contact-trust-item::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 34px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, var(--card-glow, rgba(37,99,235,0.15)), transparent 72%);
  opacity: 0.92;
  z-index: -1;
}

.contact-page .contact-trust-item::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  opacity: 0.82;
  z-index: 1;
}

.contact-page .contact-trust-item strong {
  color: #071230;
  font-size: clamp(12px, 1.45vw, 14px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

.contact-page .contact-trust-item small {
  color: #667392;
  font-size: 11px;
  line-height: 1;
  font-weight: 780;
}

.contact-page .contact-mini-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  box-shadow:
    0 13px 24px color-mix(in srgb, var(--card-accent-b, #2563eb) 24%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -10px 18px rgba(5, 17, 45, 0.1);
}

.contact-page .why-work {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border-color: rgba(178, 204, 235, 0.78);
  background:
    radial-gradient(circle at 8% 4%, rgba(14, 165, 255, 0.1), transparent 30%),
    radial-gradient(circle at 96% 10%, rgba(124, 58, 237, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,252,255,0.72));
  box-shadow: 0 24px 68px rgba(15, 76, 129, 0.105), inset 0 1px 0 rgba(255,255,255,0.96);
}

.contact-page .why-work h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(24px, 3vw, 31px);
}

.contact-page .why-work h2::before {
  content: "";
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5ff, #7c3aed);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.contact-page .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-page .why-item {
  min-height: 176px;
  display: grid;
  grid-template-rows: 54px 1fr;
  gap: 16px;
  align-content: start;
  padding: 17px;
  border: 1px solid rgba(198, 217, 243, 0.82);
  border-radius: 23px;
  background:
    radial-gradient(circle at 16% 10%, var(--card-glow, rgba(37,99,235,0.14)), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,252,255,0.76));
  box-shadow:
    0 18px 42px rgba(15, 76, 129, 0.082),
    inset 0 1px 0 rgba(255,255,255,0.98);
}

.contact-page .why-item::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 4px;
  border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  opacity: 0.78;
  -webkit-mask: none;
  mask: none;
  padding: 0;
  z-index: 1;
}

.contact-page .why-item::after {
  top: 17px;
  right: 17px;
  color: color-mix(in srgb, var(--card-accent-b, #2563eb) 45%, #94a3b8);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  opacity: 0.7;
  z-index: 2;
}

.contact-page .why-item:nth-child(1)::after { content: "01"; }
.contact-page .why-item:nth-child(2)::after { content: "02"; }
.contact-page .why-item:nth-child(3)::after { content: "03"; }
.contact-page .why-item:nth-child(4)::after { content: "04"; }

.contact-page .why-item span {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 18px;
  align-self: start;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.3), rgba(255,255,255,0.08)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  color: #ffffff;
  box-shadow:
    0 16px 28px color-mix(in srgb, var(--card-accent-b, #2563eb) 24%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -10px 20px rgba(5, 17, 45, 0.11);
}

.contact-page .why-copy {
  display: grid;
  gap: 7px;
}

.contact-page .why-copy strong {
  color: #071230;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.contact-page .why-copy small {
  color: #64718f;
  font-size: clamp(12.5px, 1.3vw, 14px);
  line-height: 1.35;
  font-weight: 650;
}

.contact-page .why-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 58px rgba(15, 76, 129, 0.12),
    0 12px 24px color-mix(in srgb, var(--card-accent-b, #2563eb) 10%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.98);
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-page .contact-trust-row {
    gap: 7px;
    padding: 7px;
    border-radius: 22px;
  }

  .contact-page .contact-trust-item {
    min-height: 82px;
    padding: 10px 5px 9px;
    border-radius: 17px;
  }

  .contact-page .contact-trust-item strong {
    font-size: clamp(10.5px, 2.65vw, 12px);
  }

  .contact-page .contact-trust-item small {
    display: none;
  }

  .contact-page .contact-mini-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 13px;
  }

  .contact-page .why-work {
    border-radius: 24px;
  }

  .contact-page .why-work h2 {
    gap: 10px;
    font-size: clamp(23px, 6vw, 28px);
  }

  .contact-page .why-work h2::before {
    width: 26px;
    height: 5px;
  }

  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .contact-page .why-item {
    min-height: 160px;
    grid-template-rows: 46px 1fr;
    gap: 13px;
    padding: 13px;
    border-radius: 19px;
  }

  .contact-page .why-item span {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    border-radius: 15px;
  }

  .contact-page .why-item svg {
    width: 22px;
    height: 22px;
  }

  .contact-page .why-copy strong {
    font-size: clamp(13.5px, 3.5vw, 15px);
  }

  .contact-page .why-copy small {
    font-size: clamp(11.2px, 2.85vw, 12px);
    line-height: 1.28;
  }

  .contact-page .why-item::after {
    top: 13px;
    right: 13px;
    font-size: 10.5px;
  }
}

/* Restore clean why-work cards */
.contact-page .why-work h2 {
  display: block;
  max-width: none;
  font-size: clamp(25px, 3.4vw, 34px);
}

.contact-page .why-work h2::before {
  content: none;
}

.contact-page .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-page .why-item {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(177, 203, 236, 0.72);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 255, 0.1), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 251, 255, 0.7));
  box-shadow:
    0 16px 38px rgba(15, 76, 129, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  color: #071230;
  font-size: 15.5px;
  line-height: 1.12;
  font-weight: 920;
}

.contact-page .why-item::before,
.contact-page .why-item::after {
  content: none !important;
}

.contact-page .why-item span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb));
  color: #ffffff;
  box-shadow:
    0 14px 26px color-mix(in srgb, var(--card-accent-b, #2563eb) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.38);
}

.contact-page .why-copy {
  display: contents;
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .contact-page .why-work h2 {
    font-size: clamp(24px, 6.7vw, 30px);
  }

  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .contact-page .why-item {
    min-height: 116px;
    padding: 14px;
    border-radius: 18px;
    font-size: 14.5px;
  }

  .contact-page .why-item span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 15px;
  }
}

/* Force older simple why-work layout */
.contact-page .why-work {
  padding: clamp(22px, 4vw, 34px) !important;
  border-radius: 28px !important;
  border: 1px solid rgba(184, 207, 238, 0.78) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 255, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(249,252,255,0.68)) !important;
  box-shadow: 0 22px 58px rgba(15, 76, 129, 0.1), inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.contact-page .why-work h2 {
  display: block !important;
  margin: 0 !important;
  max-width: 100% !important;
  color: #071230 !important;
  font-size: clamp(28px, 4.4vw, 38px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  text-align: left !important;
}

.contact-page .why-work h2::before,
.contact-page .why-work h2::after {
  content: none !important;
  display: none !important;
}

.contact-page .why-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  margin-top: 30px !important;
}

.contact-page .why-item {
  min-height: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #071230 !important;
  font-size: clamp(18px, 3.8vw, 23px) !important;
  line-height: 1.08 !important;
  font-weight: 920 !important;
  transform: none !important;
  overflow: visible !important;
  isolation: auto !important;
}

.contact-page .why-item::before,
.contact-page .why-item::after {
  content: none !important;
  display: none !important;
}

.contact-page .why-item span {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(184, 207, 238, 0.78) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(239,247,255,0.72)) !important;
  color: #1477f2 !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255,255,255,0.95) !important;
}

.contact-page .why-item svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 2.35 !important;
}

.contact-page .why-copy {
  display: contents !important;
}

@media (min-width: 760px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .contact-page .why-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 18px !important;
    border: 1px solid rgba(195, 215, 241, 0.72) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.58) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86) !important;
    font-size: 17px !important;
  }
}

@media (max-width: 680px) {
  .contact-page .why-work {
    padding: 22px 24px !important;
    border-radius: 24px !important;
  }

  .contact-page .why-work h2 {
    font-size: clamp(27px, 7vw, 34px) !important;
  }

  .contact-page .why-grid {
    gap: 26px !important;
    margin-top: 28px !important;
  }

  .contact-page .why-item span {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px !important;
    border-radius: 17px !important;
  }

  .contact-page .why-item svg {
    width: 25px !important;
    height: 25px !important;
  }
}

/* Final corrected why-work boxed layout */
.contact-page .why-work {
  padding: clamp(18px, 3vw, 26px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(184, 207, 238, 0.78) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(14, 165, 255, 0.075), transparent 28%),
    radial-gradient(circle at 95% 0%, rgba(124, 58, 237, 0.075), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(249,252,255,0.7)) !important;
  box-shadow: 0 20px 54px rgba(15, 76, 129, 0.09), inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.contact-page .why-work h2 {
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  color: #071230 !important;
  font-size: clamp(20px, 5.2vw, 26px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

.contact-page .why-work h2::before,
.contact-page .why-work h2::after {
  content: none !important;
  display: none !important;
}

.contact-page .why-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

.contact-page .why-item {
  min-height: 118px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(192, 214, 242, 0.8) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 255, 0.085), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.72)) !important;
  box-shadow: 0 14px 32px rgba(15, 76, 129, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  color: #071230 !important;
  font-size: clamp(13.5px, 2.8vw, 16px) !important;
  line-height: 1.1 !important;
  font-weight: 920 !important;
  transform: none !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.contact-page .why-item::before,
.contact-page .why-item::after {
  content: none !important;
  display: none !important;
}

.contact-page .why-item span {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(184, 207, 238, 0.74) !important;
  border-radius: 15px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb)) !important;
  color: #ffffff !important;
  box-shadow: 0 13px 25px color-mix(in srgb, var(--card-accent-b, #2563eb) 20%, transparent), inset 0 1px 0 rgba(255,255,255,0.38) !important;
}

.contact-page .why-item svg {
  width: 23px !important;
  height: 23px !important;
  stroke-width: 2.35 !important;
}

.contact-page .why-copy {
  display: contents !important;
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .contact-page .why-work {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .contact-page .why-work h2 {
    font-size: clamp(19px, 5.25vw, 22px) !important;
  }

  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 15px !important;
  }

  .contact-page .why-item {
    min-height: 112px !important;
    padding: 12px !important;
    border-radius: 16px !important;
    font-size: clamp(12.5px, 3.35vw, 14px) !important;
  }

  .contact-page .why-item span {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 14px !important;
  }

  .contact-page .why-item svg {
    width: 21px !important;
    height: 21px !important;
  }
}

@media (max-width: 360px) {
  .contact-page .why-work h2 {
    font-size: 18px !important;
  }
}

/* Clean final contact trust strip */
.contact-page .contact-trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  padding: 7px !important;
  border: 1px solid rgba(186, 208, 236, 0.68) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 16px 38px rgba(15, 76, 129, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.contact-page .contact-trust-row::before,
.contact-page .contact-trust-row::after {
  content: none !important;
  display: none !important;
}

.contact-page .contact-trust-item {
  min-height: 68px !important;
  display: grid !important;
  grid-template-rows: 32px auto !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 6px !important;
  padding: 9px 5px 8px !important;
  border: 1px solid rgba(202, 220, 244, 0.78) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(249,252,255,0.78)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.98) !important;
  color: #071230 !important;
  text-align: center !important;
  transform: none !important;
  overflow: hidden !important;
}

.contact-page .contact-trust-item::before,
.contact-page .contact-trust-item::after {
  content: none !important;
  display: none !important;
}

.contact-page .contact-trust-item strong {
  max-width: 100% !important;
  color: #071230 !important;
  font-size: clamp(10.2px, 2.45vw, 12px) !important;
  line-height: 1.05 !important;
  font-weight: 880 !important;
  letter-spacing: 0 !important;
}

.contact-page .contact-trust-item small {
  display: none !important;
}

.contact-page .contact-mini-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #0ea5ff, #2563eb 64%, #7c3aed) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16), inset 0 1px 0 rgba(255,255,255,0.34) !important;
}

.contact-page .contact-trust-item:nth-child(2) .contact-mini-icon {
  background: linear-gradient(135deg, #4f8cff, #6457e8) !important;
}

.contact-page .contact-trust-item:nth-child(3) .contact-mini-icon {
  background: linear-gradient(135deg, #27c5ad, #1689f2) !important;
}

.contact-page .contact-mini-icon svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 2.55 !important;
}

@media (max-width: 380px) {
  .contact-page .contact-trust-row {
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 19px !important;
  }

  .contact-page .contact-trust-item {
    min-height: 62px !important;
    grid-template-rows: 29px auto !important;
    gap: 5px !important;
    border-radius: 14px !important;
  }

  .contact-page .contact-mini-icon {
    width: 29px !important;
    height: 29px !important;
    flex-basis: 29px !important;
  }

  .contact-page .contact-trust-item strong {
    font-size: 9.8px !important;
  }
}

/* Refined why-work cards without adding elements */
.contact-page .why-work {
  padding: clamp(16px, 3vw, 24px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(184, 207, 238, 0.76) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 255, 0.065), transparent 30%),
    radial-gradient(circle at 100% 2%, rgba(124, 58, 237, 0.06), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.76)) !important;
  box-shadow: 0 18px 46px rgba(15, 76, 129, 0.085), inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

.contact-page .why-work h2 {
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  color: #071230 !important;
  font-size: clamp(19px, 5vw, 24px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

.contact-page .why-work h2::before,
.contact-page .why-work h2::after,
.contact-page .why-item::before,
.contact-page .why-item::after,
.contact-page .why-item span::after {
  content: none !important;
  display: none !important;
}

.contact-page .why-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

.contact-page .why-item {
  min-height: 126px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(190, 214, 244, 0.82) !important;
  border-radius: 19px !important;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--card-accent-a, #0ea5ff) 10%, transparent), transparent 42%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.8)) !important;
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #071230 !important;
  font-size: clamp(13px, 2.75vw, 15.5px) !important;
  line-height: 1.08 !important;
  font-weight: 920 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.contact-page .why-item:hover {
  transform: translateY(-2px) !important;
  border-color: color-mix(in srgb, var(--card-accent-b, #2563eb) 28%, rgba(190, 214, 244, 0.82)) !important;
  box-shadow: 0 16px 34px rgba(15, 76, 129, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.contact-page .why-item span {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 15px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, var(--card-accent-a, #0ea5ff), var(--card-accent-b, #2563eb)) !important;
  color: #ffffff !important;
  box-shadow: 0 11px 22px color-mix(in srgb, var(--card-accent-b, #2563eb) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

.contact-page .why-item svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 2.35 !important;
}

@media (max-width: 900px) {
  .contact-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .contact-page .why-work {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .contact-page .why-work h2 {
    font-size: clamp(18px, 4.95vw, 21px) !important;
  }

  .contact-page .why-grid {
    gap: 9px !important;
    margin-top: 14px !important;
  }

  .contact-page .why-item {
    min-height: 112px !important;
    padding: 12px !important;
    border-radius: 16px !important;
    font-size: clamp(12px, 3.15vw, 13.5px) !important;
  }

  .contact-page .why-item span {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 14px !important;
  }

  .contact-page .why-item svg {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 360px) {
  .contact-page .why-work h2 {
    font-size: 17px !important;
  }

  .contact-page .why-grid {
    gap: 8px !important;
  }

  .contact-page .why-item {
    min-height: 104px !important;
    padding: 10px !important;
  }
}

/* Keep why-work labels single-line and icons centered */
.contact-page .why-item {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 13px !important;
  white-space: nowrap !important;
}

.contact-page .why-item span {
  align-self: center !important;
  margin-inline: auto !important;
}

@media (max-width: 680px) {
  .contact-page .why-item {
    min-height: 106px !important;
    padding: 12px 8px !important;
    font-size: clamp(11.2px, 3.05vw, 13px) !important;
    gap: 11px !important;
  }
}

@media (max-width: 360px) {
  .contact-page .why-item {
    font-size: 10.8px !important;
    letter-spacing: -0.1px !important;
  }
}

/* Match contact hero heading scale with the rest of the site */
.contact-page .contact-hero h1 {
  max-width: 680px !important;
  font-size: clamp(34px, 5.35vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

.contact-page .contact-hero h1 span {
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .contact-page .contact-hero h1 {
    max-width: 390px !important;
    font-size: clamp(30px, 8.25vw, 34px) !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 360px) {
  .contact-page .contact-hero h1 {
    font-size: clamp(28px, 8vw, 31px) !important;
  }
}

/* Match contact eyebrow pill with the other page headings */
.contact-page .contact-eyebrow {
  width: max-content !important;
  height: 30px !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 14px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.76) !important;
  color: #1777ee !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.contact-page .contact-eyebrow span {
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 999px !important;
  background: #2585f8 !important;
  box-shadow: 0 0 0 4px rgba(37, 133, 248, 0.08) !important;
}

@media (max-width: 680px) {
  .contact-page .contact-eyebrow {
    height: 25px !important;
    min-height: 25px !important;
    gap: 8px !important;
    padding: 0 11px !important;
    margin-bottom: 9px !important;
    font-size: 9px !important;
  }

  .contact-page .contact-eyebrow span {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
    box-shadow: 0 0 0 4px rgba(37, 133, 248, 0.08) !important;
  }
}


/* Scroll-linked services offer timeline */
.services-page .offer-timeline {
  --offer-glow-top: 0px;
  --offer-glow-opacity: 0;
}
.services-page .offer-step,
.services-page .offer-number,
.services-page .offer-number::before,
.services-page .offer-card,
.services-page .offer-icon,
.services-page .offer-arrow,
.services-page .offer-step:not(:last-child)::after {
  animation: none !important;
}
.services-page .offer-step:not(:last-child)::after {
  display: block !important;
  top: 52px;
  height: 70px;
  bottom: auto;
  opacity: 0;
  transform: translateY(-8px) scaleY(0.2);
}
.services-page .offer-timeline::after {
  content: "";
  position: absolute;
  left: 22px;
  top: var(--offer-glow-top);
  z-index: 1;
  width: 4px;
  height: var(--offer-glow-height, 82px);
  border-radius: 999px;
  opacity: var(--offer-glow-opacity);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--offer-active-a, #1196ff), var(--offer-active-b, #7c4dff), transparent);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--offer-active-a, #1196ff) 44%, transparent),
    0 0 30px color-mix(in srgb, var(--offer-active-b, #7c4dff) 32%, transparent);
  transform: translateX(0);
  transition: top 90ms linear, opacity 180ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: top, opacity;
}
.services-page .offer-step .offer-number,
.services-page .offer-step .offer-card,
.services-page .offer-step .offer-icon,
.services-page .offer-step .offer-arrow {
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease, border-color 260ms ease, color 260ms ease, filter 260ms ease;
}
.services-page .offer-step.is-active .offer-number {
  filter: brightness(1.12) saturate(1.12);
  transform: translateY(-1px) scale(1.055);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.62) inset,
    0 0 22px color-mix(in srgb, var(--step-b) 46%, transparent),
    0 16px 34px color-mix(in srgb, var(--step-b) 34%, transparent);
}
.services-page .offer-step.is-active .offer-number::before {
  opacity: 0.68;
  transform: scale(1.04);
}
.services-page .offer-step.is-active .offer-card {
  border-color: color-mix(in srgb, var(--step-b) 38%, rgba(148, 163, 184, 0.2));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 18px 44px rgba(15, 23, 42, 0.09),
    0 0 0 1px color-mix(in srgb, var(--step-a) 10%, transparent),
    0 0 36px color-mix(in srgb, var(--step-b) 16%, transparent);
  transform: translateX(3px) translateY(-1px);
}
.services-page .offer-step.is-active .offer-icon,
.services-page .offer-step.is-active .offer-arrow {
  color: #ffffff;
  border-color: transparent;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.5), transparent 36%),
    linear-gradient(145deg, var(--step-a), var(--step-b));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.48) inset,
    0 0 24px color-mix(in srgb, var(--step-b) 34%, transparent),
    0 13px 26px color-mix(in srgb, var(--step-a) 22%, transparent);
}
.services-page .offer-step.is-active .offer-icon { transform: translateY(-1px) scale(1.035); }
.services-page .offer-step.is-active .offer-arrow { transform: translateX(2px); }
.services-page .offer-step.is-near .offer-number {
  transform: scale(1.02);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 14px 30px color-mix(in srgb, var(--step-b) 24%, transparent),
    0 0 18px color-mix(in srgb, var(--step-b) 18%, transparent);
}
@media (max-width: 520px) {
  .services-page .offer-timeline::after {
    left: 22.5px;
    width: 3px;
    height: var(--offer-glow-height, 68px);
  }
  .services-page .offer-step.is-active .offer-card {
    transform: translateX(2px) translateY(-1px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-page .offer-timeline::after,
  .services-page .offer-step .offer-number,
  .services-page .offer-step .offer-card,
  .services-page .offer-step .offer-icon,
  .services-page .offer-step .offer-arrow {
    transition: none !important;
  }
}

/* Refined services timeline rail */
.services-page .offer-step:not(:last-child)::before,
.services-page .offer-step:not(:last-child)::after {
  display: none !important;
}

.services-page .offer-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  z-index: 0;
  width: 2px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(17, 150, 255, .08),
    rgba(17, 150, 255, .23) 18%,
    rgba(124, 77, 255, .18) 54%,
    rgba(217, 70, 239, .14) 82%,
    rgba(217, 70, 239, .06)
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .52),
    0 0 14px rgba(37, 99, 235, .08);
}

.services-page .offer-timeline::after {
  left: 22px;
  z-index: 1;
  width: 4px;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--offer-active-a, #1196ff) 92%, white),
    var(--offer-active-b, #7c4dff),
    transparent
  );
  box-shadow:
    0 0 12px color-mix(in srgb, var(--offer-active-a, #1196ff) 38%, transparent),
    0 0 26px color-mix(in srgb, var(--offer-active-b, #7c4dff) 24%, transparent);
  filter: blur(.1px);
}

.services-page .offer-number {
  z-index: 3;
}

.services-page .offer-card {
  position: relative;
  z-index: 2;
}

@media (min-width: 760px) {
  .services-page .offer-timeline::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
  }

  .services-page .offer-timeline::after {
    left: 25px;
  }
}

@media (max-width: 520px) {
  .services-page .offer-timeline::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
  }

  .services-page .offer-timeline::after {
    left: 20px;
    width: 3px;
  }
}
/* Services timeline: remove the distracting connector line. */
.services-page .offer-timeline::before,
.services-page .offer-timeline::after,
.services-page .offer-step:not(:last-child)::before,
.services-page .offer-step:not(:last-child)::after {
  display: none !important;
  content: none !important;
}

.services-page .offer-number {
  position: relative;
  z-index: 3;
}
/* Services timeline: gap-only connectors, calculated between each pair of circles. */
.services-page .offer-timeline::before,
.services-page .offer-timeline::after {
  display: none !important;
  content: none !important;
}

.services-page .offer-step:not(:last-child)::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: var(--connector-top, 60px) !important;
  bottom: auto !important;
  left: 23px !important;
  z-index: 0 !important;
  width: 2px !important;
  height: var(--connector-height, 24px) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--step-a) 22%, white),
    color-mix(in srgb, var(--step-b) 28%, white),
    rgba(255, 255, 255, .36)
  ) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .34),
    0 0 12px color-mix(in srgb, var(--step-b) 16%, transparent) !important;
}

.services-page .offer-number {
  z-index: 3 !important;
}

.services-page .offer-card {
  position: relative !important;
  z-index: 2 !important;
}

@media (min-width: 760px) {
  .services-page .offer-step:not(:last-child)::before {
    left: 27px !important;
  }
}

@media (max-width: 520px) {
  .services-page .offer-step:not(:last-child)::before {
    left: 21px !important;
    width: 2px !important;
  }
}
/* Laptop header matches the home page */
.top-nav .hero-desktop-menu {
  display: none;
}

@media (min-width: 901px) {
  .top-nav,
  .portfolio-page .top-nav {
    width: min(1200px, calc(100% - 32px)) !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 14px auto clamp(32px, 4vw, 56px) !important;
    padding: 0 10px 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 9999px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 12px 32px -4px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    position: sticky !important;
    top: 14px !important;
    z-index: 1000 !important;
    overflow: visible !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .top-nav::before,
  .portfolio-page .top-nav::before {
    display: none !important;
  }

  .brand,
  .portfolio-page .brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }

  .brand-mark,
  .portfolio-page .brand-mark {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 11px !important;
    background: #090d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 8px rgba(9, 13, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
  }

  .brand:hover .brand-mark,
  .portfolio-page .brand:hover .brand-mark {
    transform: scale(1.04) translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }

  .brand-mark svg,
  .portfolio-page .brand-mark svg {
    width: 26px !important;
    height: 26px !important;
    display: block !important;
  }

  .brand-copy,
  .portfolio-page .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1.1 !important;
  }

  .brand-name,
  .portfolio-page .brand-name {
    font-size: 16.5px !important;
    font-weight: 750 !important;
    color: #090d16 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.15 !important;
  }

  .brand-tagline,
  .portfolio-page .brand-tagline {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
    line-height: 1 !important;
    display: block !important;
  }

  .brand-name::after,
  .brand-tagline::after,
  .portfolio-page .brand-name::after,
  .portfolio-page .brand-tagline::after {
    content: none !important;
    display: none !important;
  }

  .top-nav .hero-desktop-menu {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px !important;
    background: rgba(241, 245, 249, 0.72) !important;
    border: 1px solid rgba(226, 232, 240, 0.75) !important;
    border-radius: 9999px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    margin: 0 !important;
  }

  .top-nav .hero-desktop-menu a {
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 15px !important;
    border-radius: 9999px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .top-nav .hero-desktop-menu a:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.65) !important;
    transform: none !important;
  }

  .top-nav .hero-desktop-menu a[aria-current="page"] {
    color: #0f172a !important;
    font-weight: 650 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 3px 8px -1px rgba(15, 23, 42, 0.04) !important;
    transform: none !important;
  }

  .top-actions,
  .portfolio-page .top-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
  }

  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    height: 42px !important;
    min-height: 42px !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 20px !important;
    border-radius: 9999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 52%, #4f46e5 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2), 0 6px 18px -2px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .btn-primary.top-start:hover,
  .portfolio-page .btn-primary.top-start:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28), 0 10px 24px -2px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }

  .btn-primary.top-start:active,
  .portfolio-page .btn-primary.top-start:active {
    transform: translateY(0) scale(0.98) !important;
  }

  .btn-primary.top-start svg,
  .portfolio-page .btn-primary.top-start svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5 !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
  }

  .btn-primary.top-start:hover svg,
  .portfolio-page .btn-primary.top-start:hover svg {
    transform: translateX(3px) !important;
  }

  .btn-primary.top-start span,
  .portfolio-page .btn-primary.top-start span {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  .btn-primary.top-start span::before,
  .portfolio-page .btn-primary.top-start span::before {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 900px) {
  .top-nav,
  .portfolio-page .top-nav {
    width: calc(100% - 24px) !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 8px auto 24px !important;
    padding: 0 10px 0 14px !important;
    border-radius: 9999px !important;
    top: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-mark,
  .portfolio-page .brand-mark {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border-radius: 9px !important;
  }
  .brand-mark svg,
  .portfolio-page .brand-mark svg {
    width: 22px !important;
    height: 22px !important;
  }
  .brand-name,
  .portfolio-page .brand-name {
    font-size: 15px !important;
  }
  .brand-tagline,
  .portfolio-page .brand-tagline {
    font-size: 9.5px !important;
  }
  .top-nav .hero-desktop-menu {
    display: none !important;
  }
  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
    gap: 6px !important;
  }
  .btn-primary.top-start span,
  .portfolio-page .btn-primary.top-start span {
    font-size: 12.5px !important;
  }
}
/* Global laptop polish: sticky header, progress bar, cursor animation */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147482000;
  height: 4px;
  pointer-events: none;
  background: rgba(226, 242, 255, 0.56);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #10c4f7 0%, #176ee8 52%, #9c27ef 100%);
  box-shadow: 0 0 16px rgba(23, 110, 232, 0.42);
  will-change: transform;
}

@media (min-width: 901px) {
  .top-nav,
  .hero-topbar {
    position: sticky !important;
    top: 12px !important;
    z-index: 1000 !important;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease !important;
  }

  body.kg-scrolled .top-nav,
  body.kg-scrolled .hero-topbar {
    box-shadow: 0 18px 46px rgba(15, 76, 129, 0.13), inset 0 1px 0 rgba(255,255,255,.96) !important;
    border-color: rgba(149, 190, 244, 0.76) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(24px) !important;
  }

  .kg-cursor-dot,
  .kg-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147481999;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 180ms ease, width 180ms ease, height 180ms ease, background 180ms ease, border-color 180ms ease;
    will-change: transform, opacity;
  }

  .kg-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #176ee8;
    box-shadow: 0 0 18px rgba(23, 110, 232, .42);
  }

  .kg-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(23, 110, 232, .34);
    border-radius: 999px;
    background: rgba(23, 110, 232, .045);
    box-shadow: 0 10px 26px rgba(23, 110, 232, .08);
  }

  body.kg-cursor-visible .kg-cursor-dot,
  body.kg-cursor-visible .kg-cursor-ring {
    opacity: 1;
  }

  body.kg-cursor-hover .kg-cursor-dot {
    width: 5px;
    height: 5px;
    background: #ffffff;
  }

  body.kg-cursor-hover .kg-cursor-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(23, 110, 232, .46);
    background: rgba(23, 110, 232, .13);
  }
}

@media (max-width: 900px) {
  .scroll-progress { height: 3px; }
  .kg-cursor-dot,
  .kg-cursor-ring { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .kg-cursor-dot,
  .kg-cursor-ring { display: none !important; }
}

/* Final portfolio category, sticky header, and shared WhatsApp polish */
@media (min-width: 901px) {
  html {
    scroll-padding-top: 118px;
  }

  .top-nav,
  .portfolio-page .top-nav {
    position: sticky !important;
    top: 12px !important;
    z-index: 2147481500 !important;
    isolation: isolate !important;
    backdrop-filter: blur(24px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.1) !important;
  }

  body.kg-scrolled .top-nav,
  body.kg-scrolled.portfolio-page .top-nav {
    transform: translateY(0) !important;
    border-color: rgba(105, 169, 255, 0.68) !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 255, 0.88)) !important;
    box-shadow:
      0 22px 52px rgba(9, 36, 84, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.96) inset !important;
  }
}

.portfolio-page.is-portfolio-home .category-visual.has-image {
  height: auto !important;
  aspect-ratio: 1.56 / 1 !important;
  display: block !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.portfolio-page.is-portfolio-home .category-banner {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

@media (min-width: 1024px) {
  body.portfolio-page.portfolio-category-mobile-apps .page-inner {
    width: min(1560px, calc(100vw - 48px)) !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .portfolio-toolbar {
    margin-bottom: 28px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card {
    border-radius: 24px !important;
    box-shadow: 0 18px 38px rgba(30, 64, 175, 0.1) !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 22px 46px rgba(30, 64, 175, 0.15) !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-preview.has-image {
    height: auto !important;
    aspect-ratio: 0.76 / 1 !important;
    display: block !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-banner {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card-body {
    padding: 13px 14px 15px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card h3 {
    margin-bottom: 8px !important;
    font-size: clamp(13px, 1vw, 16px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-meta {
    gap: 8px !important;
    font-size: clamp(8px, 0.62vw, 10px) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.4px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .view-link {
    font-size: inherit !important;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  body.portfolio-page.portfolio-category-mobile-apps .design-grid {
    gap: 10px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card-body {
    padding: 11px 10px 12px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .design-card h3 {
    font-size: 12px !important;
  }

  body.portfolio-page.portfolio-category-mobile-apps .view-link {
    display: none !important;
  }
}

.floating-whatsapp {
  position: fixed !important;
  right: clamp(16px, 2vw, 28px) !important;
  bottom: clamp(18px, 2.2vw, 30px) !important;
  z-index: 2147481501 !important;
  width: 68px !important;
  height: 68px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.46), transparent 30%),
    linear-gradient(145deg, #25d366 0%, #12b981 45%, #0ea5ff 100%) !important;
  box-shadow:
    0 20px 42px rgba(15, 118, 110, 0.26),
    0 10px 22px rgba(14, 165, 255, 0.17),
    0 1px 0 rgba(255, 255, 255, 0.58) inset !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease !important;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.34), transparent 68%);
  animation: kgWhatsappPulse 2.8s ease-in-out infinite;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 8%, rgba(255,255,255,.34) 36%, transparent 58%);
  transform: translateX(-120%);
  animation: kgWhatsappShine 4.5s ease-in-out infinite;
}

.floating-whatsapp svg {
  position: relative;
  z-index: 1;
  width: 32px !important;
  height: 32px !important;
  stroke-width: 2.45 !important;
  filter: drop-shadow(0 4px 8px rgba(5, 46, 22, 0.16));
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.035) !important;
  filter: saturate(1.08) !important;
  box-shadow:
    0 26px 54px rgba(15, 118, 110, 0.32),
    0 14px 30px rgba(14, 165, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.62) inset !important;
}

@keyframes kgWhatsappPulse {
  0%, 100% { transform: scale(0.88); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 0.9; }
}

@keyframes kgWhatsappShine {
  0%, 58% { transform: translateX(-125%); }
  78%, 100% { transform: translateX(135%); }
}

@media (max-width: 900px) {
  .floating-whatsapp {
    right: 16px !important;
    bottom: 92px !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 20px !important;
  }

  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* One-pass final shared sticky nav and mobile progress visibility */
:root {
  --kg-shared-header-gutter: max(14px, calc((100vw - 1280px) / 2));
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.scroll-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483000 !important;
  height: 5px !important;
  display: block !important;
  pointer-events: none !important;
  background: rgba(213, 232, 255, .86) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.84), 0 8px 22px rgba(23,110,232,.12) !important;
}

.scroll-progress span {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: scaleX(0);
  transform-origin: left center !important;
  background: linear-gradient(90deg, #08b7f4 0%, #176ee8 52%, #7138ff 100%) !important;
  box-shadow: 0 0 18px rgba(23, 110, 232, .48) !important;
  will-change: transform !important;
}

@media (min-width: 901px) {
  .top-nav,
  .portfolio-page .top-nav {
    position: sticky !important;
    top: 10px !important;
    z-index: 2147482000 !important;
    transform: none !important;
    backdrop-filter: blur(24px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
  }

  body.kg-scrolled .top-nav,
  body.kg-scrolled.portfolio-page .top-nav {
    border-color: rgba(83, 157, 255, .78) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,248,255,.92)) !important;
    box-shadow: 0 18px 48px rgba(9, 36, 84, .18), inset 0 1px 0 rgba(255,255,255,1) !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .scroll-progress {
    height: 5px !important;
    background: rgba(214, 234, 255, .96) !important;
  }

  .top-nav,
  .portfolio-page .top-nav {
    position: sticky !important;
    top: 8px !important;
    z-index: 2147481000 !important;
  }
}

/* Final shared header match: same fixed glass header as homepage */
:root {
  --kg-header-gutter: max(14px, calc((100vw - 1280px) / 2));
}

body.has-fixed-site-header .page-shell {
  padding-top: 124px !important;
}

@media (min-width: 901px) {
  .top-nav,
  .portfolio-page .top-nav {
    position: fixed !important;
    top: 14px !important;
    left: var(--kg-header-gutter) !important;
    right: var(--kg-header-gutter) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 76px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) auto minmax(205px, 240px) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: clamp(14px, 2vw, 28px) !important;
    padding: 10px 14px 10px 18px !important;
    border: 1px solid rgba(166, 199, 244, .72) !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,250,255,.9)) !important;
    box-shadow: 0 22px 58px rgba(12, 54, 116, .14), inset 0 1px 0 rgba(255,255,255,.96) !important;
    backdrop-filter: blur(24px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
    transform: none !important;
    translate: none !important;
    z-index: 2147482500 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    transition: box-shadow .22s ease, border-color .22s ease, background .22s ease, min-height .22s ease, padding .22s ease, top .22s ease !important;
  }

  .top-nav::before,
  .portfolio-page .top-nav::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(14,165,255,.08), transparent 32%, rgba(37,99,235,.08)) !important;
  }

  body.kg-scrolled .top-nav,
  body.kg-scrolled.portfolio-page .top-nav {
    top: 10px !important;
    min-height: 66px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-color: rgba(83, 157, 255, .78) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,248,255,.92)) !important;
    box-shadow: 0 18px 48px rgba(9, 36, 84, .18), inset 0 1px 0 rgba(255,255,255,1) !important;
    transform: none !important;
  }

  .brand,
  .portfolio-page .brand {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 13px !important;
  }

  .brand-mark,
  .portfolio-page .brand-mark {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #0ea5ff, #176ee8 58%, #5d42ff) !important;
    box-shadow: 0 14px 28px rgba(23, 110, 232, .24) !important;
  }

  body.kg-scrolled .brand-mark,
  body.kg-scrolled.portfolio-page .brand-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }

  .brand-copy,
  .portfolio-page .brand-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 5px !important;
  }

  .brand-name,
  .portfolio-page .brand-name {
    color: #071230 !important;
    font-size: clamp(21px, 1.7vw, 28px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .brand-tagline,
  .portfolio-page .brand-tagline {
    color: #52617e !important;
    font-size: clamp(10px, .78vw, 12px) !important;
    line-height: 1 !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .top-nav .hero-desktop-menu {
    display: inline-flex !important;
    min-width: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 4px !important;
    border-radius: 999px !important;
    background: rgba(240, 247, 255, .64) !important;
  }

  .top-nav .hero-desktop-menu a {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    color: #24334f !important;
    font-size: 12px !important;
    font-weight: 840 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  .top-nav .hero-desktop-menu a:hover,
  .top-nav .hero-desktop-menu a[aria-current="page"] {
    color: #096fff !important;
    background: rgba(14, 133, 255, .12) !important;
    box-shadow: inset 0 0 0 1px rgba(91, 156, 255, .16) !important;
  }

  .top-actions,
  .portfolio-page .top-actions {
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
  }

  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 20px !important;
    font-size: 15px !important;
  }
}

@media (min-width: 901px) and (max-width: 1110px) {
  :root { --kg-header-gutter: 12px; }

  .top-nav,
  .portfolio-page .top-nav {
    grid-template-columns: minmax(210px, 1fr) auto minmax(168px, 190px) !important;
    gap: 9px !important;
    padding-left: 13px !important;
    padding-right: 10px !important;
  }

  .brand-name,
  .portfolio-page .brand-name { font-size: 20px !important; }
  .brand-tagline,
  .portfolio-page .brand-tagline { font-size: 9.5px !important; }
  .brand-mark,
  .portfolio-page .brand-mark { width: 48px !important; height: 48px !important; flex-basis: 48px !important; }
  .top-nav .hero-desktop-menu a { padding: 0 9px !important; font-size: 11px !important; }
  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start { min-height: 48px !important; font-size: 13px !important; border-radius: 18px !important; }
}

@media (max-width: 900px) {
  body.has-fixed-site-header .page-shell {
    padding-top: 94px !important;
  }

  .top-nav,
  .portfolio-page .top-nav {
    position: fixed !important;
    top: 8px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 2147482500 !important;
    transform: none !important;
    translate: none !important;
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(166, 199, 244, .78) !important;
    box-shadow: 0 14px 34px rgba(12, 54, 116, .12), inset 0 1px 0 rgba(255,255,255,.96) !important;
    backdrop-filter: blur(22px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.12) !important;
  }

  body.kg-scrolled .top-nav,
  body.kg-scrolled.portfolio-page .top-nav {
    box-shadow: 0 14px 36px rgba(9, 36, 84, .18), inset 0 1px 0 rgba(255,255,255,.98) !important;
  }

  .floating-whatsapp {
    right: 14px !important;
    bottom: 92px !important;
  }
}
/* Final WhatsApp floating action button polish */
.floating-whatsapp {
  position: fixed !important;
  right: clamp(18px, 2.2vw, 32px) !important;
  bottom: clamp(22px, 2.4vw, 34px) !important;
  z-index: 2147481501 !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62), transparent 27%),
    linear-gradient(145deg, #25d366 0%, #16c784 42%, #10b4ea 100%) !important;
  box-shadow:
    0 18px 38px rgba(20, 184, 166, 0.34),
    0 10px 24px rgba(37, 211, 102, 0.26),
    0 0 0 8px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -10px 18px rgba(0, 96, 72, 0.14) !important;
  overflow: visible !important;
  isolation: isolate !important;
  transform: translate3d(0, 0, 0) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

.floating-whatsapp::before {
  content: "" !important;
  position: absolute !important;
  inset: 5px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0)) !important;
  animation: none !important;
  pointer-events: none !important;
}

.floating-whatsapp::after {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.34) 42%, transparent 62%) !important;
  opacity: 0.42 !important;
  transform: translateX(-42%) rotate(10deg) !important;
  animation: none !important;
  pointer-events: none !important;
}

.floating-whatsapp svg {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 31px !important;
  height: 31px !important;
  flex: 0 0 auto !important;
  fill: currentColor !important;
  stroke: none !important;
  overflow: visible !important;
  filter: drop-shadow(0 4px 8px rgba(0, 86, 56, 0.2)) !important;
}

.floating-whatsapp:hover {
  transform: translate3d(0, -3px, 0) scale(1.035) !important;
  filter: saturate(1.06) !important;
  box-shadow:
    0 22px 46px rgba(20, 184, 166, 0.4),
    0 12px 28px rgba(37, 211, 102, 0.3),
    0 0 0 9px rgba(14, 165, 233, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -10px 18px rgba(0, 96, 72, 0.16) !important;
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.42) !important;
  outline-offset: 4px !important;
}

@media (max-width: 900px) {
  .floating-whatsapp {
    right: 16px !important;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    box-shadow:
      0 14px 30px rgba(20, 184, 166, 0.32),
      0 8px 20px rgba(37, 211, 102, 0.24),
      0 0 0 7px rgba(14, 165, 233, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -8px 14px rgba(0, 96, 72, 0.13) !important;
  }

  .floating-whatsapp svg {
    width: 27px !important;
    height: 27px !important;
  }
}
/* Category banner final: taller no-crop fit */
.portfolio-page.is-portfolio-home .category-visual.has-image {
  aspect-ratio: 1.38 / 1 !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  line-height: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.portfolio-page.is-portfolio-home .category-banner {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  object-position: center center !important;
  transform: none !important;
  transform-origin: center center !important;
}

@media (max-width: 600px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(100%, calc(100vw - 20px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.38 / 1 !important;
  }
}

@media (min-width: 601px) and (max-width: 1023px) {
  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.38 / 1 !important;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .portfolio-page.is-portfolio-home .category-visual.has-image {
    aspect-ratio: 1.38 / 1 !important;
  }
}
/* Category card final width with complete image visibility */
@media (max-width: 600px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(100%, calc(100vw - 20px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 601px) and (max-width: 1023px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(100%, calc(100vw - 56px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .portfolio-page.is-portfolio-home .page-inner {
    width: min(1240px, calc(100vw - 72px)) !important;
  }

  .portfolio-page.is-portfolio-home .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

/* Tier 1 SEO landing pages */
.seo-service-page .page-shell { padding-bottom: 118px; }
.seo-page { display: grid; gap: clamp(24px, 4vw, 42px); }
.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(7,20,45,.54);
  font-size: 13px;
  font-weight: 760;
}
.seo-breadcrumbs a { color: inherit; text-decoration: none; }
.seo-breadcrumbs a:hover { color: #176ee8; }
.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: stretch;
}
.seo-hero-copy,
.seo-proof-panel,
.seo-section,
.seo-final-cta {
  border: 1px solid rgba(8,30,66,.12);
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 52px rgba(8,30,66,.09);
  backdrop-filter: blur(18px);
}
.seo-hero-copy {
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
}
.seo-hero-copy h1 {
  max-width: 920px;
  margin: 18px 0 18px;
  color: #07142d;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 950;
}
.seo-hero-copy p,
.seo-section p,
.seo-final-cta p {
  color: rgba(7,20,45,.66);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 560;
}
.seo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.seo-proof-panel {
  border-radius: 28px;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  align-content: center;
  gap: 14px;
}
.seo-proof-panel span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(23,110,232,.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(243,248,255,.92));
  color: #07142d;
  font-weight: 880;
  box-shadow: 0 12px 28px rgba(8,30,66,.06);
}
.seo-section {
  border-radius: 26px;
  padding: clamp(24px, 4vw, 42px);
}
.seo-section.two-col {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, 1.08fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}
.seo-kicker {
  margin: 0 0 10px !important;
  color: #176ee8 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.seo-section h2,
.seo-final-cta h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: #07142d;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 940;
}
.seo-check-list,
.seo-process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-check-list li,
.seo-process-list li {
  position: relative;
  padding: 15px 16px 15px 44px;
  border: 1px solid rgba(23,110,232,.12);
  border-radius: 18px;
  background: rgba(248,251,255,.92);
  color: rgba(7,20,45,.74);
  line-height: 1.55;
  font-weight: 680;
}
.seo-check-list li::before,
.seo-process-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5ff, #176ee8);
  box-shadow: 0 0 0 5px rgba(23,110,232,.1);
}
.seo-card-grid,
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.seo-card,
.seo-link-card,
.seo-faq {
  border: 1px solid rgba(8,30,66,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(8,30,66,.07);
}
.seo-card { padding: 20px; }
.seo-card h3 { margin: 0 0 9px; font-size: 17px; line-height: 1.2; }
.seo-card p { margin: 0; font-size: 14px; }
.seo-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  color: #07142d;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.seo-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23,110,232,.24);
  box-shadow: 0 20px 42px rgba(8,30,66,.11);
}
.seo-link-card span { color: #176ee8; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.seo-faq-list { display: grid; gap: 12px; margin-top: 20px; }
.seo-faq { padding: 0; overflow: hidden; }
.seo-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #07142d;
  font-weight: 900;
  list-style: none;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq p { margin: 0; padding: 0 20px 20px; }
.seo-final-cta {
  border-radius: 28px;
  padding: clamp(28px, 5vw, 50px);
  text-align: center;
  background:
    radial-gradient(circle at 76% 10%, rgba(14,165,255,.14), transparent 34%),
    rgba(255,255,255,.96);
}
.seo-final-cta h2,
.seo-final-cta p { margin-left: auto; margin-right: auto; }
.seo-final-cta .btn-primary { margin-top: 22px; }
@media (max-width: 900px) {
  .seo-hero,
  .seo-section.two-col,
  .seo-card-grid,
  .seo-link-grid { grid-template-columns: 1fr; }
  .seo-hero-copy h1 { font-size: clamp(34px, 9vw, 52px); }
}

.detail-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 4px 0 6px;
  padding: 10px 14px;
  border: 1px solid rgba(23, 110, 232, 0.18);
  border-radius: 14px;
  color: #176ee8;
  background: rgba(23, 110, 232, 0.06);
  font-weight: 800;
  text-decoration: none;
}

.detail-related-link:hover {
  border-color: rgba(23, 110, 232, 0.34);
  background: rgba(23, 110, 232, 0.1);
}

@media (max-width: 640px) {
  .detail-related-link {
    width: 100%;
    text-align: center;
  }
}

/* Unified inner portfolio website cover crop: top-align all website screenshots except Mobile Apps. */
body.portfolio-page:not(.portfolio-category-mobile-apps) .design-preview.has-image {
  height: clamp(245px, 26vw, 320px) !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

body.portfolio-page:not(.portfolio-category-mobile-apps) .design-banner {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  transform: none !important;
}

@media (max-width: 520px) {
  body.portfolio-page:not(.portfolio-category-mobile-apps) .design-preview.has-image {
    height: clamp(220px, 46vw, 245px) !important;
  }
}

@media (max-width: 360px) {
  body.portfolio-page:not(.portfolio-category-mobile-apps) .design-preview.has-image {
    height: clamp(205px, 54vw, 225px) !important;
  }
}

/* SEO blog article pages */
.blog-article-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.12), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #eef7ff 42%, #f7faff 100%) !important;
}

.blog-article {
  max-width: 1180px !important;
  padding-top: clamp(26px, 4vw, 46px) !important;
  padding-bottom: 132px !important;
}

.blog-breadcrumbs {
  margin-bottom: 18px !important;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 30, 66, 0.12);
  border-radius: 30px;
  padding: clamp(26px, 6vw, 62px);
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(244,249,255,0.92));
  box-shadow: 0 24px 70px rgba(8, 30, 66, 0.11);
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #176ee8;
  font-size: 12px;
  font-weight: 920;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.blog-kicker::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5ff, #4f46e5);
  box-shadow: 0 0 0 7px rgba(23, 110, 232, 0.09);
}

.blog-hero h1 {
  max-width: 930px;
  margin: 0;
  color: #07142d;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 950;
}

.blog-intro {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(7, 20, 45, 0.68);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
  font-weight: 620;
}

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

.blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 110, 232, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(7, 20, 45, 0.68);
  font-size: 13px;
  font-weight: 760;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
  margin-top: clamp(24px, 4vw, 42px);
}

.blog-toc-wrap {
  position: sticky;
  top: 104px;
}

.blog-toc {
  border: 1px solid rgba(8, 30, 66, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(8, 30, 66, 0.08);
  overflow: hidden;
}

.blog-toc summary {
  cursor: pointer;
  padding: 17px 18px;
  color: #07142d;
  font-weight: 920;
  list-style: none;
}

.blog-toc summary::-webkit-details-marker { display: none; }

.blog-toc nav {
  display: grid;
  max-height: min(68vh, 720px);
  overflow: auto;
  padding: 0 12px 14px;
}

.blog-toc a {
  border-radius: 12px;
  padding: 9px 10px;
  color: rgba(7, 20, 45, 0.68);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
}

.blog-toc a:hover,
.blog-toc a:focus-visible {
  color: #176ee8;
  background: rgba(23, 110, 232, 0.07);
}

.blog-toc .toc-level-3 {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(7, 20, 45, 0.56);
}

.blog-body {
  min-width: 0;
  border: 1px solid rgba(8, 30, 66, 0.11);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(8, 30, 66, 0.09);
}

.blog-body h2,
.blog-body h3 {
  scroll-margin-top: 110px;
  color: #07142d;
  letter-spacing: 0;
}

.blog-body h2 {
  margin: 42px 0 14px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 940;
}

.blog-body h3 {
  margin: 30px 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.18;
  font-weight: 900;
}

.blog-body p {
  margin: 0 0 15px;
  color: rgba(7, 20, 45, 0.72);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 540;
}

.blog-body strong { color: #07142d; font-weight: 880; }
.blog-body code { font-family: inherit; color: #176ee8; font-weight: 800; }

.blog-image-card {
  margin: 34px 0;
  border: 1px solid rgba(23, 110, 232, 0.13);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 30, 66, 0.09);
}

.blog-image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 788;
  object-fit: cover;
}

.blog-image-card figcaption {
  padding: 14px 18px 16px;
  color: rgba(7, 20, 45, 0.58);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-related-box {
  margin: 30px 0;
  padding: 18px;
  border: 1px solid rgba(23, 110, 232, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.blog-related-box p {
  margin: 0 0 12px;
  color: #07142d;
  font-size: 14px;
  font-weight: 900;
}

.blog-related-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-related-box a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(23, 110, 232, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #176ee8;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.blog-final-cta {
  margin-top: 46px;
  border: 1px solid rgba(23, 110, 232, 0.14);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
  background:
    radial-gradient(circle at 74% 12%, rgba(14, 165, 255, 0.15), transparent 34%),
    linear-gradient(145deg, #ffffff, #f3f8ff);
}

.blog-final-cta h2 { margin-top: 0; }
.blog-final-cta p { max-width: 700px; margin-left: auto; margin-right: auto; }
.blog-final-cta .btn-primary { margin-top: 12px; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-toc-wrap { position: static; }
  .blog-toc { border-radius: 20px; }
  .blog-toc[open] nav { max-height: 330px; }
}

@media (max-width: 640px) {
  .blog-article { padding-left: 14px !important; padding-right: 14px !important; }
  .blog-hero { border-radius: 24px; padding: 24px 18px; }
  .blog-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .blog-meta span { width: 100%; justify-content: center; }
  .blog-body { border-radius: 22px; padding: 22px 17px; }
  .blog-body p { font-size: 16px; line-height: 1.72; }
  .blog-image-card { border-radius: 18px; margin: 26px 0; }
  .blog-related-box div { display: grid; }
  .blog-related-box a { justify-content: center; }
}

.blog-list-hero {
  max-width: 760px;
  margin: 0 0 28px;
}

.blog-list-hero h1 {
  margin: 0 0 12px !important;
  color: #07142d;
  font-size: clamp(40px, 6vw, 68px) !important;
  line-height: 1.02 !important;
  font-weight: 950;
}

.blog-list-hero p:last-child {
  margin: 0;
  color: rgba(7, 20, 45, 0.66);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 580;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 20px;
}

.blog-list-card {
  overflow: hidden;
  border: 1px solid rgba(8, 30, 66, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(8, 30, 66, 0.09);
}

.blog-list-image {
  display: block;
  overflow: hidden;
  background: #eef7ff;
}

.blog-list-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-list-card:hover .blog-list-image img { transform: scale(1.03); }

.blog-list-card-body {
  padding: 20px;
}

.blog-list-card-body p {
  margin: 0 0 10px;
  color: #176ee8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.blog-list-card-body h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
}

.blog-list-card-body h2 a {
  color: #07142d;
  text-decoration: none;
}

.blog-list-card-body h2 a:hover { color: #176ee8; }

.blog-list-card-body span {
  color: rgba(7, 20, 45, 0.58);
  font-size: 13px;
  font-weight: 760;
}

/* Blog readability upgrade: editorial layout, mobile-first reading rhythm */
.blog-article-page {
  background:
    linear-gradient(rgba(23, 110, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 110, 232, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 8%, rgba(14, 165, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(79, 70, 229, 0.10), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 52%, #f9fbff 100%) !important;
  background-size: 46px 46px, 46px 46px, auto, auto, auto !important;
}

.blog-article {
  max-width: 1220px !important;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  column-gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px) !important;
}

.blog-hero h1,
.blog-hero .blog-intro,
.blog-hero .blog-meta,
.blog-hero .blog-kicker {
  grid-column: 1;
}

.blog-hero h1 {
  max-width: 820px !important;
  font-size: clamp(38px, 5.2vw, 66px) !important;
}

.blog-hero-media {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  min-height: 100%;
  margin: 0;
  border: 1px solid rgba(23, 110, 232, 0.14);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 52px rgba(8, 30, 66, 0.12);
}

.blog-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.blog-hero-media figcaption {
  padding: 14px 16px 16px;
  color: rgba(7, 20, 45, 0.62);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  background: rgba(255,255,255,0.96);
}

.blog-layout {
  grid-template-columns: minmax(220px, 270px) minmax(0, 850px) !important;
  justify-content: center;
}

.blog-body {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.blog-opening-flow,
.blog-content-section,
.blog-final-cta {
  border: 1px solid rgba(8, 30, 66, 0.10);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(8, 30, 66, 0.075);
}

.blog-opening-flow,
.blog-content-section {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 40px);
}

.blog-solve-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: center;
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(23, 110, 232, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 12%, rgba(14, 165, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #f8fbff, #ffffff);
}

.blog-solve-panel h2 {
  margin: 0 !important;
  color: #07142d;
  font-size: clamp(24px, 3.4vw, 36px) !important;
  line-height: 1.12 !important;
}

.blog-solve-kicker {
  margin: 0 0 8px !important;
  color: #176ee8 !important;
  font-size: 12px !important;
  font-weight: 920 !important;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.blog-solve-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-solve-panel li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(23, 110, 232, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(7, 20, 45, 0.72);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 720;
}

.blog-solve-panel li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5ff, #176ee8);
  box-shadow: 0 0 0 6px rgba(23, 110, 232, 0.09);
}

.blog-body h2 {
  margin-top: 0 !important;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(23, 110, 232, 0.12);
}

.blog-content-section > p:last-child,
.blog-opening-flow > p:last-child {
  margin-bottom: 0 !important;
}

.blog-body p {
  max-width: 72ch;
  font-size: 18px !important;
  line-height: 1.82 !important;
  color: rgba(7, 20, 45, 0.74) !important;
}

.blog-body p + p {
  margin-top: -2px;
}

.blog-image-card {
  margin: 26px 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 54px rgba(8, 30, 66, 0.11) !important;
}

.blog-opening-flow > .blog-image-card:first-of-type {
  display: none;
}

.blog-faq-section h3 {
  margin: 16px 0 0 !important;
  padding: 18px 18px 0;
  border: 1px solid rgba(23, 110, 232, 0.12);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(247, 251, 255, 0.96);
  font-size: clamp(18px, 2vw, 22px) !important;
}

.blog-faq-section h3 + p {
  max-width: none;
  margin: 0 0 12px !important;
  padding: 8px 18px 18px;
  border: 1px solid rgba(23, 110, 232, 0.12);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(247, 251, 255, 0.96);
}

.blog-toc {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(18px);
}

.blog-toc a {
  font-size: 12.5px !important;
}

.blog-final-cta {
  padding: clamp(26px, 5vw, 46px) !important;
  box-shadow: 0 24px 58px rgba(23, 110, 232, 0.12) !important;
}

@media (max-width: 980px) {
  .blog-hero {
    grid-template-columns: 1fr;
  }
  .blog-hero-media {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
  }
  .blog-hero-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .blog-layout {
    grid-template-columns: 1fr !important;
  }
  .blog-toc-wrap {
    order: -1;
  }
  .blog-toc:not([open]) {
    box-shadow: 0 12px 30px rgba(8,30,66,0.07);
  }
}

@media (max-width: 680px) {
  .blog-article {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .blog-hero {
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }
  .blog-hero h1 {
    font-size: clamp(32px, 9.5vw, 44px) !important;
    line-height: 1.06 !important;
  }
  .blog-intro {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
  .blog-hero-media {
    border-radius: 18px;
  }
  .blog-hero-media figcaption {
    font-size: 12px;
  }
  .blog-opening-flow,
  .blog-content-section,
  .blog-final-cta {
    border-radius: 20px;
    padding: 20px 16px !important;
  }
  .blog-solve-panel {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 18px 14px;
  }
  .blog-body h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.13 !important;
  }
  .blog-body h3 {
    font-size: 19px !important;
  }
  .blog-body p {
    font-size: 16.5px !important;
    line-height: 1.76 !important;
  }
  .blog-toc summary {
    min-height: 50px;
    display: flex;
    align-items: center;
  }
  .blog-toc[open] nav {
    max-height: 280px !important;
  }
  .blog-meta span {
    width: auto !important;
    justify-content: flex-start !important;
  }
}

/* Unified product detail preview: full website screenshot frame across every category */
.detail-preview.has-image,
.detail-preview.category-kids-and-toys.has-image,
.detail-preview.category-women-s-fashion-and-essentials.has-image,
.detail-preview.category-men-s-fashion.has-image {
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(8px, 1.8vw, 12px) !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 24px !important;
}

.detail-preview.has-image::before,
.detail-preview.has-image::after {
  content: none !important;
  display: none !important;
}

.detail-preview.has-image .detail-image,
.detail-preview.category-kids-and-toys .detail-image,
.detail-preview.category-women-s-fashion-and-essentials .detail-image,
.detail-preview.category-men-s-fashion .detail-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

.detail-actions #whatsappBtn {
  min-width: min(100%, 320px);
}

@media (max-width: 720px) {
  .detail-preview.has-image {
    padding: 8px !important;
    border-radius: 22px !important;
  }

  .detail-preview.has-image .detail-image {
    border-radius: 16px !important;
  }

  .detail-actions #whatsappBtn {
    width: 100%;
  }
}

/* ========================================================
   MOBILE FLOATING TOP-NAV PERFECTION (<= 900px)
   ======================================================== */
@media (max-width: 900px) {
  .top-nav,
  .portfolio-page .top-nav {
    position: fixed !important;
    top: 8px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    padding: 0 8px 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    z-index: 2147482500 !important;
    transform: none !important;
    translate: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .top-nav::before,
  .portfolio-page .top-nav::before {
    display: none !important;
  }

  .brand,
  .portfolio-page .brand {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    text-decoration: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .brand-mark,
  .portfolio-page .brand-mark {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 10px !important;
    background: #090d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 6px rgba(9, 13, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .brand-mark svg,
  .portfolio-page .brand-mark svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
  }

  .brand-copy,
  .portfolio-page .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
    line-height: 1.15 !important;
  }

  .brand-name,
  .portfolio-page .brand-name {
    font-size: 14.5px !important;
    font-weight: 750 !important;
    color: #090d16 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .brand-tagline,
  .portfolio-page .brand-tagline {
    font-size: 8.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 1.5px !important;
    line-height: 1 !important;
    display: block !important;
  }

  .brand-name::after,
  .brand-tagline::after,
  .portfolio-page .brand-name::after,
  .portfolio-page .brand-tagline::after {
    content: none !important;
    display: none !important;
  }

  .top-nav .hero-desktop-menu {
    display: none !important;
  }

  .top-actions,
  .portfolio-page .top-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 9999px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #7c3aed 100%) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
  }

  .btn-primary.top-start span,
  .portfolio-page .btn-primary.top-start span {
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    display: inline !important;
  }

  .btn-primary.top-start svg,
  .portfolio-page .btn-primary.top-start svg {
    width: 13px !important;
    height: 13px !important;
    stroke-width: 2.6 !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .has-fixed-site-header .page-shell,
  .services-page .page-shell,
  .portfolio-page .page-shell,
  .contact-page .page-shell,
  .blogs-page .page-shell,
  .privacy-page .page-shell {
    padding-top: 70px !important;
  }
}

@media (max-width: 380px) {
  .top-nav,
  .portfolio-page .top-nav {
    left: 6px !important;
    right: 6px !important;
    padding: 0 6px 0 8px !important;
    gap: 6px !important;
  }

  .brand,
  .portfolio-page .brand {
    gap: 7px !important;
  }

  .brand-mark,
  .portfolio-page .brand-mark {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 9px !important;
  }

  .brand-mark svg,
  .portfolio-page .brand-mark svg {
    width: 20px !important;
    height: 20px !important;
  }

  .brand-name,
  .portfolio-page .brand-name {
    font-size: 13.5px !important;
  }

  .brand-tagline,
  .portfolio-page .brand-tagline {
    font-size: 8px !important;
  }

  .btn-primary.top-start,
  .portfolio-page .btn-primary.top-start {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  .btn-primary.top-start span,
  .portfolio-page .btn-primary.top-start span {
    font-size: 11.5px !important;
  }

  .btn-primary.top-start svg,
  .portfolio-page .btn-primary.top-start svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* ========================================================
   GLOBAL SITE FOOTER (Matching Homepage)
   ======================================================== */
.site-footer {
  position: relative !important;
  z-index: 5 !important;
  margin: 48px auto 104px !important;
  width: min(1120px, calc(100% - 32px)) !important;
  padding: 0 !important;
  color: #5f6f8a !important;
  font-size: 13px !important;
  border: none !important;
  background: transparent !important;
  text-align: left !important;
}

.site-footer__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 64px !important;
  padding: 16px 20px !important;
  border: 1px solid rgba(130, 172, 232, 0.28) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92)) !important;
  box-shadow: 0 18px 46px rgba(15, 76, 148, 0.10) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-sizing: border-box !important;
}

.site-footer__inner > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: max-content !important;
  color: #0f1f3d !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.site-footer__inner > span::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0ea5ff, #5b57f4) !important;
  box-shadow: 0 0 0 6px rgba(23, 110, 232, 0.10) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.site-footer__links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.site-footer a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  color: #4f6381 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: color .2s ease, background .2s ease, transform .2s ease !important;
}

.site-footer a:hover {
  color: #176ee8 !important;
  background: rgba(23, 110, 232, 0.08) !important;
  transform: translateY(-1px) !important;
}

.site-footer a:focus-visible {
  outline: 2px solid #3376dd !important;
  outline-offset: 4px !important;
}

@media (max-width: 760px) {
  .site-footer {
    width: min(100% - 22px, 520px) !important;
    margin: 34px auto 112px !important;
  }

  .site-footer__inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .site-footer__inner > span {
    justify-content: center !important;
    min-width: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
  }

  .site-footer__links {
    justify-content: center !important;
    gap: 4px !important;
  }

  .site-footer a {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}


