﻿/* ══ Hero — Digital Studio ══ */
.hero--studio {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  --hero-glass: rgba(255, 255, 255, 0.72);
  --hero-glass-border: rgba(var(--primary-rgb), 0.12);
  --hero-glass-shadow: 0 24px 64px rgba(var(--primary-rgb), 0.1);
  --hero-chip-bg: rgba(255, 255, 255, 0.88);
  --hero-terminal-bg: rgba(255, 255, 255, 0.94);
  --hero-stat-bg: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .hero--studio {
  --hero-glass: rgba(255, 255, 255, 0.06);
  --hero-glass-border: rgba(255, 255, 255, 0.1);
  --hero-glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --hero-chip-bg: rgba(255, 255, 255, 0.08);
  --hero-terminal-bg: rgba(10, 22, 40, 0.92);
  --hero-stat-bg: rgba(255, 255, 255, 0.06);
}

/* Background */
.hero--studio .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(168deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
  isolation: isolate;
}

[data-theme="dark"] .hero--studio .hero-bg {
  background: linear-gradient(165deg, var(--maroon-dark) 0%, #001428 55%, var(--maroon-dark) 100%);
}

.hero--studio .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

[data-theme="dark"] .hero--studio .hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.hero--studio .hero-aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  overflow: hidden;
}

.hero--studio .hero-aurora-beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: heroAuroraDrift 22s ease-in-out infinite alternate;
}

.hero--studio .hero-aurora-beam--1 {
  width: 55%;
  height: 55%;
  top: -10%;
  inset-inline-end: -5%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.35) 0%, transparent 70%);
}

.hero--studio .hero-aurora-beam--2 {
  width: 50%;
  height: 50%;
  bottom: -5%;
  inset-inline-start: -8%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.28) 0%, transparent 72%);
  animation-delay: -8s;
  animation-duration: 26s;
}

.hero--studio .hero-aurora-beam--3 {
  width: 40%;
  height: 40%;
  top: 35%;
  inset-inline-start: 40%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.18) 0%, transparent 70%);
  animation-delay: -14s;
  animation-duration: 20s;
}

html:not([data-theme="dark"]) .hero--studio .hero-aurora-beam {
  opacity: 0.22;
  filter: blur(110px);
}

.hero--studio .hero-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  top: 50%;
  left: 50%;
}

.hero--studio:hover .hero-spotlight,
.hero--studio.hero-spotlight-on .hero-spotlight {
  opacity: 1;
}

.hero--studio .hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes heroAuroraDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.1); }
}

/* Content */
.hero--studio .hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: none;
  margin: 0;
}

.hero--studio .hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  padding-inline-start: 0;
  border-inline-start: none;
  animation: none;
  color: var(--text);
}

[data-theme="dark"] .hero--studio .hero-title {
  color: white;
}

.hero--studio .hero-bracket {
  font-family: var(--font-body, monospace);
  font-size: 0.75em;
  font-weight: 400;
  color: var(--maroon);
  opacity: 0.55;
  -webkit-text-fill-color: var(--maroon);
}

[data-theme="dark"] .hero--studio .hero-bracket {
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  opacity: 0.7;
}

.hero--studio .line--accent {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15em;
}

.hero--studio .hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 520px;
}

[data-theme="dark"] .hero--studio .hero-desc {
  color: rgba(255, 255, 255, 0.78);
}

.hero--studio .hero-status {
  background: var(--hero-stat-bg);
  border-color: var(--hero-glass-border);
  backdrop-filter: blur(12px);
  color: var(--muted);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.06);
}

[data-theme="dark"] .hero--studio .hero-status {
  color: rgba(255, 255, 255, 0.88);
}

.hero--studio .hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  padding-top: 0;
  border-top: none;
  flex-wrap: wrap;
}

.hero--studio .hero-stat {
  flex: 1;
  min-width: 100px;
  padding: 16px 20px;
  background: var(--hero-stat-bg);
  border: 1px solid var(--hero-glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero--studio .hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--hero-glass-shadow);
}

.hero--studio .hero-stat .num {
  font-size: 1.85rem;
  color: var(--maroon);
}

[data-theme="dark"] .hero--studio .hero-stat .num {
  color: var(--gold-light);
}

.hero--studio .hero-stat .lbl {
  color: var(--muted);
  font-size: 0.78rem;
}

[data-theme="dark"] .hero--studio .hero-stat .lbl {
  color: rgba(255, 255, 255, 0.65);
}

.hero--studio .gradient-text {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.25));
}

[data-theme="dark"] .hero--studio .gradient-text {
  /*background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--maroon-light) 100%);*/
  filter: drop-shadow(0 0 24px rgba(var(--gold-rgb), 0.35));
}

