/* Interior pages — match the homepage system without changing the homepage. */
body:not(.home) {
  background: #f6f7fb;
}

body:not(.home) .site-logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body:not(.home) .nav-primary > li > a {
  color: var(--cg-heading);
}

body:not(.home) .nav-primary > li > a::after {
  background: var(--cg-blue);
  transform-origin: left;
}

body:not(.home) .nav-primary > li > a:hover::after,
body:not(.home) .nav-primary > li:hover > a::after {
  transform: scaleX(1);
}

body:not(.home) .site-header .nav-primary > li.current-menu-item > a,
body:not(.home) .site-header .nav-primary > li.current_page_item > a,
body:not(.home) .site-header .nav-primary > li.current-menu-ancestor > a {
  color: var(--cg-blue);
  background: rgba(0, 119, 255, 0.08);
  border-radius: 999px;
}

body:not(.home) .site-header.is-scrolled .nav-primary > li > a:hover,
body:not(.home) .site-header.is-scrolled .nav-primary > li.current-menu-item > a,
body:not(.home) .site-header.is-scrolled .nav-primary > li.is-active > a {
  color: var(--cg-blue);
  background: rgba(0, 119, 255, 0.08);
}

body:not(.home) .nav-toggle span {
  background: var(--cg-heading);
}

body:not(.home) .site-header.is-scrolled .nav-toggle {
  background: #f3f6fb;
}

body:not(.home) .site-header.is-scrolled .nav-toggle span {
  background: var(--cg-heading);
}

body:not(.home) .mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 108px 28px 40px;
  background: var(--cg-ink);
  overflow: auto;
}

body:not(.home) .mobile-nav.is-open a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

body:not(.home) .btn:not(.btn-header-cta) {
  border-radius: 999px;
  background: linear-gradient(135deg, #22ccff 0%, #0077ff 52%, #0055ff 100%);
  border-color: transparent;
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
}

body:not(.home) .btn:not(.btn-header-cta):hover {
  background: linear-gradient(135deg, #3ad4ff 0%, #1a85ff 52%, #0060ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 119, 255, 0.38);
}

body:not(.home) .btn-header-cta {
  background: linear-gradient(135deg, var(--cg-cyan) 0%, var(--cg-blue) 55%, var(--cg-blue-deep) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.28);
}

body:not(.home) .btn-header-cta:hover {
  background: linear-gradient(135deg, #3ad4ff 0%, #1a85ff 52%, #0060ff 100%);
  border-color: transparent;
  color: #fff;
}

body:not(.home) .btn-outline {
  background: #fff;
  color: var(--cg-blue);
  border-color: rgba(0, 119, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.1);
}

body:not(.home) .btn-outline:hover {
  background: linear-gradient(135deg, #22ccff 0%, #0077ff 52%, #0055ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 119, 255, 0.34);
}

body:not(.home) .page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 70px 0 30px;
  background: var(--cg-navy);
}

body:not(.home) .page-hero-rings {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(1200px, 160vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 18%, rgba(148, 178, 230, 0.08) 18.4%, transparent 18.8%),
    radial-gradient(circle, transparent 28%, rgba(148, 178, 230, 0.08) 28.4%, transparent 28.8%),
    radial-gradient(circle, transparent 38%, rgba(148, 178, 230, 0.07) 38.4%, transparent 38.8%),
    radial-gradient(circle, transparent 48%, rgba(148, 178, 230, 0.07) 48.4%, transparent 48.8%),
    radial-gradient(circle, transparent 58%, rgba(148, 178, 230, 0.06) 58.4%, transparent 58.8%),
    radial-gradient(circle, transparent 68%, rgba(148, 178, 230, 0.05) 68.4%, transparent 68.8%),
    radial-gradient(circle, transparent 78%, rgba(148, 178, 230, 0.04) 78.4%, transparent 78.8%);
}

body:not(.home) .page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

body:not(.home) .page-hero-kicker {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--cg-blue);
}

body:not(.home) .page-hero-kicker span {
  display: none;
}

body:not(.home) .page-hero h1 {
  max-width: 22ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

body:not(.home) .section {
  padding: 84px 0;
}

body:not(.home) .section-title {
  letter-spacing: -0.04em;
  font-weight: 640;
  line-height: 1.08;
}

body:not(.home) .section-title span,
body:not(.home) .eyebrow {
  color: var(--cg-blue);
}

body:not(.home) .eyebrow::before {
  background: var(--cg-blue);
}

body:not(.home) .content-prose {
  max-width: 760px;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 20px;
  padding: 36px 36px 28px;
  color: #3d4658;
  line-height: 1.75;
}

body:not(.home) .content-prose h2,
body:not(.home) .content-prose h3 {
  letter-spacing: -0.03em;
}

body:not(.home) .team-head,
body:not(.home) .services-intro,
body:not(.home) .career-section-head {
  text-align: left;
  margin-left: 0;
  max-width: 640px;
}

body:not(.home) .product-card {
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  background: #eef3fb;
}

body:not(.home) .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 24, 72, 0.08);
  border-color: transparent;
  background: #e7eefb;
}

body:not(.home) .team-card,
body:not(.home) .gallery-card,
body:not(.home) .blog-card,
body:not(.home) .blog-card--news,
body:not(.home) .svc-card,
body:not(.home) .hire-card,
body:not(.home) .career-job,
body:not(.home) .faq-item,
body:not(.home) .login-wrap,
body:not(.home) .contact-form-card {
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  box-shadow: none;
}

body:not(.home) .team-card:hover,
body:not(.home) .blog-card--news:hover,
body:not(.home) .svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 18, 34, 0.08);
  border-color: #c7d7f5;
}

