/* ================================================================= */
/*  CONSULTING PAGE                                                    */
/* ================================================================= */

.con-highlight { color: var(--pepla-green); }


/* ── Hero ──────────────────────────────────────────────────────────── */
.con-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.con-hero.animate-in { opacity: 1; transform: translateY(0); }

.con-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.con-hero__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pepla-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.con-hero__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.con-hero__icon {
  width: 200px;
  height: 200px;
}

/* Hero animations */
.con-box1 { animation: conBoxPop 3s ease infinite; }
.con-box2 { animation: conBoxPop 3s ease 0.5s infinite; }
.con-box3 { animation: conBoxPop 3s ease 1s infinite; }
.con-line1 { animation: conLineFade 2.5s ease infinite; }
.con-line2 { animation: conLineFade 2.5s ease 0.4s infinite; }
.con-person1 { animation: conPersonPulse 3s ease infinite; }
.con-person2 { animation: conPersonPulse 3s ease 0.5s infinite; }
.con-person3 { animation: conPersonPulse 3s ease 1s infinite; }

@keyframes conBoxPop {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes conLineFade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes conPersonPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ── Services Grid ─────────────────────────────────────────────────── */
.con-services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.con-services.animate-in { opacity: 1; transform: translateY(0); }

.con-services__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.con-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.con-svc-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}

.con-svc-card.animate-in { opacity: 1; transform: translateY(0); }

.con-svc-card:nth-child(1) { transition-delay: 0s; }
.con-svc-card:nth-child(2) { transition-delay: 0.1s; }
.con-svc-card:nth-child(3) { transition-delay: 0.2s; }
.con-svc-card:nth-child(4) { transition-delay: 0.3s; }
.con-svc-card:nth-child(5) { transition-delay: 0.4s; }
.con-svc-card:nth-child(6) { transition-delay: 0.5s; }

.con-svc-card:hover { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }

.con-svc-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
}

.con-icon { width: 100%; height: 100%; }

.con-svc-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.con-svc-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
}

/* Icon animations */
.con-icon__process-box1 { animation: conBoxPop 3s ease infinite; }
.con-icon__process-box2 { animation: conBoxPop 3s ease 0.3s infinite; }
.con-icon__process-box3 { animation: conBoxPop 3s ease 0.6s infinite; }
.con-icon__pline1 { animation: conLineFade 2.5s ease infinite; }
.con-icon__pline2 { animation: conLineFade 2.5s ease 0.3s infinite; }
.con-icon__gear { animation: cogSpin 4s linear infinite; transform-origin: 30px 26px; }

.con-icon__cog-outer { animation: cogSpin 6s linear infinite; transform-origin: 30px 30px; }

@keyframes cogSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.con-icon__magnify { animation: conBoxPop 3s ease infinite; }
.con-icon__doc1 { animation: docSlide 2.5s ease infinite; }
.con-icon__doc2 { animation: docSlide 2.5s ease 0.2s infinite; }
.con-icon__doc3 { animation: docSlide 2.5s ease 0.4s infinite; }

@keyframes docSlide {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.6; }
}

.con-icon__layer1 { animation: layerPulse 2.5s ease infinite; }
.con-icon__layer2 { animation: layerPulse 2.5s ease 0.3s infinite; }
.con-icon__layer3 { animation: layerPulse 2.5s ease 0.6s infinite; }

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

.con-icon__ent-box1 { animation: docSlide 3s ease infinite; }
.con-icon__ent-box2 { animation: docSlide 3s ease 0.5s infinite; }
.con-icon__ent-box3 { animation: docSlide 3s ease 1s infinite; }

.con-icon__uml { animation: umlPulse 2s ease infinite; }
.con-icon__page { animation: conBoxPop 3s ease infinite; }

@keyframes umlPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── Approach ──────────────────────────────────────────────────────── */
.con-approach {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.con-approach.animate-in { opacity: 1; transform: translateY(0); }

.con-approach__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.con-approach__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: start;
}

.con-approach__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.con-approach__step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.con-approach__step.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.con-approach__step:last-child { border-bottom: none; }

.con-approach__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.con-approach__step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.con-approach__step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.con-approach__quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 500;
  color: #222;
  text-align: center;
  padding: 30px;
  border-top: 3px solid var(--pepla-green);
  border-bottom: 3px solid var(--pepla-green);
  max-width: 280px;
  position: sticky;
  top: 100px;
}

.con-approach__quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: #666;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .con-hero { grid-template-columns: 1fr; }
  .con-hero__visual { text-align: center; }
  .con-services__grid { grid-template-columns: repeat(2, 1fr); }
  .con-approach__layout { grid-template-columns: 1fr; }
  .con-approach__quote blockquote { position: static; max-width: 100%; }
}

@media (max-width: 600px) {
  .con-hero, .con-services, .con-approach { padding: 50px 20px; }
  .con-services__grid { grid-template-columns: 1fr; }
  .con-hero__title { font-size: 1.5rem; }
}
