/**
 * Agency Pro Theme — Main Stylesheet
 * Built with Tailwind CSS utilities
 *
 * @package MyTheme
 */

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Color Tokens
   ========================================================================== */

:root {
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-200: #bfdbfe;
  --color-primary-300: #93c5fd;
  --color-primary-400: #60a5fa;
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-primary-900: #1e3a5f;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.min-w-\[140px\] { min-width: 140px; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.grid { display: grid; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aspect-\[3\/2\] { aspect-ratio: 3/2; }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }
.aspect-square { aspect-ratio: 1/1; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.top-full { top: 100%; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ==========================================================================
   Spacing
   ========================================================================== */

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.-mt-4 { margin-top: -1rem; }

/* ==========================================================================
   Typography
   ========================================================================== */

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.not-italic { font-style: normal; }
.antialiased { -webkit-font-smoothing: antialiased; }

/* ==========================================================================
   Colors
   ========================================================================== */

.text-white { color: #fff; }
.text-slate-300 { color: var(--color-slate-300); }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-900 { color: var(--color-slate-900); }
.text-primary-100 { color: var(--color-primary-100); }
.text-primary-200 { color: var(--color-primary-200); }
.text-primary-400 { color: var(--color-primary-400); }
.text-primary-600 { color: var(--color-primary-600); }
.text-primary-700 { color: var(--color-primary-700); }
.text-amber-400 { color: #fbbf24; }
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-slate-100 { background-color: var(--color-slate-100); }
.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-primary-50 { background-color: var(--color-primary-50); }
.bg-primary-100 { background-color: var(--color-primary-100); }
.bg-primary-600 { background-color: var(--color-primary-600); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-primary-400\/30 { background-color: rgba(96,165,250,0.3); }
.bg-primary-500\/30 { background-color: rgba(59,130,246,0.3); }
.bg-blue-500\/30 { background-color: rgba(59,130,246,0.3); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops, var(--color-slate-900), var(--color-slate-800))); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-slate-900 { --tw-gradient-from: var(--color-slate-900); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-slate-100 { --tw-gradient-from: var(--color-slate-100); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary-100 { --tw-gradient-from: var(--color-primary-100); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary-500\/30 { --tw-gradient-from: rgba(59,130,246,0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-slate-800 { --tw-gradient-stops: var(--tw-gradient-from), var(--color-slate-800), var(--tw-gradient-to, transparent); }
.via-slate-900\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(15,23,42,0.2), var(--tw-gradient-to, transparent); }
.to-slate-200 { --tw-gradient-to: var(--color-slate-200); }
.to-primary-200 { --tw-gradient-to: var(--color-primary-200); }
.to-primary-900 { --tw-gradient-to: var(--color-primary-900); }
.to-blue-500\/30 { --tw-gradient-to: rgba(59,130,246,0.3); }
.to-transparent { --tw-gradient-to: transparent; }
.from-slate-900\/80 { --tw-gradient-from: rgba(15,23,42,0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

/* ==========================================================================
   Borders & Radius
   ========================================================================== */

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-200 { border-color: var(--color-slate-200); }
.border-slate-300 { border-color: var(--color-slate-300); }
.border-slate-800 { border-color: #1e293b; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ==========================================================================
   Effects
   ========================================================================== */

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.blur-3xl { filter: blur(64px); }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-all { transition: all 0.3s; }
.transition-opacity { transition: opacity 0.3s; }
.transition-transform { transition: transform 0.3s; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Hover states */
.hover\:text-primary-600:hover { color: var(--color-primary-600); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-primary-400:hover { color: var(--color-primary-400); }
.hover\:bg-slate-50:hover { background-color: var(--color-slate-50); }
.hover\:bg-slate-100:hover { background-color: var(--color-slate-100); }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:border-primary-200:hover { border-color: var(--color-primary-200); }
.hover\:border-primary-300:hover { border-color: var(--color-primary-300); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:text-primary-600 { color: var(--color-primary-600); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-primary {
  background-color: var(--color-primary-600);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-primary-700);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-600);
}
.btn-outline:hover {
  background-color: var(--color-primary-600);
  color: #fff;
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid transparent;
}

.btn-white {
  background-color: #fff;
  color: var(--color-primary-600);
}
.btn-white:hover {
  background-color: var(--color-slate-100);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: 0.5rem;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* ==========================================================================
   Site Header (dark bar + dotted nav + lang pill)
   ========================================================================== */

:root {
  --header-bg: #0a1f3d;
  --header-bg-end: #0c2a52;
  --header-text: #ffffff;
  --header-text-muted: rgba(255, 255, 255, 0.45);
  --header-dot: rgba(255, 255, 255, 0.35);
  --header-pill-bg: #ffffff;
  --header-pill-text: #0a1f3d;
}

.site-header--dark {
  background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-end) 100%);
  transition: box-shadow 0.3s ease;
}

.site-header--dark.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.site-header__bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

@media (min-width: 1024px) {
  .site-header__inner {
    min-height: 5rem;
  }
}

/* Logo */
.site-branding {
  flex-shrink: 0;
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  text-decoration: none;
  line-height: 1.2;
}

.site-logo__img {
  display: block;
  max-height: var(--logo-max-height, 48px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-logo--invert .site-logo__img {
  filter: brightness(0) invert(1);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.site-logo__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--header-text);
  letter-spacing: -0.02em;
}

.site-logo__tagline {
  font-size: 0.75rem;
  color: var(--header-text-muted, rgba(255, 255, 255, 0.65));
  font-weight: 400;
}

.site-branding__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--header-text);
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
  text-decoration: none;
}

.site-branding__title:hover {
  opacity: 0.85;
  color: var(--header-text);
}

.site-branding__title--footer {
  font-size: 1.25rem;
  color: #fff;
}

.site-branding__title--footer:hover {
  color: var(--color-primary-400, #60a5fa);
}

.site-branding__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-branding__tagline--footer {
  color: #94a3b8;
}

.footer-brand__logo {
  margin-bottom: 1rem;
}

.footer-brand__logo .site-logo__title {
  color: #fff;
}

.site-header:not(.sticky) {
  position: relative;
}

/* Main navigation */
.main-navigation {
  flex: 1;
  justify-content: center;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.site-nav__menu > .menu-item {
  display: flex;
  align-items: center;
  list-style: none;
}

/* Dot separator between menu items */
.site-nav__menu > .menu-item:not(:last-child)::after {
  content: '\00b7';
  margin: 0 1.125rem;
  color: var(--header-dot);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

.site-nav__link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--header-text);
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__menu .current-menu-item > .site-nav__link,
.site-nav__menu .current_page_item > .site-nav__link {
  color: var(--header-text);
  opacity: 1;
}

.site-nav__link:hover {
  opacity: 0.75;
}

.site-nav__menu .current-menu-item > .site-nav__link,
.site-nav__menu .current_page_item > .site-nav__link {
  font-weight: 600;
}

/* Submenu / mega (APME) */
.site-nav__menu .menu-item-has-children {
  position: relative;
}

.site-nav__menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.site-nav__menu > .menu-item > .sub-menu:not(.sub-menu--mega) {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  z-index: 60;
  padding: 0.5rem;
}

.site-nav__menu > .menu-item:hover > .sub-menu:not(.sub-menu--mega),
.site-nav__menu > .menu-item.is-mega-open > .sub-menu {
  display: block;
}

.site-nav__menu .sub-menu .site-nav__link {
  display: block;
  padding: 0.45rem 0.75rem;
  color: #334155;
  white-space: normal;
}

.site-nav__menu .sub-menu .site-nav__link:hover {
  background: #f1f5f9;
  border-radius: 6px;
  opacity: 1;
}

.site-nav__menu > .menu-item--icon-only:not(:last-child)::after,
.site-nav__menu > .menu-item--login:not(:last-child)::after {
  content: none;
}

.site-nav__link--icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent !important;
}

.menu-item--login > .site-nav__link,
.menu-item--login > a {
  background: transparent !important;
  color: var(--header-text) !important;
  box-shadow: none !important;
}

.site-nav__link--icon-only:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.menu-item--login .apme-menu-icon--svg svg {
  display: block;
  color: currentColor;
}

.menu-item--login .apme-menu-icon.dashicons {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  color: currentColor;
}

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language switcher — pill style */
.lang-switcher--header .lang-switcher__group {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.lang-switcher--header .lang-switcher__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  padding: 0.4rem 0.625rem;
  color: var(--header-text-muted);
}

.lang-switcher--header .lang-switcher__link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.lang-switcher--header .lang-switcher__link.is-active {
  background-color: var(--header-pill-bg);
  color: var(--header-pill-text);
  padding: 0.45rem 0.875rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.lang-switcher--header .lang-switcher__link.is-active:hover {
  color: var(--header-pill-text);
  opacity: 0.92;
}

.lang-switcher--header .lang-switcher__flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-switcher--header .lang-switcher__divider {
  display: inline-block;
  width: 1px;
  height: 1.125rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 0.375rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile menu panel */
.mobile-menu {
  background: linear-gradient(180deg, var(--header-bg-end) 0%, var(--header-bg) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.is-open {
  display: block;
}

.site-nav__menu--mobile,
.mobile-menu .site-nav__menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.site-nav__menu--mobile > .menu-item::after,
.mobile-menu .site-nav__menu > .menu-item::after {
  display: none !important;
}

.site-nav__menu--mobile .site-nav__link,
.mobile-menu .site-nav__menu .site-nav__link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.site-nav__menu--mobile .site-nav__link:hover,
.mobile-menu .site-nav__menu .site-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.mobile-menu-toggle.is-active .icon-open { display: none; }
.mobile-menu-toggle.is-active .icon-close { display: block; }
.mobile-menu-toggle .icon-close { display: none; }

/* Legacy lang switcher (footer dropdown) */
.lang-switcher__link--active {
  background-color: var(--color-primary-100);
  color: var(--color-primary-700);
}

.site-header {
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Page layout system (all inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 2.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-end) 100%);
}

.page-hero--startup {
  background: var(--hero-bg, #070b14);
  padding: 3.25rem 0 3.5rem;
}

.page-hero--startup.page-hero--compact {
  padding: 2.35rem 0 2.6rem;
}

.page-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(37, 99, 235, 0.15), transparent 50%);
  pointer-events: none;
}

.page-hero--startup .page-hero__title {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero__line {
  display: block;
  width: 3rem;
  height: 4px;
  margin: 1rem 0 0;
  background: linear-gradient(90deg, var(--accent, #6366f1), var(--accent-2, #8b5cf6));
  border-radius: 2px;
}

.page-hero--compact {
  padding: 2rem 0 2.25rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero--has-image .page-hero__bg {
  background-size: cover;
  background-position: center;
}

.page-hero--has-image .page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.82) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs__link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.breadcrumbs__link:hover {
  color: #fff;
}

.breadcrumbs__current {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Page body (legacy + woocommerce fallbacks) */
.page-body {
  padding: 2.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 120px, #f8fafc 100%);
}

.inner-section {
  position: relative;
}

.inner-section .content-panel.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.inner-section .content-panel.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.theme-startup .inner-section .content-panel {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1.25rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07);
  background: #fff;
}

.theme-startup .inner-section .content-panel--wide {
  max-width: 72rem;
}

.inner-page-actions,
.service-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-slate-200);
}

.service-detail--page .service-detail__content,
.portfolio-detail--page .portfolio-detail__body {
  border-top: none;
  padding-top: 0;
}

.service-detail__media--wide {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 21 / 9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  margin-bottom: 1.5rem;
}

.service-detail__media--wide .service-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-detail__media--page {
  margin-top: 0;
}

.portfolio-detail__media--page .portfolio-detail__img {
  max-height: 22rem;
}

.portfolio-single__type {
  margin: 0 0 1rem;
}

.theme-startup .content-card__surface {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-startup .content-card__surface:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
}

.content-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-slate-100);
}

.content-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.content-card__surface:hover .content-card__img {
  transform: scale(1.05);
}

.content-card__placeholder {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-slate-100), var(--color-slate-200));
  font-size: 2.5rem;
  opacity: 0.45;
}

.content-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.content-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-slate-500);
}

.content-card__title {
  margin: 0.45rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-slate-900);
}

.content-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, #6366f1);
}

/* ==========================================================================
   Blog showcase (v7.4.1)
   ========================================================================== */

.blog-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.blog-section::before,
.blog-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.blog-section::before {
  width: 24rem;
  height: 24rem;
  top: -6rem;
  left: -5rem;
  background: color-mix(in srgb, var(--accent-2, #8b5cf6) 40%, transparent);
}

.blog-section::after {
  width: 20rem;
  height: 20rem;
  bottom: -4rem;
  right: -4rem;
  background: color-mix(in srgb, var(--accent, #6366f1) 32%, transparent);
}

.blog-section > .container {
  position: relative;
  z-index: 1;
}

.blog-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.blog-card.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--blog-i, 0s);
}

.blog-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.blog-card__surface {
  height: 100%;
}

.blog-card__media {
  position: relative;
}

.blog-card__shine {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 65%
  );
  transform: translateX(-140%) rotate(12deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.blog-card__surface:hover .blog-card__shine {
  transform: translateX(320%) rotate(12deg);
}

.blog-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.blog-card__meta-sep {
  color: var(--color-slate-300);
}

.blog-card__read {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-500);
}

.blog-card__title {
  font-size: 1.125rem;
  transition: color 0.25s ease;
}

.blog-card--featured .blog-card__title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.blog-card__surface:hover .blog-card__title {
  color: var(--accent, #6366f1);
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.blog-card__author {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.blog-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #8b5cf6));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card__peek {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  color: var(--accent, #6366f1);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.blog-card__surface:hover .blog-card__peek {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--accent, #6366f1) 12%, #fff);
  border-color: color-mix(in srgb, var(--accent, #6366f1) 35%, var(--color-slate-200));
}

.theme-startup .blog-card__surface {
  border-radius: 1.1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.theme-startup .blog-card__surface:hover {
  box-shadow: 0 20px 44px rgba(99, 102, 241, 0.12);
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .blog-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .blog-card--featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .blog-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .blog-card--featured {
    grid-column: span 2;
  }

  .blog-card--featured .blog-card__surface {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 19rem;
  }

  .blog-card--featured .blog-card__media {
    aspect-ratio: auto;
    min-height: 19rem;
    height: 100%;
  }

  .blog-card--featured .content-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.85rem;
  }
}

@media (max-width: 767px) {
  .blog-card__excerpt {
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card.reveal,
  .blog-card__shine,
  .blog-card__peek,
  .theme-startup .blog-card__surface {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.inner-section .pagination {
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .page-body {
    padding: 3rem 0 4.5rem;
  }
}

/* Content panel (white card) */
.content-panel {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
  max-width: 52rem;
  margin: 0 auto;
}

.content-panel--wide {
  max-width: 64rem;
}

.content-panel--empty {
  padding: 3rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .content-panel {
    padding: 2.5rem 3rem;
  }
}

/* Content grids */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.content-grid--portfolio {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.portfolio-card--stack .portfolio-card__frame {
  flex: 1;
}

@media (min-width: 768px) {
  .portfolio-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .portfolio-card--featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .content-grid--portfolio {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(11.5rem, auto);
    gap: 1.35rem;
  }

  .portfolio-card--featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .content-grid.apho-cols-1 {
    grid-template-columns: 1fr;
  }

  .content-grid.apho-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid.apho-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .content-grid.apho-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Entry meta bar */
.entry-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-slate-200);
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

.entry-meta-bar a {
  color: var(--color-primary-600);
  font-weight: 500;
}

.entry-meta-bar a:hover {
  text-decoration: underline;
}

.entry-meta-bar__sep {
  color: var(--color-slate-300);
}

/* Featured images in content */
.entry-thumbnail {
  margin: 0 0 1.75rem;
  border-radius: 1rem;
  overflow: hidden;
}

.entry-thumbnail--featured img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-thumbnail--hero {
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

/* Entry footer / tags */
.entry-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-slate-200);
}

.entry-footer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-slate-500);
  margin-bottom: 0.75rem;
}

.entry-tags a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin: 0 0.35rem 0.35rem 0;
  background: var(--color-slate-100);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--color-slate-600);
  transition: all 0.2s;
}

.entry-tags a:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

/* Post navigation cards */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-200);
}

@media (min-width: 640px) {
  .post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

.post-navigation a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}

.post-navigation a:hover {
  border-color: var(--color-primary-300);
  background: var(--color-primary-50);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.post-navigation__next {
  text-align: right;
}

.post-navigation__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate-500);
  margin-bottom: 0.35rem;
}

.post-navigation__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-slate-900);
  line-height: 1.4;
}

/* Project meta */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.project-meta__item {
  flex: 1;
  min-width: 140px;
  padding: 1rem 1.25rem;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 0.75rem;
}

.project-meta__item dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-slate-500);
  margin-bottom: 0.25rem;
}

.project-meta__item dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

.project-meta__link {
  color: var(--color-primary-600);
}

.project-meta__link:hover {
  text-decoration: underline;
}

/* Service single */
.service-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  background: var(--color-primary-50);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.service-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-200);
}

/* 404 panel */
.error-panel {
  text-align: center;
  padding: 3rem 2rem;
}

.error-panel__code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary-200), var(--color-primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.error-panel__actions {
  margin-bottom: 2rem;
}

.error-panel__search {
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.error-panel__search-label {
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-bottom: 0.75rem;
}

.error-panel__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.error-panel__link {
  padding: 0.5rem 1rem;
  background: var(--color-slate-100);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
  transition: all 0.2s;
}

.error-panel__link:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

/* Search box */
.search-box {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.search-form__inner {
  display: flex;
  gap: 0.5rem;
  background: #fff;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.search-form .search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  outline: none;
}

.search-form__submit {
  flex-shrink: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* No results */
.no-results {
  text-align: center;
  padding: 1rem 0;
}

.no-results__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.no-results__text {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  margin-bottom: 1.5rem;
}

.no-results__search {
  max-width: 24rem;
  margin: 0 auto;
}

/* Section headings (front page) */
.home-section {
  padding: 4rem 0;
}

.home-section--alt {
  background: var(--color-slate-50);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-600);
}

.section-heading__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
}

.section-heading__line {
  display: block;
  width: 3rem;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-600), var(--color-primary-300));
  border-radius: 2px;
  margin: 1rem auto 0;
}

.section-heading__desc {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-slate-600);
}

.section-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-slate-500);
  background: var(--color-slate-50);
  border: 1px dashed var(--color-slate-200);
  border-radius: 0.75rem;
}