body:not(.home) .services-catalog-section {
  background: #f6f7fb;
}

body:not(.home) .services-stat,
body:not(.home) .svc-filter {
  border-radius: 999px;
}

body:not(.home) .cg-field input,
body:not(.home) .cg-field textarea,
body:not(.home) .cg-field select,
body:not(.home) .login-wrap input[type="text"],
body:not(.home) .login-wrap input[type="password"] {
  border-radius: 12px;
  border-color: #e7ebf3;
  background: #f8fafc;
  padding: 13px 14px;
}

body:not(.home) .cg-field input:focus,
body:not(.home) .cg-field textarea:focus,
body:not(.home) .login-wrap input:focus {
  outline: none;
  border-color: var(--cg-cyan);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body:not(.home) .contact-page {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(0, 119, 255, 0.05), transparent 55%),
    #f5f7fb;
}

body:not(.home) .contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: start;
  gap: clamp(24px, 3vw, 36px);
}

body:not(.home) .contact-info-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #e4eaf3;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 36px);
  color: #64748b;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

body:not(.home) .contact-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cg-blue);
}

body:not(.home) .contact-info-card h2 {
  margin: 0 0 12px;
  color: var(--cg-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body:not(.home) .contact-lead {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.65;
}

body:not(.home) .contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body:not(.home) .contact-channels li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e8eef6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body:not(.home) .contact-channels li:hover {
  border-color: rgba(0, 119, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 119, 255, 0.06);
}

body:not(.home) .contact-channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 119, 255, 0.12), rgba(34, 204, 255, 0.06));
  border: 1px solid rgba(0, 119, 255, 0.16);
  color: var(--cg-blue);
}

body:not(.home) .contact-channel-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body:not(.home) .contact-channel-copy > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

body:not(.home) .contact-channel-copy a,
body:not(.home) .contact-channel-copy em {
  color: var(--cg-heading);
  font-style: normal;
  font-weight: 650;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  word-break: break-word;
}

body:not(.home) .contact-channel-copy a:hover {
  color: var(--cg-blue);
}

