/* ENHANCED AI-WORTHY HOMEPAGE - COMPLETE FIXED */
:root {
  --primary-red: #dc2626;
  --accent-red: #f87171;
  --primary-orange: #f97316;
  --accent-orange: #fb923c;
  --primary-yellow: #facc15;
  --accent-yellow: #fef08a;
  --primary-purple: #5b21b6;
  --accent-purple: #8b5cf6;
  --primary-blue: #2563eb;
  --accent-blue: #60a5fa;
  --white: #ffffff;
  --white-faint: rgba(255, 255, 255, 0.9);
  --warm-gray-900: #1c1917;
  --warm-gray-700: #44403c;
  --warm-gray-600: #57534e;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-mono: 'Space Grotesk', monospace;
  --gradient-precision: linear-gradient(45deg, #2563eb 0%, #5b21b6 3%, #8b5cf6 10%, #dc2626 17%, #f97316 27%, #facc15 47%, #fef08a 100%);
  --shadow-glow-yellow: 0 0 40px rgba(250, 204, 21, 0.3);
  --transition-smooth: 0.3s ease-in-out;
  --radius-pill: 50px;
  --radius-large: 16px;
  --radius-medium: 8px;
  --radius-xl: 24px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.9;
  color: var(--warm-gray-900);
  background: var(--white);
  overflow-x: hidden;
  font-size: clamp(16px, 1.7vw, 18px);
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white-faint);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--accent-yellow), var(--accent-orange), transparent) 1;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-precision);
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { width: 0; opacity: 0.5; }
  50% { width: 100%; opacity: 1; }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.3));
}

.logo-img:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 20px rgba(250, 204, 21, 0.6));
}

.nav-menu {
  display: flex;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--warm-gray-900);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-precision);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-yellow);
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--warm-gray-900);
  position: relative;
  transition: background var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--warm-gray-900);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent-yellow);
}

.nav-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent-yellow);
}

.page-hero {
  position: relative;
  padding: 9rem 0 7rem;
  text-align: center;
  background: transparent;
  overflow: hidden;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.page-hero-content::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -10%;
  width: 0;
  height: 0;
  border-left: 400px solid transparent;
  border-right: 400px solid transparent;
  border-bottom: 693px solid rgba(250, 204, 21, 0.03);
  animation: triangleFloat1 15s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.page-hero-content::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -15%;
  width: 0;
  height: 0;
  border-left: 350px solid transparent;
  border-right: 350px solid transparent;
  border-bottom: 606px solid rgba(139, 92, 246, 0.025);
  animation: triangleFloat2 18s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: -1;
  transform: rotate(45deg);
}

@keyframes triangleFloat1 {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  33% { 
    transform: translateY(-50px) rotate(120deg) scale(1.1);
    opacity: 0.8;
  }
  66% { 
    transform: translateY(30px) rotate(240deg) scale(0.9);
    opacity: 0.9;
  }
}

@keyframes triangleFloat2 {
  0%, 100% { 
    transform: translateY(0) rotate(45deg) scale(1);
    opacity: 1;
  }
  50% { 
    transform: translateY(-60px) rotate(225deg) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-10%, -10%) scale(1.1); opacity: 0.8; }
}

.page-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--warm-gray-900);
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  animation: titleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-shadow: 
    2px 2px 0 rgba(250, 204, 21, 0.2),
    4px 4px 0 rgba(249, 115, 22, 0.1);
}

@keyframes titleReveal {
  from { 
    opacity: 0; 
    transform: translateY(50px) scale(0.9);
    filter: blur(10px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.gradient-text {
  background: var(--primary-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--warm-gray-700);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-subtitle #typed-text {
  color: var(--primary-orange);
  font-weight: 700;
  display: inline-block;
  position: relative;
  min-width: 160px;
  transition: opacity 0.3s ease-in-out;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle #typed-text::after {
  content: '|';
  animation: blink 1s infinite;
  margin-left: 3px;
  color: var(--primary-yellow);
  -webkit-text-fill-color: var(--primary-yellow);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle #typed-text.fade-out {
  opacity: 0;
}

.hero-subtitle #typed-text.fade-in {
  opacity: 1;
}

.typed-cursor,
.typed-cursor--blink,
[class*="typed-cursor"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth);
  position: relative;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.btn-primary {
  color: var(--warm-gray-900);
  border: 3px solid var(--accent-yellow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-yellow);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn-secondary {
  color: var(--warm-gray-900);
  border: 3px solid var(--accent-blue);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-yellow);
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.services {
  padding: 9rem 0;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--primary-yellow) 15%,
    var(--accent-orange) 35%,
    var(--primary-red) 50%,
    var(--accent-purple) 65%,
    var(--primary-blue) 85%,
    transparent 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 3rem;
  background: transparent;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--warm-gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  perspective: 2000px;
}

.service-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(200%);
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 1);
}

.service-item:nth-child(1) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(250, 204, 21, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(250, 204, 21, 0.3);
}

