:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --border: #222222;
  --border-hover: #333333;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-gold: #d4a843;
  --accent-red: #c0392b;
  --accent-dark-red: #8b1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.03;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection {
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  color: #0a0a0a;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

/* ============================================
   DYNAMIC SCROLL EFFECTS
   ============================================ */
.flip-3d {
  opacity: 0;
  transform: perspective(1000px) rotateY(90deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.flip-3d.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}
.flip-3d-left {
  opacity: 0;
  transform: perspective(1000px) rotateY(-90deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.flip-3d-left.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}

.fold-reveal {
  opacity: 0;
  transform-origin: top center;
  transform: perspective(1000px) rotateX(-90deg) translateY(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fold-reveal.visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.cascade-3d {
  opacity: 0;
  transform: perspective(1000px) translateZ(-200px) rotateX(20deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cascade-3d.visible {
  opacity: 1;
  transform: perspective(1000px) translateZ(0) rotateX(0deg);
}

.parallax-slow, .parallax-medium, .parallax-fast { will-change: transform; }

.scramble-text { display: inline-block; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float { animation: float 4s ease-in-out infinite; }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 67, 0.3); }
}
.glow-pulse { animation: glowPulse 3s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes slideUp {
  to { transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

/* ---------- Shared hero atoms ---------- */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  position: relative;
  z-index: 2;
  justify-content: center;
}
.hero-label .dot {
  width: 6px; height: 6px;
  background: #22c55e; border-radius: 50%;
  animation: pulse 2s ease infinite;
}
.hero-label .dot.gold { background: var(--accent-gold); }

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
  position: relative;
  z-index: 2;
  margin-top: 30px;
  justify-content: center
  ;
}
.hero-cta-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, #8b1a1a, #5c1212);
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(139,26,26,0.3);
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(139,26,26,0.3);
}
.hero-cta-secondary {
  padding: 14px 36px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-cta-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.editing-layouting-1{
  font-size: 7rem; text-align: center;
}

/* ---------- Section atoms ---------- */
.section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Marquee */
.marquee-container {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: '\25CF';
  font-size: 0.5rem;
  color: var(--border-hover);
}

/* ---------- CTA section ---------- */
.cta-section {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 70%);
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.cta-section .section-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.cta-section .section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 24px;
}
.cta-section .section-desc {
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
}
.cta-spots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cta-spots .dot {
  width: 6px; height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ---------- Service Hero (picture, reference text placement) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 40px 100px;
}
.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-img-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.72) 60%, var(--bg-primary) 100%),
    linear-gradient(to right, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.15) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(4rem, 6.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.hero-title .line {
  display: flex;
  overflow: hidden;
  gap: 15px;
}
.hero-title .line > span {
  display: block;
  transform: translateY(100%);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.35s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.5s; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  animation: fadeInUp 0.8s ease 1s forwards;
  opacity: 0;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { text-align: center;  }
.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.layouting-1{
    font-size: 8rem;
    text-align: center;
}
.layouting-2{
  font-size: 4rem;
  display: flex;
  gap: 20px;
  text-align: center;
}
/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.problem-text p strong { color: var(--text-primary); font-weight: 600; }
.problem-text ul { list-style: none; margin-top: 2rem; }
.problem-text ul li {
  padding: 0.85rem 0 0.85rem 2rem;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, padding-left 0.3s;
}
.problem-text ul li:hover { color: var(--text-primary); padding-left: 2.4rem; }
.problem-text ul li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-size: 0.8rem;
  top: 1.05rem;
}
.problem-visual {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transform-style: preserve-3d;
}
.problem-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: grayscale(40%) contrast(1.1);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-visual:hover img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.05);
}
.problem-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.75) 100%);
}
.problem-visual-frame {
  position: absolute;
  inset: -20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  transform: translate(20px, 20px);
  pointer-events: none;
  z-index: 2;
}
.problem-visual-quote {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  z-index: 3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5f5f5, #d4a843, #c0392b);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.feature-card:hover::before { transform: translateX(0); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all 0.4s;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  transform: scale(1.1) rotate(-5deg);
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Methodology ---------- */
.methodology-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 60px;
}
.methodology-visual {
  position: relative;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  order: 2;
  transform-style: preserve-3d;
}
.methodology-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(30%);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.methodology-visual:hover img {
  opacity: 0.75;
  filter: grayscale(0%);
  transform: scale(1.04);
}
.methodology-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.35), rgba(10,10,10,0.65));
}
.methodology-steps { order: 1; }
.method-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.method-step:last-child { margin-bottom: 0; }
.method-step:hover {
  background: var(--bg-card);
  border-color: var(--border);
  transform: translateX(8px);
}
.method-step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: all 0.4s;
}
.method-step:hover .method-step-num {
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.25);
}
.method-step-content h3,
.method-step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.method-step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Deliverables ---------- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.deliverable-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.deliverable-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateX(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.deliverable-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.4s;
}
.deliverable-card:hover .deliverable-icon {
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  transform: scale(1.08);
}
.deliverable-content h3,
.deliverable-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.deliverable-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Before / After ---------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.comparison-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.comparison-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.comparison-card.after {
  border-color: rgba(212, 168, 67, 0.45);
  background: linear-gradient(160deg, #1a1509 0%, var(--bg-card) 55%);
}
.comparison-card .tag {
  position: absolute;
  top: 28px; right: 28px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.comparison-card.before .tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.comparison-card.after .tag {
  background: rgba(212, 168, 67, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 168, 67, 0.35);
}
.comparison-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 28px;
  font-weight: 700;
  max-width: 70%;
}
.comparison-card ul { list-style: none; }
.comparison-card ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.comparison-card ul li:last-child { border-bottom: none; }
.comparison-card.before ul li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  top: 13px;
}
.comparison-card.after ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  top: 12px;
}