body:not(.home) .contact-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: #64748b;
}

body:not(.home) .contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

body:not(.home) .contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4eaf3;
  color: var(--cg-heading);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

body:not(.home) .contact-social-icon svg {
  width: 15px;
  height: 15px;
}

body:not(.home) .contact-socials a:hover .contact-social-icon {
  background: rgba(0, 119, 255, 0.1);
  border-color: rgba(0, 119, 255, 0.28);
  color: var(--cg-blue);
}

body:not(.home) .contact-form-card {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 36px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

body:not(.home) .contact-form-head {
  margin-bottom: 22px;
}

body:not(.home) .contact-form-head h3 {
  margin: 0 0 8px;
  color: var(--cg-heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

body:not(.home) .contact-form-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

body:not(.home) .contact-form .cg-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--cg-heading);
}

body:not(.home) .contact-form .cg-field input,
body:not(.home) .contact-form .cg-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e4eaf3;
  background: #f8fafc;
  padding: 13px 14px;
  color: var(--cg-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body:not(.home) .contact-form .cg-field input:focus,
body:not(.home) .contact-form .cg-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(0, 119, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
}

body:not(.home) .contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 4px;
}

body:not(.home) .contact-form-hint {
  font-size: 13px;
  color: #94a3b8;
}

body:not(.home) .alert--success {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.18);
  color: var(--cg-heading);
  font-size: 14.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body:not(.home) .contact-grid {
    grid-template-columns: 1fr;
  }
}

body:not(.home) .faq-item {
  background: #fff;
  margin-bottom: 10px;
}

body:not(.home) .faq-item button {
  font-weight: 640;
  letter-spacing: -0.02em;
}

body:not(.home) .login-wrap {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
}

body:not(.home) .empty-state {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 22px;
  padding: 48px 28px;
}