/* Hero variants */
.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
}

.hero--compact .hero__layout { padding: 3.5rem 0; }
.hero--normal .hero__layout,
.hero__layout { padding: 5rem 0; }
.hero--tall .hero__layout { padding: 7rem 0; }

.hero__glow { pointer-events: none; }
.hero--overlay-subtle .hero__glow { opacity: 0.12; }
.hero--overlay-medium .hero__glow { opacity: 0.2; }
.hero--overlay-vivid .hero__glow { opacity: 0.38; }
.hero--no-glow .hero__glow { display: none; }

@media (min-width: 1024px) {
  .hero--align-center .hero-content { text-align: center; margin-inline: auto; }
  .hero--align-center .hero-content .flex { justify-content: center; }
}

.hero__download {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.75rem;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero__download:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.hero__download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  background: rgba(79, 70, 229, 0.9);
  border-radius: 0.5rem;
}

.hero__download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.hero__download-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero__download-text small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.hero__actions {
  flex-wrap: wrap;
}

/* Stats cards */
.stats-section {
  padding: 3rem 0;
  background: #fff;
  border-bottom: 1px solid var(--color-slate-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 1rem;
  transition: all 0.25s;
}

.stat-card:hover {
  border-color: var(--color-primary-200);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.stat-card__number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary-600);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-card__label {
  font-size: 0.8125rem;
  color: var(--color-slate-600);
  font-weight: 500;
}

/* Comments */
.comments-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-200);
}