.hero--studio .typing-text::after {
  -webkit-text-fill-color: var(--maroon);
}

[data-theme="dark"] .hero--studio .typing-text::after {
  -webkit-text-fill-color: var(--gold);
}

.hero--studio .btn-gold {
  box-shadow: 0 6px 24px rgba(var(--gold-rgb), 0.28);
}

.hero--studio .btn-outline {
  background: var(--hero-stat-bg);
  border-color: var(--hero-glass-border);
  backdrop-filter: blur(8px);
}

/* Showcase visual */
.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  perspective: 1200px;
  animation: fadeUp 1s 0.35s var(--ease) both;
}

.hero-showcase-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  animation: heroRingSpin 30s linear infinite;
}

.hero-showcase-ring::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(var(--gold-rgb), 0.2);
  border-radius: 50%;
  animation: heroRingSpin 20s linear infinite reverse;
}

@keyframes heroRingSpin {
  to { transform: rotate(360deg); }
}

.hero-showcase-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
  filter: blur(40px);
  animation: heroGlowPulse 4s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-showcase-inner {
  position: relative;
  width: 100%;
  max-width: 400px;
  transform-style: preserve-3d;
}

/* Browser mockup */
.hero-browser {
  background: var(--hero-glass);
  border: 1px solid var(--hero-glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hero-glass-shadow);
  backdrop-filter: blur(16px);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s var(--ease);
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(var(--primary-rgb), 0.06);
  border-bottom: 1px solid var(--hero-glass-border);
}

[data-theme="dark"] .hero-browser-bar {
  background: rgba(255, 255, 255, 0.04);
}

.hero-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.2);
}

.hero-browser-dot:nth-child(1) { background: #ff5f57; }
.hero-browser-dot:nth-child(2) { background: #febc2e; }
.hero-browser-dot:nth-child(3) { background: #28c840; }

.hero-browser-url {
  flex: 1;
  margin-inline-start: 8px;
  padding: 5px 12px;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

[data-theme="dark"] .hero-browser-url {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

.hero-browser-body {
  padding: 16px;
}

.hero-preview-nav {
  height: 10px;
  width: 55%;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 4px;
  margin-bottom: 14px;
  animation: heroBuildIn 0.6s 0.8s var(--ease) both;
  opacity: 0;
}

.hero-preview-hero-block {
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--gold-rgb), 0.12));
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: heroBuildIn 0.6s 1.1s var(--ease) both;
  opacity: 0;
}

.hero-preview-hero-block span {
  display: block;
  height: 8px;
  background: rgba(var(--primary-rgb), 0.2);
  border-radius: 3px;
}

.hero-preview-hero-block span:first-child { width: 70%; }
.hero-preview-hero-block span:last-child { width: 45%; }

.hero-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-preview-cards span {
  height: 48px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 6px;
  border: 1px solid var(--hero-glass-border);
  animation: heroBuildIn 0.5s var(--ease) both;
  opacity: 0;
}

.hero-preview-cards span:nth-child(1) { animation-delay: 1.4s; }
.hero-preview-cards span:nth-child(2) { animation-delay: 1.55s; }
.hero-preview-cards span:nth-child(3) { animation-delay: 1.7s; }

@keyframes heroBuildIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Terminal */
.hero-terminal {
  position: absolute;
  bottom: -28px;
  inset-inline-end: -24px;
  width: 220px;
  background: var(--hero-terminal-bg);
  border: 1px solid var(--hero-glass-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.15);
  backdrop-filter: blur(12px);
  transform: rotate(3deg);
  z-index: 3;
  animation: heroTerminalIn 0.8s 1.2s var(--ease) both;
  opacity: 0;
}

@keyframes heroTerminalIn {
  from { opacity: 0; transform: rotate(3deg) translateY(20px); }
  to { opacity: 1; transform: rotate(3deg) translateY(0); }
}

.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(var(--primary-rgb), 0.08);
  border-bottom: 1px solid var(--hero-glass-border);
}

[data-theme="dark"] .hero-terminal-bar {
  background: rgba(255, 255, 255, 0.04);
}

.hero-terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.25);
}