body:not(.home) .empty-state p:last-child {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

body:not(.home) .single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

body:not(.home) .single-meta {
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
}

body:not(.home) .single-cover {
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
}

body:not(.home) .single-cover img,
body:not(.home) .about-media img,
body:not(.home) .service-visual img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

body:not(.home) .about-panel {
  position: relative;
  isolation: isolate;
  min-height: 380px;
  border-radius: 24px;
  padding: 36px 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    radial-gradient(520px 280px at 88% 0%, rgba(0, 180, 255, 0.28), transparent 58%),
    radial-gradient(380px 220px at 0% 100%, rgba(0, 119, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #0a1228 0%, #060b1c 55%, #040816 100%);
  box-shadow:
    0 24px 56px rgba(6, 11, 28, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body:not(.home) .about-panel-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  background-size: 220% 100%;
  animation: aboutPanelSheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes aboutPanelSheen {
  0%, 100% { background-position: 120% 0; opacity: 0.35; }
  50% { background-position: -20% 0; opacity: 0.7; }
}

body:not(.home) .about-panel-ring {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 255, 0.22);
  box-shadow:
    0 0 0 28px rgba(0, 119, 255, 0.04),
    inset 0 0 60px rgba(0, 180, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

body:not(.home) .about-panel-label,
body:not(.home) .about-panel-stats,
body:not(.home) .about-panel-source {
  position: relative;
  z-index: 1;
}

body:not(.home) .about-panel-label {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cg-cyan);
}

body:not(.home) .about-panel-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

body:not(.home) .about-panel-stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(14px);
  animation: aboutStatIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + (var(--stat-i, 0) * 0.12s));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

body:not(.home) .about-panel-stats li:hover {
  border-color: rgba(0, 180, 255, 0.35);
  background:
    linear-gradient(165deg, rgba(0, 180, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  transform: translateY(-2px);
}

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

body:not(.home) .about-panel-stats strong {
  display: block;
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(120deg, #fff 10%, #c8e8ff 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body:not(.home) .about-panel-stats span {
  max-width: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(210, 228, 255, 0.72);
}

body:not(.home) .about-panel-source {
  display: block;
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(186, 210, 240, 0.55);
}

body:not(.home) .about-panel {
  justify-content: flex-start;
}

@media (max-width: 560px) {
  body:not(.home) .about-panel-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home) .about-panel-stats li,
  body:not(.home) .about-panel-glow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

body:not(.home) .page-cta {
  padding: 0 0 84px;
}

body:not(.home) .page-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border-radius: 22px;
  background: var(--cg-ink);
  color: #fff;
}

body:not(.home) .page-cta-inner h2 {
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.04em;
}

body:not(.home) .page-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

body:not(.home) .page-cta .btn {
  background: linear-gradient(135deg, #22ccff 0%, #0077ff 52%, #0055ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.35);
}

body:not(.home) .page-cta .btn:hover {
  background: linear-gradient(135deg, #3ad4ff 0%, #1a85ff 52%, #0060ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(0, 119, 255, 0.42);
}

body:not(.home) .service-visual img {
  aspect-ratio: 4 / 3;
}

body:not(.home) .faq-item button span {
  color: var(--cg-blue);
}

body:not(.home) .dz-sol {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 20px;
  padding: 28px 28px 8px;
  margin-bottom: 14px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body:not(.home) .dz-sol::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

body:not(.home) .dz-sol:hover,
body:not(.home) .dz-sol.is-open {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--cg-cyan);
  box-shadow: 0 18px 40px rgba(12, 18, 34, 0.06);
}

body:not(.home) .dz-sol:hover::before,
body:not(.home) .dz-sol.is-open::before {
  opacity: 1;
  animation: dz-grid 14s linear infinite;
}

@keyframes dz-grid {
  to { background-position: 22px 22px; }
}

body:not(.home) .dz-sol-top,
body:not(.home) .dz-sol ul { position: relative; }

body:not(.home) .dz-sol-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

body:not(.home) .dz-sol h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
}

body:not(.home) .dz-sol-num {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #64748b;
  transition: transform 0.35s ease;
}

body:not(.home) .dz-sol:hover .dz-sol-num,
body:not(.home) .dz-sol.is-open .dz-sol-num { transform: translateX(6px); }

body:not(.home) .dz-sol-desc {
  position: relative;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #64748b;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

body:not(.home) .dz-sol:hover .dz-sol-desc,
body:not(.home) .dz-sol:focus-within .dz-sol-desc,
body:not(.home) .dz-sol.is-open .dz-sol-desc {
  max-height: 72px;
  margin-top: 12px;
  opacity: 1;
}

body:not(.home) .dz-sol-arrow {
  margin-left: auto;
  transition: transform 0.35s ease;
}

body:not(.home) .dz-sol:hover .dz-sol-arrow,
body:not(.home) .dz-sol.is-open .dz-sol-arrow { transform: translateX(8px); }

body:not(.home) .dz-sol ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

body:not(.home) .dz-sol:hover ul,
body:not(.home) .dz-sol:focus-within ul,
body:not(.home) .dz-sol.is-open ul {
  max-height: 280px;
  opacity: 1;
  margin-top: 16px;
}

body:not(.home) .dz-sol li a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4f7fb;
  font-size: 13px;
  color: #334155;
}

body:not(.home) .dz-sol li a:hover {
  background: var(--cg-ink);
  color: #fff;
}

@media (max-width: 700px) {
  body:not(.home) .content-prose,
  body:not(.home) .contact-form-card,
  body:not(.home) .page-cta-inner {
    padding: 22px 18px;
  }
}

/* Offers page */
.offers-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--cg-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.offer-card {
  padding: 32px 32px 28px;
  background: #fff;
  border: 1px solid var(--cg-border);
  scroll-margin-top: 100px;
}

.offer-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.offer-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--cg-blue);
  font-size: 14px;
  font-weight: 700;
}

.offer-card h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--cg-heading);
}

.offer-outcome {
  margin: 0;
  color: var(--cg-blue);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
}

.offer-lead {
  margin: 0 0 22px;
  color: var(--cg-text);
  line-height: 1.6;
}

.offer-block {
  margin-bottom: 18px;
}

.offer-block h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

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

.offer-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f7fc;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 600;
}

.offer-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
}

.offer-flow li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid var(--cg-border);
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 600;
}

