/* Services page — layout inspired by Wix Studio Design (marketing rhythm, not proprietary assets) */
body.subpage-services {
  background: #0a0a0f;
}

body.subpage-services #navbar {
  background: rgba(10, 10, 15, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.subpage-services .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

body.subpage-services .logo {
  color: #fff;
}

body.subpage-services .lang-switcher {
  background: rgba(255, 255, 255, 0.08);
}

body.subpage-services .lang-btn {
  color: rgba(255, 255, 255, 0.55);
}

body.subpage-services .lang-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.subpage-services .hamburger span {
  background: #fff;
}

body.subpage-services a.nav-cta {
  background: #fff;
  color: #0a0a0f;
}

body.subpage-services a.nav-cta:hover {
  background: #f0f0f2;
  color: #000;
}

body.subpage-services #navbar.scrolled {
  background: rgba(10, 10, 15, 0.96);
}

.services-page-main {
  max-width: none !important;
  width: 100%;
  padding: 0 0 0 !important;
  margin: 0;
}

.svc-bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.svc-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 24px 72px;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(0, 113, 227, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 180, 216, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  color: #fff;
  overflow: hidden;
}

.svc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.svc-hero-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.svc-hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 24px;
  white-space: pre-line;
}

.svc-hero-lead {
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-bottom: 36px;
}

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.svc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.2s var(--transition), box-shadow 0.2s;
}

.svc-btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.svc-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.svc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.svc-section {
  padding: 88px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.svc-section--dark {
  background: #0f0f16;
  color: #fff;
  max-width: none;
  padding-left: max(24px, calc(50vw - 590px));
  padding-right: max(24px, calc(50vw - 590px));
}

.svc-section--light {
  background: #f5f5f7;
  color: var(--dark-gray);
  max-width: none;
  padding-left: max(24px, calc(50vw - 590px));
  padding-right: max(24px, calc(50vw - 590px));
}

.svc-section-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.svc-section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.svc-section--dark .svc-section-kicker {
  color: #5ac8fa;
}

.svc-section-title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.svc-section-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid-gray);
  max-width: 560px;
}

.svc-section--dark .svc-section-body {
  color: rgba(255, 255, 255, 0.65);
}

.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .svc-split {
    grid-template-columns: 1fr;
  }
}

.svc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  left: 0;
  top: 0;
}

.svc-grid-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  aspect-ratio: 16 / 10;
  max-height: 340px;
  min-height: 200px;
}

.svc-grid-cell {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  min-height: 0;
  transition: transform 0.25s var(--transition), box-shadow 0.25s;
}

.svc-grid-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.svc-grid-cell--stat {
  background: linear-gradient(165deg, #fbfbfc, #eceef3);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.svc-grid-cell--stat.svc-grid-cell--accent {
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.14), rgba(0, 180, 216, 0.1));
  border-color: rgba(0, 113, 227, 0.15);
}

.svc-grid-num {
  font-size: clamp(26px, 4.2vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  color: #1d1d1f;
  line-height: 1;
  margin-bottom: 8px;
}

.svc-grid-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #636366;
  line-height: 1.35;
}

.svc-grid-cell--photo {
  padding: 0;
}

.svc-grid-cell--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--transition);
}

.svc-grid-cell--photo:hover img {
  transform: scale(1.05);
}

.svc-toggle-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.svc-toggle {
  position: relative;
  width: 64px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--transition);
}

.svc-toggle[aria-checked="true"] {
  background: linear-gradient(90deg, #0071e3, #00b4d8);
}

.svc-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--transition);
}

.svc-toggle[aria-checked="true"] .svc-toggle-knob {
  transform: translateX(28px);
}

.svc-toggle-labels {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.svc-toggle-labels span.is-on {
  color: #fff;
}

.svc-motion-preview {
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a24, #0d0d12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--transition), opacity 0.5s;
}

.svc-motion-preview[data-on="false"] {
  opacity: 0.55;
  transform: scale(0.98);
}

.svc-motion-preview-inner {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fff, #90e0ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-marquee-wrap {
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: #08080c;
}

.svc-marquee {
  display: flex;
  white-space: nowrap;
  animation: svc-marquee 28s linear infinite;
}

.svc-marquee span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding-right: 3rem;
}

@keyframes svc-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.svc-parallax-stage {
  margin-top: 36px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 113, 227, 0.25), transparent 50%),
    linear-gradient(145deg, #1c1c28, #101018);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: min(340px, 42vw);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.svc-parallax-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 380px);
  padding: 28px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  will-change: transform;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.svc-parallax-card strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.svc-parallax-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.svc-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .svc-cards-3 {
    grid-template-columns: 1fr;
  }
}

.svc-card-lite {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 0.5px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.svc-card-lite h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.svc-card-lite p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid-gray);
  margin: 0;
}

.svc-code-block {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #1d1d1f;
  color: #d1d1d6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-code-block .k {
  color: #7dd3fc;
}

.svc-grad-showcase {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  min-height: 160px;
}

@media (max-width: 700px) {
  .svc-grad-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-grad-cell {
  border-radius: 14px;
  min-height: 72px;
}

.svc-grad-cell:nth-child(1) {
  background: linear-gradient(135deg, #0071e3, #00b4d8);
}

.svc-grad-cell:nth-child(2) {
  background: radial-gradient(circle at 30% 30%, #ff9f0a, #5856d6);
}

.svc-grad-cell:nth-child(3) {
  background: conic-gradient(from 180deg, #34c759, #0071e3, #ff375f, #34c759);
}

.svc-grad-cell:nth-child(4) {
  background: linear-gradient(160deg, #2d2d38, #0a0a0f);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-offerings {
  padding: 88px 24px 100px;
  background: #fff;
  color: var(--dark-gray);
}

.svc-offerings-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.svc-offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .svc-offerings-grid {
    grid-template-columns: 1fr;
  }
}

.svc-offer-tile {
  display: block;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 0.5px solid var(--light-gray);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--transition), box-shadow 0.25s;
}

.svc-offer-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.svc-offer-tile h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.svc-offer-tile p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid-gray);
  margin: 0;
}

.svc-faq {
  max-width: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #e8ebf2 0%, #dce1ea 55%, #d5dae5 100%);
  color: var(--dark-gray);
}

.svc-faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

.svc-faq-box {
  padding: 28px 26px 32px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
}

.svc-faq-box h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.svc-faq-box p {
  font-size: 16px;
  line-height: 1.65;
  color: #1d1d1f;
  margin: 0 0 12px;
}

.svc-faq-box p:last-child {
  margin-bottom: 0;
}

.svc-faq-box a {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
}

.svc-faq-box a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.svc-faq-popular {
  padding: 28px 26px 8px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.svc-faq-popular > h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.svc-faq-item {
  border-bottom: 0.5px solid var(--light-gray);
}

.svc-faq-item:last-child {
  border-bottom: none;
}

.svc-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 8px 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.svc-faq-item summary::-webkit-details-marker {
  display: none;
}

.svc-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  border: 0.5px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--mid-gray);
  transition: transform 0.2s var(--transition), background 0.2s;
}

.svc-faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
}

.svc-faq-item summary:hover::after {
  background: var(--light-gray);
}

.svc-faq-answer {
  padding: 0 8px 20px 0;
  font-size: 15px;
  line-height: 1.65;
  color: #424245;
  max-width: 720px;
}

body.subpage-services footer {
  background: var(--surface-dark);
}

body.subpage-services .footer-brand .logo {
  color: #fff;
}
