/* ============================================================
   EPIC SOLUTIONS v3 — Polished Business Design System
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-0: #050816;
  --bg-1: #0a0d2e;
  --bg-2: #0f1340;
  --bg-card: rgba(255, 255, 255, .04);
  --bg-card-h: rgba(255, 255, 255, .08);
  --bg-glass: rgba(5, 8, 22, .92);

  --accent: #7c3aed;
  --accent-l: #a78bfa;
  --accent-c: #06b6d4;
  --accent-g: linear-gradient(135deg, #7c3aed, #a78bfa 50%, #06b6d4);
  --glow: rgba(124, 58, 237, .25);

  --c1: #f1f5f9;
  --c2: #94a3b8;
  --c3: #64748b;
  --brd: rgba(255, 255, 255, .07);
  --brd-a: rgba(124, 58, 237, .25);

  --fh: 'Space Grotesk', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --hero-fs: clamp(2.2rem, 5vw, 4rem);
  --h2-fs: clamp(1.5rem, 3.2vw, 2.4rem);
  --h3-fs: clamp(1rem, 1.6vw, 1.25rem);
  --mw: 1140px;
  --px: 1.5rem;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pill: 9999px;
  --sh: 0 8px 32px rgba(0, 0, 0, .35);
  --sh-g: 0 0 40px var(--glow);
  --tf: .2s ease;
  --tb: .3s cubic-bezier(.4, 0, .2, 1);
  --ts: .55s cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%
}

body {
  font-family: var(--fb);
  font-size: 1rem;
  color: var(--c1);
  background: var(--bg-0);
  line-height: 1.65;
  overflow-x: hidden
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

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

ul,
ol {
  list-style: none
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

/* Utilities */
.wrap {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px)
}

.sec {
  padding: 5rem 0;
  position: relative
}

.sec-alt {
  background: var(--bg-1)
}

.sec-label {
  font-family: var(--fh);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-l);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .6rem
}

.sec-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent-g);
  border-radius: 2px
}

.sec-title {
  font-family: var(--fh);
  font-size: var(--h2-fs);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .75rem
}

.sec-sub {
  font-size: .95rem;
  color: var(--c2);
  max-width: 520px;
  line-height: 1.7
}

.tc {
  text-align: center
}

.tc .sec-label {
  justify-content: center
}

.tc .sec-sub {
  margin: 0 auto
}

.grad {
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--fh);
  font-weight: 600;
  font-size: .875rem;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  transition: all var(--tb);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3
}

.btn-p {
  padding: .7rem 1.6rem;
  background: var(--accent-g);
  color: #fff;
  box-shadow: var(--sh-g)
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--glow)
}

.btn-s {
  padding: .65rem 1.4rem;
  background: transparent;
  color: var(--c1);
  border: 1px solid var(--brd-a)
}

.btn-s:hover {
  background: var(--bg-card);
  border-color: var(--accent-l);
  transform: translateY(-1px)
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0
}

/* Reveal */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ts), transform .65s var(--ts)
}

.rv.vis {
  opacity: 1;
  transform: translateY(0)
}

.d1 {
  transition-delay: .06s
}

.d2 {
  transition-delay: .12s
}

.d3 {
  transition-delay: .18s
}

.d4 {
  transition-delay: .24s
}

.d5 {
  transition-delay: .3s
}

.d6 {
  transition-delay: .36s
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: .85rem 0;
  transition: all var(--tb)
}

.nav.scrolled {
  padding: .5rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brd);
  box-shadow: var(--sh)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .4rem
}

.nav-logo img {
  height: 28px;
  width: auto
}

.nav-logo-text {
  font-family: var(--fh);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .35rem
}

.nav-logo-text .e {
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.nav-logo-text .s {
  color: var(--c3);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--c2);
  position: relative;
  padding: .2rem 0;
  transition: color var(--tf)
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-g);
  border-radius: 2px;
  transition: width var(--tb)
}

.nav-links a:hover {
  color: var(--c1)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  padding: .5rem 1.1rem !important;
  background: var(--accent-g) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: .8rem !important;
  border-radius: var(--pill) !important;
  box-shadow: var(--sh-g);
  transition: all var(--tb) !important
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 40px var(--glow) !important
}

.nav-cta::after {
  display: none !important
}