.offer-flow li:not(:last-child)::after {
  content: "→";
  margin-left: 8px;
  color: var(--cg-blue);
  font-weight: 700;
}

.offer-includes {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cg-text);
  line-height: 1.7;
}

.offer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--cg-border);
}

.offer-price {
  color: var(--cg-heading);
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .offer-card {
    padding: 22px 18px;
  }
  .offer-flow li:not(:last-child)::after {
    content: "";
    margin: 0;
  }
}

/* Industries page */
.industries-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--cg-text);
  font-size: 1.05rem;
  line-height: 1.6;
}
.industries-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.industry-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--cg-border);
  scroll-margin-top: 100px;
}
.industry-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.industry-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--cg-blue);
  font-size: 14px;
  font-weight: 700;
}
.industry-card h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: var(--cg-heading);
}
.industry-lead {
  margin: 0;
  color: var(--cg-text);
  line-height: 1.55;
}
.industry-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px 36px;
}
.industry-block h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.industry-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.industry-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f7fc;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 600;
}
.industry-solutions {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cg-text);
  line-height: 1.75;
}
.industry-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--cg-border);
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 700px) {
  .industry-card { padding: 22px 18px; }
  .industry-cols { grid-template-columns: 1fr; }
}

/* Case studies page */
.cases-intro {
  max-width: 720px;
  margin: 0 0 36px;
  color: var(--cg-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.case-card {
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid var(--cg-border);
  border-radius: 18px;
  scroll-margin-top: 100px;
  box-shadow: 0 10px 28px rgba(10, 24, 72, 0.04);
}

.case-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.case-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef3fa;
  color: var(--cg-blue);
  font-size: 14px;
  font-weight: 700;
}

.case-meta {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.case-card h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--cg-heading);
}

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

.case-dl div {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px solid #e8eef6;
}

.case-dl dt {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-blue);
}

.case-dl dd {
  margin: 0;
  color: var(--cg-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.case-live {
  display: inline-flex;
  font-weight: 650;
  color: var(--cg-blue);
  text-decoration: none;
}

.case-live:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .case-card { padding: 22px 18px; }
  .case-dl { grid-template-columns: 1fr; }
}

/* Single service detail */
.service-detail-page {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 88px);
  background:
    radial-gradient(ellipse 45% 40% at 0% 0%, rgba(0, 119, 255, 0.04), transparent 55%),
    #f5f7fb;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(22px, 3vw, 32px);
  align-items: start;
}

.service-detail-card,
.service-detail-aside-card {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.service-detail-card {
  padding: clamp(28px, 3vw, 40px);
}

.service-detail-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.service-detail-num {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 119, 255, 0.12), rgba(34, 204, 255, 0.06));
  border: 1px solid rgba(0, 119, 255, 0.18);
  color: var(--cg-blue);
  font-size: 14px;
  font-weight: 750;
}

.service-detail-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cg-blue);
}

.service-detail-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--cg-heading);
}

.service-detail-outcome {
  margin: 0;
  color: var(--cg-blue);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}

.service-detail-lead {
  margin: 0 0 24px;
  color: #5c6578;
  font-size: 1.02rem;
  line-height: 1.65;
}

.service-detail-block {
  margin-bottom: 22px;
}

.service-detail-block h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

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

.service-detail-tags li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4f7fc;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 600;
}

.service-detail-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #e6ebf4;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.service-detail-flow li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 650;
  border-right: 1px solid #e6ebf4;
}