.hero-terminal-dot:nth-child(1) { background: #ff5f57; }
.hero-terminal-dot:nth-child(2) { background: #febc2e; }
.hero-terminal-dot:nth-child(3) { background: #28c840; }

.hero-terminal-title {
  margin-inline-start: 6px;
  font-size: 0.65rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}

[data-theme="dark"] .hero-terminal-title {
  color: rgba(255, 255, 255, 0.5);
}

.hero-terminal-code {
  margin: 0;
  padding: 10px 12px;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--maroon);
  min-height: 52px;
  white-space: pre-wrap;
  word-break: break-all;
}

[data-theme="dark"] .hero-terminal-code {
  color: #7ee787;
}

.hero-terminal-code .tok-fn { color: var(--gold); }
.hero-terminal-code .tok-str { color: var(--maroon-light); }
.hero-term-cursor {
  animation: cursor-blink 0.8s step-end infinite;
  opacity: 0.7;
}
[data-theme="dark"] .hero-terminal-code .tok-fn { color: #ffa657; }
[data-theme="dark"] .hero-terminal-code .tok-str { color: #a5d6ff; }

/* Floating chips */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.1);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 4;
}

[data-theme="dark"] .hero-chip {
  color: white;
}

.hero-chip svg {
  width: 18px;
  height: 18px;
  color: var(--maroon);
}

[data-theme="dark"] .hero-chip svg {
  color: var(--gold-light);
}

.hero-chip-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.hero-chip--1 {
  top: -12px;
  inset-inline-start: -20px;
  animation: heroChipFloat 5s ease-in-out infinite;
}

.hero-chip--2 {
  top: 20%;
  inset-inline-end: -36px;
  animation: heroChipFloat 5s 1s ease-in-out infinite;
}

.hero-chip--3 {
  bottom: 30%;
  inset-inline-start: -40px;
  animation: heroChipFloat 5s 2s ease-in-out infinite;
}

.hero-chip--4 {
  bottom: -8px;
  inset-inline-end: 20px;
  animation: heroChipFloat 5s 0.5s ease-in-out infinite;
}

@keyframes heroChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.hero-scroll:hover {
  opacity: 1;
  color: var(--maroon);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--maroon), transparent);
  animation: heroScrollLine 2s ease-in-out infinite;
}

@keyframes heroScrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* Badge position */
.hero--studio .hero-badge {
  position: absolute;
  bottom: 40px;
  inset-inline-start: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--hero-glass-border);
  font-size: 0.88rem;
}

.hero--studio .hero-badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}


.hero--studio .hero-badge {
  background: var(--hero-chip-bg);
  color: var(--muted);
  box-shadow: var(--hero-glass-shadow);
  backdrop-filter: blur(12px);
}

.hero--studio .hero-badge strong {
  color: var(--maroon);
}

[data-theme="dark"] .hero--studio .hero-badge {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .hero--studio .hero-badge strong {
  color: var(--gold-light);
}

.hero--studio .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.75s var(--ease) both;
}

@media (max-width: 1024px) {
  .hero-showcase { display: none; }
}

@media (max-width: 768px) {
  .hero--studio .hero-stats { gap: 10px; }
  .hero--studio .hero-stat { min-width: calc(50% - 10px); flex: 0 0 calc(50% - 10px); }
  .hero--studio .hero-badge { display: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── About ── */
.about-section { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 480px;
}

.about-img-main {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 75%;
  height: 85%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

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

.about-img-sub {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  z-index: 2;
}

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

.about-watermark {
  position: absolute;
  top: 50%;
  inset-inline-start: -20px;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(var(--primary-rgb), 0.05);
  letter-spacing: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: 0.3s;
}

.stat-box:hover {
  border-color: var(--maroon);
  box-shadow: var(--shadow);
}

.stat-box .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.stat-box .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Services Grid (Akhawen Style) ── */
.services-section { background: var(--cream); }

.services-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 360px;
  display: block;
  box-shadow: var(--shadow);
  transition: 0.4s var(--ease);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.svc-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(160deg, #faf8f4 0%, #f0ebe3 100%);
}

.svc-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
  opacity: 0.92;
}

.svc-visual-inner,
.svc-pill-icon,
.sector-icon,
.pricing-icon,
.extra-svc-icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--font), sans-serif;
  line-height: 1;
}

.svc-visual-inner {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--maroon), var(--maroon-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.25);
  position: relative;
}

.svc-visual-inner::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(var(--gold-rgb), 0.35);
  animation: svc-spin 20s linear infinite;
}

.svc-visual-inner.g2 {
  border-radius: var(--radius);
  aspect-ratio: auto;
  height: 200px;
  max-width: 240px;
  background: linear-gradient(145deg, #f5edd8, #e8dcc0);
  font-size: 4rem;
}

.svc-visual-inner.g2::before { border-radius: var(--radius); }

@keyframes svc-spin {
  to { transform: rotate(360deg); }
}

.svc-pill {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--maroon);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 2;
  transition: 0.3s;
}