/* Language switcher */
.lang-sw {
  display: flex;
  gap: .25rem;
  margin-left: .5rem
}

.lang-sw a {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 4px;
  color: var(--c3);
  transition: all var(--tf);
  letter-spacing: .5px
}

.lang-sw a:hover,
.lang-sw a.active {
  color: var(--c1);
  background: rgba(255, 255, 255, .07)
}

.lang-sw a::after {
  display: none !important
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001
}

.ham span {
  width: 22px;
  height: 2px;
  background: var(--c1);
  border-radius: 2px;
  transition: all var(--tb)
}

.ham.on span:nth-child(1) {
  transform: rotate(45deg)translate(5px, 5px)
}

.ham.on span:nth-child(2) {
  opacity: 0
}

.ham.on span:nth-child(3) {
  transform: rotate(-45deg)translate(5px, -5px)
}

.mmenu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tb)
}

.mmenu.open {
  opacity: 1;
  pointer-events: all
}

.mmenu a {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c1)
}

.mmenu a:hover {
  color: var(--accent-l)
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden
}

.hero-home {
  min-height: 100vh
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 8, 22, .93), rgba(10, 13, 46, .82)40%, rgba(124, 58, 237, .1))
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: fl 8s ease-in-out infinite
}

.hero-orb-1 {
  width: 340px;
  height: 340px;
  background: rgba(124, 58, 237, .15);
  top: 8%;
  right: -4%
}

.hero-orb-2 {
  width: 230px;
  height: 230px;
  background: rgba(6, 182, 212, .1);
  bottom: 12%;
  left: -4%;
  animation-delay: -4s
}

@keyframes fl {

  0%,
  100% {
    transform: translate(0)scale(1)
  }

  33% {
    transform: translate(20px, -12px)scale(1.03)
  }

  66% {
    transform: translate(-12px, 12px)scale(.97)
  }
}

.hero .wrap {
  position: relative;
  z-index: 2
}

.hero-inner {
  max-width: 660px;
  padding-top: 5rem
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  background: var(--bg-card);
  border: 1px solid var(--brd-a);
  border-radius: var(--pill);
  font-size: .7rem;
  font-weight: 500;
  color: var(--accent-l);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px)
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0)
  }
}

.hero h1 {
  font-family: var(--fh);
  font-size: var(--hero-fs);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  letter-spacing: 0
}

.hero-desc {
  font-size: .95rem;
  color: var(--c2);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 500px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brd);
  flex-wrap: wrap
}

.stat-num {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2
}

.stat-lbl {
  font-size: .8rem;
  color: var(--c3);
  margin-top: .1rem
}

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  padding: 3rem 0;
  background: var(--bg-0); /* Back to deep dark premium background */
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
}

.trust-lbl {
  text-align: center;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c3); /* Premium muted cool gray text */
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.trust-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  user-select: none;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 2rem; /* Compact CSS gap to balance image side padding */
  animation: trust-marquee-scroll 65s linear infinite;
  white-space: nowrap;
  width: max-content;
  padding: 0.75rem 0;
}

.trust-track:hover {
  animation-play-state: paused;
}

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

.trust-track img {
  height: 95px; /* Substantially larger to make the actual logo content readable */
  max-width: 180px;
  width: auto;
  opacity: .55; /* Sleek, semi-transparent silver by default */
  filter: invert(1) grayscale(1); /* Invert white backgrounds to black, make branding silver */
  mix-blend-mode: screen; /* Magic blending: makes the black background 100% transparent! */
  transition: all var(--tb);
  flex-shrink: 0;
}

.trust-track img:hover {
  opacity: 1;
  filter: none; /* Revert to full gorgeous original branding on hover! */
  mix-blend-mode: normal; /* Restore normal blending for full branding colors */
  transform: scale(1.08); /* Premium hover scale */
}