/* ---------- Testimonial ---------- */

/* Testimonials */
.testimonial-carousel {
  position: relative;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  transform: translateY(20px) rotateX(10deg);
  transform-style: preserve-3d;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: all;
  transform: translateY(0) rotateX(0deg);
}

.testimonial-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
  position: relative;
  padding-left: 40px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -20px;
  font-size: 5rem;
  color: var(--border);
  line-height: 1;
  font-family: serif;
  display: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-author-info .name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-author-info .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.testimonial-dot {
  width: 40px; height: 3px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s;
}

.testimonial-dot.active {
  background: linear-gradient(90deg, #f5f5f5, #d4a843, #c0392b);
  width: 60px;
}

/* .service-testimonial {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.service-testimonial .quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 40px;
  position: relative;
  padding-top: 40px;
}
.service-testimonial .quote::before {
  content: '\201C';
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  background: linear-gradient(135deg, #f5f5f5, #d4a843, #c0392b);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 1;
  font-family: serif;
}
.service-testimonial .author {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.service-testimonial .author img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.service-testimonial .author .name { font-weight: 600; font-size: 1rem; text-align: left; }
.service-testimonial .author .role { font-size: 0.85rem; color: var(--text-muted); text-align: left; } */

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--accent-gold); }
.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding-right: 24px;
}
.faq-icon {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: all 0.3s;
}
.faq-icon::before {
  width: 12px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}
.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- Related services ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.related-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  display: block;
}
.related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5f5f5, #d4a843, #c0392b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.related-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.related-card:hover::before { transform: scaleX(1); }
.related-card .tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}
.related-card h3,
.related-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.related-card .arrow {
  margin-top: 18px;
  font-size: 1.2rem;
  transition: transform 0.3s;
  display: inline-block;
  color: var(--accent-gold);
}
.related-card:hover .arrow { transform: translateX(8px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-visual { height: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .methodology-grid { grid-template-columns: 1fr; gap: 40px; }
  .methodology-visual { order: 1; height: 320px; }
  .methodology-steps { order: 2; }
  .comparison-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px){
  .layouting-1{
    font-size: 5rem;
  }
  .layouting-2{
    font-size: 3rem;
  }
.editing-layouting-1{
  font-size: 5rem;
}
.hero-title{
  gap: 20px;
}
}
@media(max-width:572px){
  .layouting-1{
    font-size: 3rem;
  }
  .layouting-2{
    font-size: 2rem;
  }
.editing-layouting-1{
  font-size: 3rem;
}
.hero-title{
gap: 10px;
}
}
@media (max-width: 768px) {
  .hero { padding: 120px 20px 80px; }
  .hero-stats { gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .comparison-card { padding: 36px 28px; }
  .comparison-card h3 { max-width: 100%; margin-top: 24px; }
}