/* Home Page Unique Styles */

/* Diagonal Split Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  padding-top: 100px;
}

.hero-content {
  padding: 4rem 2rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--midnight);
  margin-bottom: 2rem;
}

.hero-title .highlight {
  color: var(--burnt-orange);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--soft-gray);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--midnight) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(6, 214, 160, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232, 93, 4, 0.1) 0%, transparent 50%);
}

.hero-decoration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.floating-stats {
  position: absolute;
  top: 20%;
  right: 10%;
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.stat-box {
  margin-bottom: 1.5rem;
}

.stat-box:last-child {
  margin-bottom: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--burnt-orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Bento Grid Services */
.services {
  padding: 8rem 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-auto-rows: 280px;
}

.bento-item {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--deep-teal), var(--accent-green));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover::before {
  opacity: 0.05;
}

.bento-item:hover {
  transform: translateY(-8px);
  border-color: var(--burnt-orange);
  box-shadow: 0 20px 60px rgba(13, 77, 77, 0.15);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.tall {
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--burnt-orange), #FF6B35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.bento-item.large .service-icon {
  width: 80px;
  height: 80px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--midnight);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.bento-item.large .service-title {
  font-size: 2rem;
}

.service-description {
  color: var(--soft-gray);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  flex-grow: 1;
}

.bento-item.large .service-description {
  font-size: 1.0625rem;
}

.service-link {
  color: var(--burnt-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  position: relative;
  z-index: 1;
  transition: gap 0.3s ease;
  gap: 0.5rem;
}

.service-link:hover {
  gap: 0.75rem;
}

/* Testimonial Marquee */
.testimonials {
  background: var(--midnight);
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--burnt-orange), transparent);
}

.testimonials .section-header {
  margin-bottom: 4rem;
}

.marquee {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
}

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

.testimonial-card {
  min-width: 400px;
  background: rgba(255, 248, 240, 0.05);
  border: 1px solid rgba(255, 248, 240, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.testimonial-text {
  color: var(--warm-cream);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.author-info h4 {
  color: var(--warm-cream);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--soft-gray);
  font-size: 0.8125rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--burnt-orange) 0%, transparent 70%);
  opacity: 0.08;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--midnight);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--soft-gray);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.cta-button {
  padding: 1.5rem 4rem;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    clip-path: none;
    min-height: 400px;
  }

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

  .bento-item.large,
  .bento-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-stats {
    position: static;
    margin: 2rem auto 0;
    max-width: 300px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-item.large,
  .bento-item.tall,
  .bento-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .testimonial-card {
    min-width: 300px;
  }
}