/* ============================================================
   VIDEO INTRO
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.25rem;
  align-items: center
}

.video-copy p {
  color: var(--c2);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 520px
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--brd-a);
  background: #000;
  box-shadow: var(--sh-g)
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.video-note {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: var(--c3);
  font-size: .78rem
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2rem
}

.svc {
  position: relative;
  padding: 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  transition: all var(--tb);
  overflow: hidden;
  display: flex;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: flex-start
}

.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-g);
  opacity: 0;
  transition: opacity var(--tb)
}

.svc:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--sh-g)
}

.svc:hover::before {
  opacity: .05
}

.svc>* {
  position: relative;
  z-index: 1
}

.svc-img {
  width: 120px;
  height: 88px;
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.svc-body {
  flex: 1;
  min-width: 0
}

.svc h3 {
  font-family: var(--fh);
  font-size: var(--h3-fs);
  font-weight: 600;
  margin-bottom: .35rem;
  line-height: 1.25
}

.svc p {
  font-size: .82rem;
  color: var(--c2);
  line-height: 1.6;
  margin-bottom: .5rem
}

.svc-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-l);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--tb);
  display: inline-flex;
  align-items: center;
  gap: .3rem
}

.svc:hover .svc-link {
  opacity: 1;
  transform: none
}

.svc-cta {
  text-align: center;
  margin-top: 2rem
}

/* ============================================================
   PROCESS
   ============================================================ */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem
}

.proc {
  position: relative;
  padding: 1.75rem 1.25rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--tb)
}

.proc:hover {
  border-color: var(--brd-a);
  transform: translateY(-3px)
}

.proc-n {
  font-family: var(--fh);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .5rem;
  opacity: .25
}

.proc:hover .proc-n {
  opacity: .5
}

.proc-ic {
  margin-bottom: .6rem
}

.proc-ic svg {
  width: 24px;
  height: 24px;
  color: var(--accent-l)
}

.proc h3 {
  font-family: var(--fh);
  font-size: var(--h3-fs);
  font-weight: 600;
  margin-bottom: .35rem
}

.proc p {
  font-size: .82rem;
  color: var(--c2);
  line-height: 1.55
}

.proc-cta {
  text-align: center;
  margin-top: 2rem
}

/* ============================================================
   STUDIO
   ============================================================ */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center
}

.studio-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 1.25rem
}

.studio-ft {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .7rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  font-size: .82rem;
  transition: all var(--tb)
}

.studio-ft:hover {
  border-color: var(--brd-a);
  background: var(--bg-card-h)
}

.studio-ft .ck {
  color: var(--accent-c);
  flex-shrink: 0;
  width: 16px;
  height: 16px
}

.studio-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--brd);
  aspect-ratio: 4/3
}

.studio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ts)
}

.studio-img:hover img {
  transform: scale(1.03)
}

.studio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem
}

.tour-frame {
  position: relative;
  aspect-ratio: 16/9;
  min-height: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--brd-a);
  background: #000;
  box-shadow: var(--sh-g)
}

.tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent)
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem
}

.tcard {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  transition: all var(--tb);
  display: flex;
  flex-direction: column
}

.tcard:hover {
  border-color: var(--brd-a);
  background: var(--bg-card-h)
}

.tcard-stars {
  color: #fbbf24;
  font-size: .8rem;
  margin-bottom: .65rem;
  letter-spacing: 1.5px
}

.tcard-txt {
  font-size: .82rem;
  color: var(--c2);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
  flex: 1
}

.tcard-who {
  display: flex;
  align-items: center;
  gap: .5rem
}

.tcard-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .65rem;
  color: #fff;
  flex-shrink: 0
}

.tcard-info h4 {
  font-family: var(--fh);
  font-size: .82rem;
  font-weight: 600
}

.tcard-info span {
  font-size: .7rem;
  color: var(--c3)
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.port-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-c), transparent)
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem
}

.port {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--brd);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all var(--tb)
}

.port:hover {
  border-color: var(--brd-a);
  transform: translateY(-4px);
  box-shadow: var(--sh-g)
}

.port-bg {
  position: absolute;
  inset: 0
}

.port-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ts)
}

.port:hover .port-bg img {
  transform: scale(1.05)
}

.port-ov {
  padding: 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 22, .95));
  position: relative;
  z-index: 1;
  margin-top: auto
}

.port-ov h3 {
  font-family: var(--fh);
  font-size: var(--h3-fs);
  font-weight: 600;
  margin-bottom: .2rem
}

