/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--color-bg);
}

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

.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.1875rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
}

/* Hero Image Split Layout */
.hero--split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero--split .hero__content {
  text-align: left;
  margin: 0;
}

.hero--split .hero__actions {
  justify-content: flex-start;
}

.hero--split .hero__stats {
  justify-content: flex-start;
}

.hero__split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 900px) {
  .hero__split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero--split .hero__content {
    text-align: center;
  }
  .hero--split .hero__actions {
    justify-content: center;
  }
  .hero--split .hero__stats {
    justify-content: center;
  }
}

/* --- Hero Full-Width Background --- */
.hero--bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: #F0EDE8;
}

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

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

.hero--bg .hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 45%, rgba(240, 237, 232, 0.72) 0%, rgba(240, 237, 232, 0.35) 50%, rgba(240, 237, 232, 0.08) 75%, transparent 100%);
}

.hero--bg .hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero--bg h1 {
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero--bg p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--color-text-secondary);
}

.hero--bg .hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--bg .hero__stats {
  display: inline-flex;
  gap: 48px;
  margin-top: 56px;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  justify-content: center;
}

@media (max-width: 768px) {
  .hero--bg { min-height: auto; padding: 120px 0 60px; }
  .hero--bg .hero__stats { gap: 24px; flex-wrap: wrap; padding: 20px 28px; }
  .hero--bg h1 { font-size: 2rem; }
}

/* --- Our Clients / Trust Bar — Infinite Scroll (nirwana.ai style) --- */
.trust-section {
  padding: 56px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.trust-section__heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.625rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.trust-bar-wrapper {
  position: relative;
  overflow: hidden;
}

.trust-bar-wrapper::before,
.trust-bar-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trust-bar-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.trust-bar-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.trust-bar {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
}

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

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 32px;
  height: 60px;
}

.trust-bar__item img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.trust-bar__item:hover img {
  opacity: 1;
}

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

@media (max-width: 768px) {
  .trust-section { padding: 40px 0 36px; }
  .trust-section__heading { font-size: 1.375rem; margin-bottom: 28px; }
  .trust-bar__item { padding: 0 24px; }
  .trust-bar__item img { height: 36px; max-width: 130px; }
}

/* --- Why Section (Home page) --- */
.why-section {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
}

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

.why-section__content {
  max-width: 520px;
}

.why-section__content h2 {
  margin-bottom: 16px;
  line-height: 1.15;
}

.why-section__content > p {
  margin-bottom: 36px;
}

.why-section__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  position: relative;
  aspect-ratio: 4/3;
}

.why-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}

.why-section__img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.why-feature:last-child {
  margin-bottom: 0;
}

.why-feature:hover {
  background: var(--color-bg);
}

.why-feature.active {
  background: var(--color-bg);
  border-color: var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.why-feature.active .why-feature__icon {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
}

.why-feature.active .why-feature__icon svg {
  stroke: #FFFFFF;
}

.why-feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.why-feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-heading);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-fast);
}

.why-feature__text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.why-feature__text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-section__content { max-width: 100%; }
  .why-section__image { order: -1; }
  .why-feature { padding: 16px 20px; }
}

/* --- Process / Steps (legacy) --- */
.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ==========================================
   HORIZONTAL TIMELINE — index.html
   ========================================== */
.h-timeline {
  position: relative;
  padding: 0 20px;
}

.h-timeline__track {
  position: absolute;
  top: 36px;
  left: 80px;
  right: 80px;
  height: 2px;
  z-index: 0;
}

.h-timeline__wire {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 2px;
}

.h-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-text-heading);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-timeline.animated .h-timeline__progress {
  width: 100%;
}

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

.h-timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.h-timeline.animated .h-timeline__step {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-timeline.animated .h-timeline__step[data-step="0"] { transition-delay: 0.15s; }
.h-timeline.animated .h-timeline__step[data-step="1"] { transition-delay: 0.35s; }
.h-timeline.animated .h-timeline__step[data-step="2"] { transition-delay: 0.55s; }
.h-timeline.animated .h-timeline__step[data-step="3"] { transition-delay: 0.75s; }

.h-timeline__node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.h-timeline__node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.5s ease;
}

.h-timeline.animated .h-timeline__node {
  background: var(--color-text-heading);
  border-color: var(--color-text-heading);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.h-timeline.animated .h-timeline__node::after {
  border-color: rgba(0, 0, 0, 0.08);
}

.h-timeline__node svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s ease;
}

.h-timeline.animated .h-timeline__node svg {
  stroke: #FFFFFF;
}

.h-timeline__step h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-heading);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .h-timeline__track { display: none; }
  .h-timeline__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .h-timeline__node { width: 60px; height: 60px; }
  .h-timeline__node svg { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
  .h-timeline__steps { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Hero Badge inside hero--bg --- */
.hero--bg .hero__badge {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 32px;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-border);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial__quote {
  font-size: 1.1875rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 28px;
  font-family: Georgia, 'Times New Roman', serif;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-text-heading);
  font-size: 0.9375rem;
  font-family: var(--font-primary);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-family: var(--font-primary);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
  fill: #FACC15;
  stroke: none;
}

/* --- Benefits List --- */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-heading);
  flex-shrink: 0;
}

.benefits-list__dot--active {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}