.svc-card:hover .svc-pill {
  background: var(--maroon);
  color: white;
}

.svc-pill-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.svc-card:hover .svc-pill-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Legacy service-card (services page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 70px;
  transition: 0.4s var(--ease);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.service-visual {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.2);
  position: relative;
}

.service-visual::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(var(--gold-rgb), 0.4);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  text-align: center;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.7;
}

.service-pill {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ── Features List ── */
.features-section { background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.feature-item:hover {
  border-color: var(--maroon);
  box-shadow: var(--shadow);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Stats Banner ── */
.stats-section {
  background: var(--maroon);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; color: white; }

.stat-item .counter {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-item .counter small {
  font-size: 1.5rem;
}

.stat-item .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
}

/* ── Portfolio ── */
.portfolio-section { background: var(--surface); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: 0.4s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-thumb .tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: var(--maroon);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.88rem;
  color: var(--muted);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon);
}

.project-link:hover { color: var(--gold); }

/* ── Testimonials Carousel ── */
.testimonials-section { background: var(--cream); }

.testimonials-carousel {
  position: relative;
  margin-top: 48px;
  --testimonial-gap: 32px;
}

.testimonials-carousel__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-inline: calc(var(--testimonial-gap) / 2);
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .testimonial-slide {
    flex-basis: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex-basis: 33.333%;
  }
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
  text-align: start;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
  position: absolute;
  top: 16px;
  inset-inline-end: 24px;
}

.testimonial-slide.is-active .testimonial-card {
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.testimonials-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--maroon);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s var(--ease);
  flex-shrink: 0;
}

.testimonials-arrow:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  transform: scale(1.05);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.testimonials-dot.active {
  background: var(--maroon);
  transform: scale(1.15);
}

.testimonials-dot:hover {
  background: var(--maroon-light);
}

@media (max-width: 768px) {
  .testimonials-carousel {
    --testimonial-gap: 16px;
  }

  .testimonials-carousel__controls {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .testimonials-viewport {
    margin-inline: 0;
  }

  .testimonials-arrow {
    display: none;
  }

  .testimonial-card {
    padding: 28px 24px;
  }
}

.testimonial-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--muted); }

.stars { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem; }

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: 'WP';
  position: absolute;
  font-family: var(--font-display);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Sectors (Akhawen Timeline) ── */
.sectors-section {
  background: var(--surface);
  overflow: visible;
}

.sectors-wrap {
  overflow: visible;
}

.sectors-grid {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  overflow: visible;
}

.sectors-text-col {
  flex: 1 1 50%;
  width: 50%;
  padding-bottom: 50vh;
  position: relative;
  z-index: 2;
}

.sectors-intro {
  margin-bottom: 48px;
}

.sectors-intro .section-desc {
  max-width: 640px;
}

.sectors-sticky-col {
  flex: 1 1 50%;
  width: 50%;
  height: calc(100vh - var(--nav-h) - 70px);
  min-height: 480px;
  max-height: 720px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: flex-start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
  z-index: 3;
}

.sectors-sticky-col::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(var(--gold-rgb), 0.35);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
  pointer-events: none;
}

.sectors-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--cream-dark);
}

.sector-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s ease;
  z-index: 1;
}

.sector-img.active {
  opacity: 1;
  z-index: 2;
}

.sectors-img-label {
  position: absolute;
  bottom: 24px;
  inset-inline: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  z-index: 4;
}

.sectors-timeline {
  display: flex;
  flex-direction: column;
}

.sector-item {
  position: relative;
  padding-block: 10vh;
  padding-inline-end: 0;
  padding-inline-start: 20px;
  border-inline-start: 3px solid rgba(var(--gold-rgb), 0.38);
  transition: border-color 0.5s ease;
}

.sector-item:not(.active) .sector-title {
  color: var(--muted);
}

.sector-item:not(.active) p {
  color: var(--muted);
  opacity: 0.92;
}

.sector-item:not(.active) .sector-icon {
  background: var(--cream-dark);
  color: var(--muted);
}

.sector-item::before {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-start: -9px;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid rgba(var(--gold-rgb), 0.5);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.sector-item.active {
  border-inline-start-color: var(--maroon);
}

.sector-item.active::before {
  background: var(--maroon);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.sector-mobile-img {
  display: none;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.sectors-img-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  animation: sector-pulse 2s infinite;
}

@keyframes sector-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0); }
}

.sectors-img-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--maroon);
}

.sector-item.active .sector-icon {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
  transform: scale(1.08);
}

.sector-item.active .sector-title {
  color: var(--maroon);
}

.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream-dark);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.sector-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.sector-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.85;
}