.service-detail-flow li:last-child {
  border-right: 0;
}

.service-detail-flow li:not(:last-child)::after {
  content: "→";
  color: var(--cg-blue);
  font-weight: 700;
}

.service-detail-includes {
  margin: 0;
  padding-left: 1.15rem;
  color: #5c6578;
  line-height: 1.75;
}

.service-detail-prose {
  color: #5c6578;
  line-height: 1.7;
}

.service-detail-prose p:first-child {
  margin-top: 0;
}

.service-detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid #e6ebf4;
}

.service-detail-foot strong {
  color: var(--cg-heading);
}

.service-detail-aside {
  display: grid;
  gap: 16px;
}

.service-detail-aside-card {
  padding: 24px;
}

.service-detail-aside-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--cg-heading);
}

.service-detail-aside-card > p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.6;
}

.service-detail-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cg-blue);
  font-weight: 650;
  text-decoration: none;
}

.service-detail-link:hover {
  text-decoration: underline;
}

.service-detail-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-detail-related a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e8eef6;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-detail-related a:hover {
  border-color: rgba(0, 119, 255, 0.28);
  background: #fff;
}

.service-detail-related strong {
  color: var(--cg-heading);
  font-size: 14.5px;
}

.service-detail-related span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-flow li:not(:last-child)::after {
    content: "→";
  }
}

@media (max-width: 640px) {
  .service-detail-card {
    padding: 22px 18px;
  }
  .service-detail-top {
    gap: 14px;
  }
  .service-detail-num {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* Portfolio */
.portfolio-section {
  padding-top: 40px;
  padding-bottom: 72px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0, 119, 255, 0.05), transparent 60%),
    #f7f9fc;
}
.portfolio-intro {
  max-width: 40rem;
  margin: 0 0 28px;
}
.portfolio-intro-kicker {
  margin: 0 0 8px;
  color: var(--cg-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portfolio-intro-title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  color: var(--cg-heading);
  line-height: 1.2;
}
.portfolio-intro-lead {
  margin: 0;
  color: #5c6578;
  font-size: 1.05rem;
  line-height: 1.7;
}
.portfolio-toolbar-wrap {
  margin: 0 0 32px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e6ebf4;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px rgba(10, 24, 72, 0.05);
  backdrop-filter: blur(8px);
}
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.portfolio-filter {
  appearance: none;
  border: 1px solid #e6ebf4;
  background: #fff;
  color: var(--cg-heading);
  border-radius: 14px;
  padding: 11px 12px 11px 14px;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.portfolio-filter span {
  letter-spacing: -0.01em;
}
.portfolio-filter em {
  font-style: normal;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--cg-blue);
  font-size: 11.5px;
  font-weight: 750;
}
.portfolio-filter:hover {
  border-color: rgba(0, 119, 255, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 119, 255, 0.08);
}
.portfolio-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #00b4ff 0%, var(--cg-blue) 48%, #0055ff 100%);
  box-shadow: 0 12px 26px rgba(0, 119, 255, 0.24);
  transform: translateY(-1px);
}
.portfolio-filter.is-active em {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.portfolio-filter:focus-visible {
  outline: 2px solid var(--cg-blue);
  outline-offset: 2px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portfolio-card {
  opacity: 0;
  transform: translateY(16px);
  animation: portfolioCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--pf-i, 0) * 0.05s);
}
@keyframes portfolioCardIn {
  to { opacity: 1; transform: none; }
}
.portfolio-card.is-hidden { display: none; }
.portfolio-card-hit {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #e7ebf3;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.portfolio-card-hit:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 119, 255, 0.28);
  box-shadow: 0 18px 40px rgba(10, 24, 72, 0.08);
}
.portfolio-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a1228;
  overflow: hidden;
}
.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}
.portfolio-card-hit:hover .portfolio-card-media img { transform: scale(1.04); }
.portfolio-card-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 28, 0.55));
  pointer-events: none;
}
.portfolio-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cg-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.portfolio-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.portfolio-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--cg-heading);
}
.portfolio-card-body p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.portfolio-card-tags {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portfolio-card-tags li {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f7fc;
  color: #475569;
  font-size: 11px;
  font-weight: 650;
}
.portfolio-card-meta {
  font-size: 12px;
  font-weight: 650;
  color: var(--cg-blue);
}
.portfolio-card-cta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cg-blue);
}
.portfolio-empty {
  margin: 28px 0 0;
  color: #64748b;
}