.port-ov p {
  font-size: .78rem;
  color: var(--c2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.port-cta {
  text-align: center;
  margin-top: 2rem
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin: 2rem auto 0
}

.tm {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  transition: all var(--tb)
}

.tm:hover {
  transform: translateY(-3px);
  border-color: var(--brd-a);
  box-shadow: var(--sh-g)
}

.tm-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto .85rem;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  background: var(--bg-0)
}

.tm-av img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tm-av.init {
  background: var(--accent-g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  border: none
}

.tm h3 {
  font-family: var(--fh);
  font-size: var(--h3-fs);
  font-weight: 600;
  margin-bottom: .15rem
}

.tm .role {
  font-size: .8rem;
  color: var(--accent-l);
  font-weight: 500;
  margin-bottom: .5rem
}

.tm p {
  font-size: .8rem;
  color: var(--c2);
  line-height: 1.55
}

.tm-cta {
  text-align: center;
  margin-top: 1.75rem
}

.people-intro {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.5rem;
  align-items: center
}

.people-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--brd);
  background: var(--bg-card);
  box-shadow: var(--sh)
}

.people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.people-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.people-copy p {
  color: var(--c2);
  line-height: 1.75;
  font-size: .95rem
}

.people-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem
}

.person-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
  transition: all var(--tb)
}

.person-card:hover {
  border-color: var(--brd-a);
  background: var(--bg-card-h);
  transform: translateY(-3px)
}

.person-img {
  border-radius: var(--r);
  overflow: hidden;
  min-height: 190px;
  background: var(--bg-1)
}

.person-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.person-body h2 {
  font-family: var(--fh);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: .25rem
}

.person-role {
  color: var(--accent-l);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .85rem
}

.person-body p {
  color: var(--c2);
  font-size: .88rem;
  line-height: 1.7
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 700px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.fi {
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--tb)
}

.fi.open {
  border-color: var(--brd-a)
}

.fq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--fh);
  font-weight: 600;
  font-size: .92rem;
  color: var(--c1);
  width: 100%;
  text-align: left;
  gap: .75rem
}

.fq:hover {
  color: var(--accent-l)
}

.fq svg {
  flex-shrink: 0;
  transition: transform var(--tb);
  color: var(--c3);
  width: 14px;
  height: 14px
}

.fi.open .fq svg {
  transform: rotate(180deg);
  color: var(--accent-l)
}

.fa {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16, 1, .3, 1), padding .4s cubic-bezier(.16, 1, .3, 1);
  padding: 0 1.25rem
}

.fi.open .fa {
  max-height: 260px;
  padding: 0 1.25rem 1rem
}

.fa p {
  font-size: .85rem;
  color: var(--c2);
  line-height: 1.7
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-ban {
  position: relative;
  padding: 3.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(6, 182, 212, .06));
  border: 1px solid var(--brd-a);
  border-radius: var(--r-xl);
  overflow: hidden
}

.cta-ban::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, .07), transparent 70%)
}

.cta-ban>* {
  position: relative
}

.cta-ban h2 {
  font-family: var(--fh);
  font-size: var(--h2-fs);
  font-weight: 700;
  margin-bottom: .6rem
}

.cta-ban p {
  color: var(--c2);
  margin-bottom: 1.25rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  font-size: .92rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.con-person {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-lg);
}

.con-pav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.con-pav.init {
  background: var(--accent-g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt-main);
  text-transform: uppercase;
}

.con-pav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.con-person h4 {
  font-family: var(--fh);
  font-weight: 600;
  font-size: .92rem;
}

.con-person .pr {
  font-size: .78rem;
  color: var(--accent-l);
}

.con-dets {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.con-det {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .85rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  transition: all var(--tb);
  font-size: .85rem
}

.con-det:hover {
  border-color: var(--brd-a);
  background: var(--bg-card-h)
}

.con-det .ic {
  color: var(--accent-l);
  flex-shrink: 0;
  width: 18px;
  height: 18px
}

.con-det a {
  color: var(--c1);
  font-weight: 500
}

.con-form {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--r-xl)
}

.con-form h3 {
  font-family: var(--fh);
  font-size: var(--h2-fs);
  font-weight: 700;
  margin-bottom: 1rem
}

.fg {
  margin-bottom: .85rem
}

.fg label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--c2);
  margin-bottom: .25rem
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: .65rem .85rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  color: var(--c1);
  font-family: var(--fb);
  font-size: .92rem;
  outline: none;
  transition: all var(--tf)
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1)
}

.fg textarea {
  resize: vertical;
  min-height: 90px
}

.fg select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px
}

.fg select option {
  background: var(--bg-1);
  color: var(--c1)
}