.comments-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 1.5rem;
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list .comment {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--color-slate-50);
  border-radius: 0.75rem;
  border: 1px solid var(--color-slate-200);
}

.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-700);
  margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-slate-300);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Pagination wrapper */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 1rem;
}

.text-center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }

/* Content cards polish */
.content-card a,
.service-card a,
.portfolio-card a {
  text-decoration: none;
  color: inherit;
}

.content-card > a,
.service-card__surface {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card__surface {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  padding: 1.75rem;
}

.service-card__surface:hover,
.service-card__surface:focus-visible {
  border-color: var(--color-primary-200);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
  outline: none;
}

.service-card__link {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.content-card > a:hover,
.service-card__link:hover {
  border-color: var(--color-primary-200);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.service-card__image {
  background: var(--color-slate-100);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-card__surface:hover .service-card__image img,
.service-card__link:hover .service-card__image img {
  transform: scale(1.05);
}

.testimonial-card > div {
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card > div:hover {
  border-color: var(--color-primary-200);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.portfolio-card > a {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

/* Portfolio showcase (v7.3.8) */
.portfolio-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.portfolio-section::before,
.portfolio-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
}

.portfolio-section::before {
  width: 26rem;
  height: 26rem;
  top: -7rem;
  right: -5rem;
  background: color-mix(in srgb, var(--color-primary-300, #a5b4fc) 55%, transparent);
}

.portfolio-section::after {
  width: 22rem;
  height: 22rem;
  bottom: -5rem;
  left: -6rem;
  background: color-mix(in srgb, var(--accent, #6366f1) 28%, transparent);
}

.portfolio-section > .container {
  position: relative;
  z-index: 1;
}

.portfolio-card.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--portfolio-i, 0s);
}

.portfolio-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-card--stack {
  width: 100%;
  min-width: 0;
}

.portfolio-card--stack .portfolio-card__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 15rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--color-slate-900);
  border: 1px solid color-mix(in srgb, var(--color-slate-200) 80%, transparent);
  box-shadow:
    0 4px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.portfolio-card--featured .portfolio-card__frame {
  min-height: 20rem;
}

.portfolio-card--stack:hover .portfolio-card__frame,
.portfolio-card--stack:focus-within .portfolio-card__frame {
  border-color: color-mix(in srgb, var(--accent, #6366f1) 45%, var(--color-slate-200));
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.16),
    0 0 0 1px color-mix(in srgb, var(--accent, #6366f1) 18%, transparent);
  transform: translateY(-6px);
}

.portfolio-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.portfolio-card--stack:hover .portfolio-card__image,
.portfolio-card--stack:focus-within .portfolio-card__image {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.portfolio-card__shine {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-140%) rotate(12deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.portfolio-card--stack:hover .portfolio-card__shine,
.portfolio-card--stack:focus-within .portfolio-card__shine {
  transform: translateX(320%) rotate(12deg);
}

.portfolio-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  background: linear-gradient(135deg, var(--color-primary-500, #6366f1), var(--color-primary-700, #4338ca));
  font-size: 3rem;
  opacity: 0.55;
}

.portfolio-card__hitarea {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

.portfolio-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio-card__foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 1rem 1.1rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.72) 58%,
    transparent 100%
  );
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card__foot-main {
  min-width: 0;
}

.portfolio-card__title {
  margin: 0 0 0.2rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.portfolio-card--featured .portfolio-card__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.portfolio-card__client {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-card__peek {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: transform 0.35s ease, background 0.35s ease;
}

.portfolio-card--stack:hover .portfolio-card__peek,
.portfolio-card--stack:focus-within .portfolio-card__peek {
  transform: translateX(3px) rotate(-45deg);
  background: color-mix(in srgb, var(--accent, #6366f1) 72%, #fff);
}

.portfolio-card__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.1rem 1.1rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(15, 23, 42, 0.88) 72%,
    transparent 100%
  );
  color: #fff;
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
  transition:
    opacity 0.38s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card--stack:hover .portfolio-card__panel,
.portfolio-card--stack:focus-within .portfolio-card__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.portfolio-card--stack:hover .portfolio-card__foot,
.portfolio-card--stack:focus-within .portfolio-card__foot {
  transform: translateY(-0.35rem);
  opacity: 0;
  pointer-events: none;
}

.portfolio-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.95rem;
  font-size: 0.8125rem;
  text-decoration: none;
  border-radius: 0.55rem;
}

.portfolio-card__btn--download {
  background: var(--color-primary-600, #4f46e5);
  color: #fff;
  border: none;
}

.portfolio-card__btn--download:hover {
  background: var(--color-primary-700, #4338ca);
  color: #fff;
}

.portfolio-card__btn--detail,
.portfolio-card__btn--link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.portfolio-card__btn--detail:hover,
.portfolio-card__btn--link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.portfolio-card__btn--detail {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 767px) {
  .portfolio-card--stack .portfolio-card__frame {
    min-height: 13.5rem;
  }

  .portfolio-card--featured .portfolio-card__frame {
    min-height: 16rem;
  }

  .portfolio-card__panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: relative;
    padding-top: 0.25rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
  }

  .portfolio-card__foot {
    padding-bottom: 0.65rem;
  }

  .portfolio-card__desc {
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .portfolio-card__image,
  .portfolio-card__shine,
  .portfolio-card__panel,
  .portfolio-card__foot,
  .portfolio-card__peek,
  .portfolio-card--stack .portfolio-card__frame {
    transition: none;
  }
}

.portfolio-card > a:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.portfolio-card__badge--inline {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.portfolio-card__download {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  background: rgba(79, 70, 229, 0.9);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.portfolio-single__type {
  margin: 0 0 1rem;
}

.portfolio-download {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  border: 1px solid var(--color-primary-100, #e0e7ff);
  border-radius: 1rem;
}

.portfolio-download__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-slate-800, #1e293b);
}

.portfolio-download__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-download__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portfolio-download__filename {
  font-size: 0.9375rem;
  color: var(--color-slate-700, #334155);
}

.portfolio-download__size {
  font-size: 0.8125rem;
  color: var(--color-slate-500, #64748b);
}

.portfolio-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.card-body {
  padding: 1.5rem;
}

.card-thumbnail {
  overflow: hidden;
}

/* Homepage contact form section */
.contact-form-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-section .apcf-form-wrap--home {
  max-width: 100%;
  margin: 0;
}

.contact-form-section .apcf-form-wrap--home .apcf-form-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-form-section .apcf-form-wrap--home .apcf-form-desc {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-slate-600);
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section .apcf-form-wrap--home .apcf-fields {
  gap: 1.15rem 1.35rem;
}

.contact-form-section .apcf-form-wrap--home .apcf-field-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-600);
  margin-bottom: 0.4rem;
}

.contact-form-section .apcf-form-wrap--home .apcf-field input,
.contact-form-section .apcf-form-wrap--home .apcf-field select,
.contact-form-section .apcf-form-wrap--home .apcf-field textarea {
  padding: 0.72rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--color-slate-900);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form-section .apcf-form-wrap--home .apcf-field input:focus,
.contact-form-section .apcf-form-wrap--home .apcf-field select:focus,
.contact-form-section .apcf-form-wrap--home .apcf-field textarea:focus {
  border-color: var(--apcf-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--apcf-primary) 15%, transparent);
}

.contact-form-section .apcf-form-wrap--home .apcf-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-section .apcf-form-wrap--home .apcf-consent-label {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-slate-600);
}

.contact-form-section .apcf-form-wrap--home .apcf-form-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
}

.contact-form-section .apcf-form-wrap--home .apcf-submit {
  min-width: 200px;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .contact-form-section .apcf-form-wrap--home .apcf-submit {
    width: 100%;
  }
}

.contact-form-section .apcf-form-wrap--home .apcf-form-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
}

.contact-form-section .apcf-form-wrap--home .apcf-form-message.is-success {
  animation: apcfSuccessIn 0.35s ease;
}

@keyframes apcfSuccessIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social__link {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  text-decoration: none;
}

.footer-social__link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}

/* Prose (content) */
.prose { color: var(--color-slate-700); }
.prose-lg { font-size: 1.125rem; }
.prose h2, .prose h3, .prose h4 { color: var(--color-slate-900); font-weight: 700; margin-top: 2em; margin-bottom: 0.75em; }
.prose p { margin-bottom: 1.25em; }
.prose a { color: var(--color-primary-600); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose img { border-radius: 0.75rem; margin: 2em 0; }
.prose blockquote { border-left: 4px solid var(--color-primary-300); padding-left: 1em; font-style: italic; color: var(--color-slate-600); }

/* Pagination */
.pagination .nav-links { display: flex; gap: 0.5rem; align-items: center; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
  border: 1px solid var(--color-slate-200);
  transition: all 0.15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: var(--color-primary-600);
  color: #fff;
  border-color: var(--color-primary-600);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus\:absolute:focus { position: absolute; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.focus\:z-\[100\]:focus { z-index: 100; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:bg-primary-600:focus { background-color: var(--color-primary-600); }
.focus\:text-white:focus { color: #fff; }
.focus\:rounded-lg:focus { border-radius: 0.5rem; }

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ==========================================================================
   Responsive (mobile-first)
   ========================================================================== */

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:gap-4 { gap: 1rem; }
  .lg\:gap-6 { gap: 1.5rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:h-20 { height: 5rem; }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-xl { font-size: 1.25rem; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:text-left { text-align: left; }
  .lg\:rounded-none { border-radius: 0; }
  .lg\:hover\:bg-transparent:hover { background-color: transparent; }
  .lg\:px-0 { padding-left: 0; padding-right: 0; }
  .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .main-navigation .menu,
  .main-navigation .site-nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-navigation .menu-item { list-style: none; }
}

/* Mobile menu list */
.mobile-menu .menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu .menu-item { list-style: none; }

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Custom logo sizing (legacy fallback) */
.custom-logo-link img { max-height: var(--logo-max-height, 48px); width: auto; }

/* Gutenberg alignment */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Footer widget overrides */
.footer-widget .widget-title { color: #fff; }

/* Search field focus */
.search-field:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
  border-color: var(--color-primary-500);
}

/* Translate utilities */
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-1\/2 { transform: translateX(50%); }
.translate-y-1\/2 { transform: translateY(50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.mt-8 { margin-top: 2rem; }

/* ==========================================================================
   Software Startup Theme (v7.3)
   ========================================================================== */

.theme-startup {
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --surface: #f8fafc;
  --hero-bg: #070b14;
}

.theme-startup .site-header--dark {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-startup .site-header--dark.is-scrolled {
  background: rgba(7, 11, 20, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.theme-startup .site-header__cta {
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.hero--startup {
  background: var(--hero-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero--startup .hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(37, 99, 235, 0.15), transparent 50%);
  pointer-events: none;
}

.hero--startup .hero__title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero--startup .hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  .hero--startup .hero__subtitle { margin-left: 0; margin-right: 0; }
}

.hero--startup .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero--startup .hero__cta-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.hero--startup .hero__cta-primary:hover {
  filter: brightness(1.06);
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero__highlights { justify-content: flex-start; }
}
.hero__highlights li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 1.1rem;
  position: relative;
}
.hero__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-dashboard {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

.hero-dashboard__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-dashboard__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.hero-dashboard__dot:nth-child(1) { background: #ef4444; }
.hero-dashboard__dot:nth-child(2) { background: #eab308; }
.hero-dashboard__dot:nth-child(3) { background: #22c55e; }

.hero-dashboard__url {
  margin-left: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-dashboard__body { display: grid; grid-template-columns: 48px 1fr; min-height: 260px; }
.hero-dashboard__sidebar { padding: 0.75rem 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.hero-dashboard__sidebar span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.hero-dashboard__sidebar span.is-active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.hero-dashboard__main { padding: 1rem; }
.hero-dashboard__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.hero-dashboard__metric { padding: 0.55rem; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.hero-dashboard__metric strong { display: block; font-size: 0.85rem; color: #fff; }
.hero-dashboard__metric small { font-size: 0.55rem; color: rgba(255, 255, 255, 0.45); }
.hero-dashboard__chart { display: flex; align-items: flex-end; gap: 0.35rem; height: 90px; margin-bottom: 1rem; padding: 0.5rem; border-radius: 8px; background: rgba(0, 0, 0, 0.2); }
.hero-dashboard__chart span { flex: 1; height: var(--h, 50%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(99, 102, 241, 0.3)); }
.hero-dashboard__rows span { display: block; height: 8px; margin-bottom: 0.45rem; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.hero-dashboard__rows span:nth-child(2) { width: 85%; }
.hero-dashboard__rows span:nth-child(3) { width: 65%; }

.trust-bar { background: #fff; border-bottom: 1px solid var(--color-slate-200); padding: 1.35rem 0; }
.trust-bar__label { margin: 0 0 0.85rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-slate-400); text-align: center; }
.trust-bar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; margin: 0; padding: 0; list-style: none; }
.trust-bar__item { list-style: none; }
.trust-bar__chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--color-slate-600); padding: 0.45rem 0.9rem; background: var(--color-slate-50); border: 1px solid var(--color-slate-200); border-radius: 999px; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
a.trust-bar__chip:hover { border-color: rgba(99, 102, 241, 0.35); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.08); color: var(--color-slate-800); transform: translateY(-1px); }
.trust-bar__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; border-radius: 999px; background: rgba(99, 102, 241, 0.1); color: var(--accent, #6366f1); flex-shrink: 0; }
.trust-bar__icon svg { width: 0.95rem; height: 0.95rem; display: block; }
.trust-bar__text { display: inline-flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.trust-bar__title { line-height: 1.3; }
.trust-bar__desc { display: none; font-size: 0.72rem; font-weight: 500; color: var(--color-slate-500); line-height: 1.4; }
.trust-bar__badge { margin-left: 0.15rem; padding: 0.1rem 0.45rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; background: #22c55e; color: #fff; flex-shrink: 0; }

.trust-bar--cards .trust-bar__list,
.trust-bar--grid .trust-bar__list {
  display: grid;
  grid-template-columns: repeat(var(--trust-cols, 4), minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: stretch;
}
.trust-bar--cards .trust-bar__chip,
.trust-bar--grid .trust-bar__chip {
  width: 100%;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  justify-content: flex-start;
}
.trust-bar--grid .trust-bar__desc,
.trust-bar--descriptions .trust-bar__desc { display: block; }
.trust-bar--grid .trust-bar__chip { align-items: flex-start; }

@media (max-width: 1023px) {
  .trust-bar--cards .trust-bar__list,
  .trust-bar--grid .trust-bar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .trust-bar--cards .trust-bar__list,
  .trust-bar--grid .trust-bar__list { grid-template-columns: 1fr; }
}

.theme-startup .home-section { padding: 5rem 0; }
.theme-startup .inner-section { padding: 3.5rem 0 4.5rem; }
.theme-startup .page-hero--startup + .inner-section { padding-top: 2.5rem; }
.theme-startup .section-heading__eyebrow { color: var(--accent); background: rgba(99, 102, 241, 0.08); padding: 0.25rem 0.75rem; border-radius: 999px; }
.theme-startup .section-heading__line { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.theme-startup .stat-card { background: #fff; border: 1px solid var(--color-slate-200); border-radius: 1rem; }
.theme-startup .stat-card__number { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.theme-startup .service-card__surface {
  display: block;
  height: 100%;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.theme-startup .service-card__surface:hover,
.theme-startup .service-card__surface:focus-visible {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
  outline: none;
}

.theme-startup .service-card__link {
  display: block; height: 100%; padding: 1.75rem; background: #fff;
  border: 1px solid var(--color-slate-200); border-radius: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.theme-startup .service-card__link:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
}
.service-card__title { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; color: var(--color-slate-900); }
.service-card__excerpt { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--color-slate-600); }
.service-card__more { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }

.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 700; color: #fff;
}
.feature-icon--1 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.feature-icon--2 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.feature-icon--3 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon--4 { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon--5 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon--6 { background: linear-gradient(135deg, #ec4899, #db2777); }

.footer-icon { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 8px; background: rgba(99, 102, 241, 0.15); position: relative; }
.footer-icon::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px;
  background: var(--accent); mask-size: contain; mask-repeat: no-repeat; mask-position: center;
}

.theme-startup .site-footer { background: linear-gradient(180deg, #0f172a 0%, #070b14 100%); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow-dot { animation: none; }
}

/* ==========================================================================
   Header Redesign — Software Startup (v7.3.1)
   ========================================================================== */

.site-header--startup .site-header__bar {
  border-bottom: none;
}

.site-header--startup .site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 4.25rem;
}

@media (min-width: 1024px) {
  .site-header--startup .site-header__inner {
    min-height: 4.75rem;
    gap: 1rem 2rem;
  }
}

.site-header--startup .site-header__brand {
  min-width: 0;
}

.site-header--startup .site-header__nav {
  justify-content: center;
  min-width: 0;
}

.site-header--startup .site-nav__menu {
  gap: 0.15rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.site-header--startup .site-nav__menu > .menu-item::after {
  content: none !important;
}

.site-header--startup .site-nav__menu > .menu-item > .site-nav__link,
.site-header--startup .site-nav__menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header--startup .site-nav__menu > .menu-item > .site-nav__link:hover,
.site-header--startup .site-nav__menu > .menu-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.site-header--startup .site-nav__menu > .current-menu-item > .site-nav__link,
.site-header--startup .site-nav__menu > .current_page_item > .site-nav__link,
.site-header--startup .site-nav__menu > .current-menu-item > a,
.site-header--startup .site-nav__menu > .current_page_item > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header--startup .site-header__nav .apme-menu-icon,
.site-header--startup .site-header__nav .apme-menu-icon--svg {
  display: none;
}

.site-header--startup .site-header__nav .apme-menu-badge {
  margin-left: 0;
  padding: 0.12rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  vertical-align: middle;
}

.site-header--startup .site-header__nav .apme-menu-description {
  display: none;
}

.site-header--startup .site-header__actions {
  gap: 0.5rem;
}

.site-header--startup .site-header__auth {
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header--startup .site-header__auth:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.site-header--startup .site-header__auth-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.site-header--startup .site-header__cta--auth {
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}

.site-header--startup .site-header__cta--auth.site-header__cta:not(.site-header__cta--mobile) {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.site-header--startup .site-header__cta--mobile.site-header__cta--auth .site-header__auth-icon {
  width: 1rem;
  height: 1rem;
}

.site-header--startup .site-header__cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #6366f1) 0%, var(--accent-2, #8b5cf6) 100%);
  border: none;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  white-space: nowrap;
}

.site-header--startup .site-header__cta:hover {
  filter: brightness(1.06);
  color: #fff;
}

.site-header--startup .lang-switcher--header .lang-switcher__group {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.site-header--startup .lang-switcher--header .lang-switcher__link {
  min-width: 2.35rem;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.site-header--startup .lang-switcher--header .lang-switcher__link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.site-header--startup .lang-switcher--header .lang-switcher__link.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header--startup .lang-switcher--header .lang-switcher__divider {
  display: none;
}

.site-header--startup .mobile-menu-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.site-header--startup .mobile-menu {
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header--startup .site-nav__menu--mobile {
  gap: 0.15rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.site-header--startup .site-nav__menu--mobile > .menu-item > .site-nav__link,
.site-header--startup .site-nav__menu--mobile > .menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-header--startup .site-nav__menu--mobile > .menu-item > .site-nav__link:hover,
.site-header--startup .site-nav__menu--mobile > .menu-item > a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-header--startup .site-nav__menu--mobile .menu-item--cta > a,
.site-header--startup .site-nav__menu--mobile .site-nav__link--cta {
  justify-content: center;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #8b5cf6)) !important;
  color: #fff !important;
  border: none !important;
}

.site-header--startup .mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header--startup .site-header__cta--mobile {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.site-header--startup .mobile-menu__lang .lang-switcher__group {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   Service detail modal (v7.3.4)
   ========================================================================== */

html.service-modal-open {
  overflow: hidden;
}

html.portfolio-modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.service-modal[hidden] {
  display: none !important;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-modal__dialog {
  position: relative;
  width: min(100%, 42rem);
  max-height: min(88vh, 52rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: 1.25rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  padding: 1.5rem 1.5rem 1.75rem;
  outline: none;
}

.service-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-slate-200);
  border-radius: 999px;
  background: #fff;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.service-modal__close:hover {
  background: var(--color-slate-50);
  color: var(--color-slate-900);
  border-color: var(--color-slate-300);
}

.service-detail__hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.service-detail__media {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
}

.service-detail__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__icon {
  flex-shrink: 0;
}

.service-detail__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-slate-900);
}

.service-detail__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-slate-600);
}

.service-detail__body {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-slate-700);
}

.service-detail__content {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-slate-200);
}

.service-detail__content .service-detail__body + .service-detail__features {
  margin-top: 0;
}

.service-detail__body p {
  margin: 0 0 0.85rem;
}

.service-detail__body p:last-child {
  margin-bottom: 0;
}

.service-detail__features {
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--color-slate-200);
  border-radius: 0.9rem;
}

.service-detail__features-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #6366f1);
}

.service-detail__feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-detail__feature-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: var(--color-slate-700);
}

.service-detail__feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #8b5cf6));
}

.service-card__more {
  pointer-events: none;
}

@media (max-width: 639px) {
  .service-modal__dialog {
    padding: 1.15rem 1.15rem 1.35rem;
    border-radius: 1rem;
  }

  .service-detail__hero {
    flex-direction: column;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   Portfolio detail modal (v7.3.7)
   ========================================================================== */

.portfolio-modal .service-modal__dialog {
  width: min(100%, 46rem);
}

.portfolio-detail__media {
  margin: -0.25rem 0 1rem;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
}

.portfolio-detail__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 16rem;
  object-fit: cover;
}

.portfolio-detail__head {
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.portfolio-detail__title {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-slate-900);
}

.portfolio-detail__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-slate-600);
}

.portfolio-detail__meta {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 0.75rem;
}

.portfolio-detail__body {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-slate-700);
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-slate-200);
}

.portfolio-detail__body p {
  margin: 0 0 0.85rem;
}

.portfolio-detail__body p:last-child {
  margin-bottom: 0;
}

.portfolio-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.portfolio-detail__gallery-item {
  margin: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
}

.portfolio-detail__gallery-img {
  display: block;
  width: 100%;
  height: 5.5rem;
  object-fit: cover;
}

.portfolio-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-slate-200);
}

.portfolio-detail__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 639px) {
  .portfolio-detail__head {
    padding-right: 2rem;
  }

  .portfolio-detail__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

