/* ========================================
   Generic/Content Section Styles – kiwebsites.com
   Default: DARK | body.revealed: LIGHT
   
   These styles apply to all content sections.
   They start in dark/premium mode and transition
   to a clean light mode after the hero scroll.
   ======================================== */

/* ---- Generic Section Base ---- */
.generic-section {
  position: relative;
  transition: all 0.6s ease;
}

.generic-section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.generic-section__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .generic-section__title {
  color: var(--gen-heading);
}

/* Accent line under title */
.generic-section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--pre-gradient-accent);
  border-radius: 2px;
  transition: background 0.6s ease;
}

body.revealed .generic-section__title::after {
  background: var(--gen-accent);
}

.generic-section__subtitle {
  font-size: var(--fs-md);
  color: var(--pre-text-muted);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .generic-section__subtitle {
  color: var(--gen-text-muted);
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: var(--pre-glass-bg);
  border: 1px solid var(--pre-glass-border);
  backdrop-filter: blur(var(--pre-glass-blur));
  -webkit-backdrop-filter: blur(var(--pre-glass-blur));
}

body.revealed .service-card {
  background: var(--gen-card-bg);
  border-color: var(--gen-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

body.revealed .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(223, 34, 50, 0.25);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: rgba(223, 34, 50, 0.1);
  color: var(--pre-accent-1);
}

body.revealed .service-card__icon {
  background: var(--gen-bg-alt);
  color: var(--gen-accent);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .service-card__title {
  color: var(--gen-heading);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .service-card__text {
  color: var(--gen-text-muted);
}

/* ---- USP Items ---- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.usp-item {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  transition: all 0.6s ease;
  background: var(--pre-glass-bg);
  border: 1px solid var(--pre-glass-border);
}

body.revealed .usp-item {
  background: var(--gen-card-bg);
  border-color: var(--gen-border);
  box-shadow: var(--gen-shadow);
}

.usp-item__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: 1;
  margin-bottom: var(--space-sm);
  background: var(--pre-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s ease;
}

body.revealed .usp-item__number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--gen-accent);
}

.usp-item__label {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .usp-item__label {
  color: var(--gen-heading);
}

.usp-item__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .usp-item__text {
  color: var(--gen-text-muted);
}

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  transition: all 0.6s ease;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: var(--pre-gradient-accent);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(223, 34, 50, 0.3);
}

body.revealed .process-step__number {
  background: var(--gen-accent);
  box-shadow: none;
}

.process-step__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .process-step__title {
  color: var(--gen-heading);
}

.process-step__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .process-step__text {
  color: var(--gen-text-muted);
}

/* Connector arrow between steps */
.process-step::after {
  content: '→';
  position: absolute;
  right: calc(var(--space-xl) * -0.5 - 6px);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-lg);
  color: var(--pre-text-muted);
  transition: color 0.6s ease;
}

body.revealed .process-step::after {
  color: var(--gen-border);
}

.process-step:last-child::after {
  display: none;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  background: var(--pre-bg-alt);
  transition: background 0.6s ease;
}

body.revealed .cta-section {
  background: var(--gen-bg-alt);
}

.cta-section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--space-lg);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .cta-section__title {
  color: var(--gen-heading);
}

.cta-section__text {
  font-size: var(--fs-md);
  color: var(--pre-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .cta-section__text {
  color: var(--gen-text-muted);
}

.cta-section__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  padding: var(--space-lg) var(--space-3xl);
  border-radius: var(--radius-full);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  background: var(--pre-gradient-accent);
  box-shadow: 0 0 30px rgba(223, 34, 50, 0.3);
}

body.revealed .cta-section__btn {
  background: var(--gen-accent);
  box-shadow: none;
}

.cta-section__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(223, 34, 50, 0.5);
}

body.revealed .cta-section__btn:hover {
  background: var(--gen-accent-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ---- Section Padding ---- */
.section-padding {
  padding: var(--space-5xl) var(--space-xl);
}