.form-btn {
  width: 100%
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--brd);
  background: var(--bg-1)
}

.ft-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem
}

.ft-logo {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .3rem
}

.ft-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.ft-links a {
  font-size: .8rem;
  color: var(--c3);
  transition: color var(--tf)
}

.ft-links a:hover {
  color: var(--c1)
}

.ft-contact {
  display: flex;
  justify-content: center;
  gap: .75rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: .9rem
}

.ft-contact a {
  color: var(--c1);
  transition: color var(--tf)
}

.ft-contact a:hover {
  color: var(--accent-2)
}

.ft-bot {
  margin-top: 1.5rem;
  padding-top: .85rem;
  border-top: 1px solid var(--brd);
  text-align: center;
  font-size: .7rem;
  color: var(--c3)
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px) {
  .svc-grid {
    grid-template-columns: 1fr
  }

  .proc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .studio-grid,
  .con-grid,
  .people-intro,
  .video-grid,
  .people-cards {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .video-frame {
    order: -1
  }

  .studio-img,
  .tour-frame {
    order: -1;
    max-height: 340px
  }

  .port-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .test-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  :root {
    --px: 1.15rem
  }

  .sec {
    padding: 3.5rem 0
  }

  .nav-links {
    display: none
  }

  .ham {
    display: flex
  }

  .mmenu {
    display: flex
  }

  .hero-inner {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem
  }

  .hero {
    min-height: 68vh;
    align-items: flex-start
  }

  .hero-home {
    min-height: 100vh;
    align-items: center
  }

  .hero h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem)
  }

  .hero-stats {
    gap: 1rem
  }

  .hero-stats .stat-item {
    flex: 0 0 calc(50% - .5rem)
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .hero-actions .btn {
    justify-content: center
  }

  .svc-grid,
  .proc-grid {
    grid-template-columns: 1fr
  }

  .svc {
    flex-direction: column;
    gap: .85rem
  }

  .svc-img {
    width: 100%;
    height: 160px
  }

  .studio-feats {
    grid-template-columns: 1fr
  }

  .tour-frame {
    min-height: 240px
  }

  .team-grid,
  .port-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto
  }

  .test-grid {
    grid-template-columns: 1fr
  }

  .person-card {
    grid-template-columns: 1fr
  }

  .person-img {
    min-height: 260px
  }

  .trust-track {
    gap: 1.5rem;
    animation-duration: 40s;
  }

  .trust-track img {
    height: 55px
  }

  .ft-top {
    flex-direction: column;
    text-align: center
  }

  .ft-links {
    justify-content: center
  }

  .cta-ban {
    padding: 2.5rem 1.25rem;
    margin: 0 var(--px);
    border-radius: var(--r-lg)
  }
}

@media(max-width:480px) {
  :root {
    --px: .9rem
  }

  .hero-badge {
    font-size: .6rem
  }

  .hero {
    min-height: auto
  }

  .hero-home {
    min-height: 100vh
  }

  .hero-stats {
    gap: .5rem
  }

  .stat-item {
    flex: 0 0 calc(50% - .25rem) !important
  }

  .con-form {
    padding: 1.25rem
  }

  .proc {
    padding: 1.25rem 1rem 1rem
  }
}

/* ============================================================
   WordPress additions
   ============================================================ */
/* Admin bar offset */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: .15rem; margin-left: .5rem; }
.lang-switch ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.lang-switch a, .lang-switch span.current {
  display: inline-block; padding: .3rem .5rem; border-radius: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c3); text-decoration: none; transition: color var(--tf), background var(--tf);
}
.lang-switch a:hover { color: var(--c1); }
.lang-switch .current-lang a, .lang-switch li.current-lang > a {
  color: var(--c1); background: rgba(255, 255, 255, .1);
}
.mmenu .lang-switch { margin: 1rem 0 0; justify-content: center; }

/* Contact form states */
.form-note { margin-top: .75rem; font-size: .9rem; color: var(--accent-l); display: none; }
.form-note.ok { display: block; color: #34d399; }
.form-note.err { display: block; color: #f87171; }
.fg.hp { position: absolute; left: -9999px; opacity: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }

/* Portfolio filter empty state */
.port-empty { text-align: center; color: var(--c2); padding: 2rem 0; display: none; }

/* WP block editor content safety: keep alignment classes harmless */
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