/* Portfolio lightbox */
.portfolio-lightbox[hidden] { display: none !important; }
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 28, 0.62);
  backdrop-filter: blur(6px);
}
.portfolio-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(6, 11, 28, 0.28);
  animation: portfolioDialogIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes portfolioDialogIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.portfolio-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--cg-heading);
  cursor: pointer;
}
.portfolio-lightbox-gallery {
  padding: 18px;
  background: #0b1224;
}
.portfolio-lightbox-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #060b1c;
  aspect-ratio: 16 / 10;
}
.portfolio-lightbox-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.portfolio-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cg-heading);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.portfolio-lightbox-prev { left: 12px; }
.portfolio-lightbox-next { right: 12px; }
.portfolio-lightbox-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.portfolio-lightbox-thumbs button {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: #111827;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}
.portfolio-lightbox-thumbs button.is-active {
  border-color: var(--cg-cyan);
}
.portfolio-lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.portfolio-lightbox-copy {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portfolio-lightbox-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cg-blue);
}
.portfolio-lightbox-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
  color: var(--cg-heading);
}
.portfolio-lightbox-copy > p {
  margin: 0;
  color: #5c6578;
  line-height: 1.65;
}
.portfolio-lightbox-overview {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f7fc;
  color: #3d4660;
  font-size: 14px;
  line-height: 1.65;
}
.portfolio-lightbox-overview[hidden],
.portfolio-lightbox-features[hidden] {
  display: none !important;
}
.portfolio-lightbox-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.portfolio-lightbox-features li {
  position: relative;
  padding: 0 0 0 18px;
  color: #3d4660;
  font-size: 14px;
  line-height: 1.45;
}
.portfolio-lightbox-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cg-blue);
}
.portfolio-lightbox-caps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-lightbox-caps li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f7fc;
  color: var(--cg-heading);
  font-size: 12px;
  font-weight: 650;
}
.portfolio-lightbox-shot {
  margin-top: auto !important;
  font-size: 13px;
  font-weight: 650;
  color: #64748b;
}
.portfolio-lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.portfolio-lightbox-secondary {
  color: var(--cg-blue);
  font-weight: 650;
  text-decoration: none;
}
.portfolio-lightbox-secondary:hover { text-decoration: underline; }