.service-item:nth-child(2) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(37, 99, 235, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-item:nth-child(3) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(220, 38, 38, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(220, 38, 38, 0.3);
}

.service-item:nth-child(4) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(249, 115, 22, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(249, 115, 22, 0.3);
}

.service-item:nth-child(5) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(91, 33, 182, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(91, 33, 182, 0.3);
}

.service-item:nth-child(6) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(250, 204, 21, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(250, 204, 21, 0.3);
}

.service-item:nth-child(7) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(37, 99, 235, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-item:nth-child(8) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(220, 38, 38, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(220, 38, 38, 0.3);
}

.service-item:nth-child(9) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(249, 115, 22, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(249, 115, 22, 0.3);
}

.service-item:nth-child(10) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(91, 33, 182, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(91, 33, 182, 0.3);
}

.service-item:nth-child(11) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(37, 99, 235, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-item:nth-child(12) {
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(250, 204, 21, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 1);
  border-color: rgba(250, 204, 21, 0.3);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(250, 204, 21, 0.25) 0%, 
    rgba(251, 146, 60, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.service-item:nth-child(1)::before {
  background: linear-gradient(135deg, 
    rgba(250, 204, 21, 0.35) 0%, 
    rgba(254, 240, 138, 0.2) 100%);
}

.service-item:nth-child(2)::before {
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.35) 0%, 
    rgba(96, 165, 250, 0.2) 100%);
}

.service-item:nth-child(3)::before {
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.35) 0%, 
    rgba(248, 113, 113, 0.2) 100%);
}

.service-item:nth-child(4)::before {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.35) 0%, 
    rgba(251, 146, 60, 0.2) 100%);
}

.service-item:nth-child(5)::before {
  background: linear-gradient(135deg, 
    rgba(91, 33, 182, 0.35) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
}

.service-item:nth-child(6)::before {
  background: linear-gradient(135deg, 
    rgba(250, 204, 21, 0.35) 0%, 
    rgba(254, 240, 138, 0.2) 100%);
}

.service-item:nth-child(7)::before {
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.35) 0%, 
    rgba(96, 165, 250, 0.2) 100%);
}

.service-item:nth-child(8)::before {
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.35) 0%, 
    rgba(248, 113, 113, 0.2) 100%);
}

.service-item:nth-child(9)::before {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.35) 0%, 
    rgba(251, 146, 60, 0.2) 100%);
}

.service-item:nth-child(10)::before {
  background: linear-gradient(135deg, 
    rgba(91, 33, 182, 0.35) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
}

.service-item:nth-child(11)::before {
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.35) 0%, 
    rgba(96, 165, 250, 0.2) 100%);
}

.service-item:nth-child(12)::before {
  background: linear-gradient(135deg, 
    rgba(250, 204, 21, 0.35) 0%, 
    rgba(254, 240, 138, 0.2) 100%);
}

.service-item:hover {
  transform: translateY(-20px) translateZ(50px) rotateX(5deg);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(1):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(250, 204, 21, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(2):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(37, 99, 235, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(3):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(220, 38, 38, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(4):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(249, 115, 22, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(5):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(91, 33, 182, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(6):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(250, 204, 21, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(7):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(37, 99, 235, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(8):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(220, 38, 38, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(9):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(249, 115, 22, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(10):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(91, 33, 182, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(11):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(37, 99, 235, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:nth-child(12):hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(250, 204, 21, 0.6),
    0 0 0 2px rgba(255, 255, 255, 1),
    inset 0 2px 8px rgba(255, 255, 255, 1);
}

.service-item:hover::before {
  opacity: 1;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(5%) contrast(1.05) brightness(1.0) saturate(1.1);
  opacity: 0.35;
  transition: all 0.6s ease;
  transform: scale(1.05);
  z-index: 0;
}

.service-item:hover .service-img {
  opacity: 0.5;
  transform: scale(1.12) rotate(2deg);
  filter: grayscale(10%) contrast(1.1) brightness(1.12) saturate(1.15);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.75) 0%, 
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.6s ease;
}

.service-item:hover .service-overlay {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.6) 0%, 
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.6) 100%);
}

.service-content {
  text-align: center;
  color: var(--warm-gray-900);
  padding: 2rem;
  z-index: 3;
  position: relative;
  transform: translateZ(60px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.service-item:hover .service-content {
  transform: translateZ(80px) scale(1.1);
}

.service-content h4 {
  font-family: var(--font-primary);
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  margin: 0;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.3px;
  color: #4a4542;
  text-shadow: none;
  transition: all 0.4s ease;
  background: none;
  -webkit-text-fill-color: #4a4542;
}

.service-item:hover .service-content h4 {
  transform: scale(1.05);
}

.cta-section {
  padding: 9rem 0 12rem;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--primary-yellow) 15%,
    var(--accent-orange) 35%,
    var(--primary-red) 50%,
    var(--accent-purple) 65%,
    var(--primary-blue) 85%,
    transparent 100%);
}

.cta-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--white-faint);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  text-align: center;
  border: 3px solid var(--accent-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-yellow);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-glow-yellow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--warm-gray-900);
}

.cta-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--warm-gray-700);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.8rem 0;
  }

  .header-container {
    padding: 0 1.5rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white-faint);
    padding: 1rem;
    backdrop-filter: blur(12px);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .page-hero {
    padding: 7rem 0 5rem;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .service-item:nth-child(1) { grid-column: span 2; }
  .service-item:nth-child(6) { grid-column: span 2; }
  .service-item:nth-child(9) { grid-column: span 2; }
  .service-item:nth-child(12) { grid-column: span 2; }

  .cta-section {
    padding: 6rem 0 9rem;
  }

  .cta-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(n) { 
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}