/* TamamPOS product spotlight */
.product-spotlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.product-spotlight-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cg-blue);
}
.product-spotlight-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--cg-heading);
}
.product-spotlight-lead {
  margin: 0;
  max-width: 36em;
  color: #5c6578;
  font-size: 1.08rem;
  line-height: 1.7;
}
.product-spotlight-overview {
  margin: 14px 0 0;
  max-width: 42em;
  color: #3d4660;
  font-size: 15px;
  line-height: 1.7;
}
.product-spotlight-caps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-spotlight-caps li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 650;
}
.product-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}
.product-spotlight-link {
  color: var(--cg-blue);
  font-weight: 650;
  text-decoration: none;
}
.product-spotlight-link:hover { text-decoration: underline; }
.product-spotlight-frame {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e6ebf4;
  background: #0b1224;
  box-shadow: 0 22px 48px rgba(10, 24, 72, 0.1);
}
.product-spotlight-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.product-spotlight-frame figcaption,
.product-spotlight-thumbs figcaption {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 650;
  color: #64748b;
  background: #fff;
}
.product-spotlight-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.product-spotlight-thumbs figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e6ebf4;
  background: #fff;
}
.product-spotlight-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.product-spotlight-proof {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-spotlight-proof li {
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%);
  border: 1px solid #e7ebf3;
  text-align: center;
}
.product-spotlight-proof strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--cg-heading);
  letter-spacing: -0.03em;
}
.product-spotlight-proof span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.product-spotlight-block {
  margin-top: 56px;
}
.product-spotlight-block-kicker {
  margin: 0 0 8px;
  color: var(--cg-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-spotlight-block-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--cg-heading);
  letter-spacing: -0.03em;
}
.product-spotlight-block-lead {
  margin: 10px 0 0;
  max-width: 62ch;
  color: #5c6578;
  line-height: 1.65;
}
.product-spotlight-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.product-spotlight-features article {
  padding: 22px 20px;
  border-radius: 18px;
  background: #f7f9fc;
  border: 1px solid #e7ebf3;
}
.product-spotlight-features h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--cg-heading);
}
.product-spotlight-features p {
  margin: 0;
  color: #5c6578;
  font-size: 14px;
  line-height: 1.55;
}
.product-spotlight-industries,
.product-spotlight-support,
.product-spotlight-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.product-spotlight-industries article,
.product-spotlight-support article,
.product-spotlight-plans article {
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7ebf3;
  box-shadow: 0 10px 30px rgba(10, 24, 72, 0.04);
}
.product-spotlight-industries h4,
.product-spotlight-support h4,
.product-spotlight-plans h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--cg-heading);
}
.product-spotlight-industries p,
.product-spotlight-support p,
.product-spotlight-plan-blurb {
  margin: 0;
  color: #5c6578;
  font-size: 14px;
  line-height: 1.55;
}
.product-spotlight-plan-price {
  margin: 0 0 8px;
  color: var(--cg-blue);
  font-size: 1.15rem;
  font-weight: 750;
}
.product-spotlight-plans ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.product-spotlight-plans li {
  position: relative;
  padding-left: 16px;
  color: #3d4660;
  font-size: 13px;
  line-height: 1.45;
}
.product-spotlight-plans li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cg-blue);
}
.product-spotlight-integrations,
.product-spotlight-highlights {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-spotlight-integrations li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4f7fc;
  border: 1px solid #e7ebf3;
  color: var(--cg-heading);
  font-size: 13px;
  font-weight: 650;
}
.product-spotlight-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-spotlight-highlights li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f7fc;
  border: 1px solid #e7ebf3;
  color: var(--cg-heading);
  font-size: 14px;
  font-weight: 650;
}
.product-spotlight-quote {
  margin: 48px 0 0;
  padding: 28px 30px;
  border-radius: 20px;
  background: #0b1224;
  color: #fff;
}
.product-spotlight-quote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}
.product-spotlight-quote cite {
  display: block;
  margin-top: 14px;
  color: #9fb0d0;
  font-style: normal;
  font-size: 14px;
}
.product-spotlight-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.product-spotlight-more {
  margin: 28px 0 0;
  color: #64748b;
}
.product-spotlight-more a {
  color: var(--cg-blue);
  font-weight: 650;
  text-decoration: none;
}
.product-spotlight-more a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-lightbox-dialog,
  .product-spotlight-grid { grid-template-columns: 1fr; }
  .product-spotlight-features,
  .product-spotlight-industries,
  .product-spotlight-support,
  .product-spotlight-plans,
  .product-spotlight-proof { grid-template-columns: 1fr 1fr; }
  .product-spotlight-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .product-spotlight-features,
  .product-spotlight-industries,
  .product-spotlight-support,
  .product-spotlight-plans,
  .product-spotlight-proof { grid-template-columns: 1fr; }
  .portfolio-lightbox { padding: 12px; }
  .portfolio-lightbox-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
