/* ==========================================================
   SERVICE PAGE – PREMIUM FRONTEND DESIGN (ENTERPRISE NEUTRAL)
   Status: CLEANED – PART 1 (SAFE)
   Goal:
   - Preserve structure & rhythm
   - Remove redundancy
   - Improve maintainability
========================================================== */

/* ----------------------------------------------------------
   GLOBAL BASE
---------------------------------------------------------- */

.service-content {
  width: 100%;
  background: #ffffff;
  color: #2b2b2b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.service-content p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: #475569;
}

.service-content strong {
  font-weight: 600;
  color: #111827;
}

/* ----------------------------------------------------------
   HERO (LOCKED – DO NOT TOUCH)
---------------------------------------------------------- */

.service-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.service-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.service-hero h1 {
  margin-bottom: 12px;
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
}

.service-hero .subtitle {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #e5e7eb;
}

/* ----------------------------------------------------------
   TRANSITION BAND
---------------------------------------------------------- */

.service-transition-band {
  padding: 48px 0;
  background: #f9fafb;
}

.service-transition-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.service-transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #e5e7eb,
    transparent
  );
}

.service-transition-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

/* ----------------------------------------------------------
   SUMMARY SECTION
---------------------------------------------------------- */

.service-summary-section {
  padding: 56px 0;
  background: #ffffff;
}

.service-summary-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-summary-block {
  padding: 42px 48px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.service-summary-title {
  margin-bottom: 18px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
}

/* ----------------------------------------------------------
   MEDIA SECTION (IMAGE + TEXT)
---------------------------------------------------------- */

.service-media-section {
  padding: 110px 0;
  background: #f9fafb;
}

.service-media-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-media {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.service-media-body {
  flex: 1;
  min-width: 0;
}

.service-media-title {
  margin-bottom: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.service-media-text {
  color: #475569;
}

.service-media-visual {
  flex: 0 0 440px;
  max-width: 440px;
}

.service-media-visual img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);
}

/* ----------------------------------------------------------
   CLEAN DIVIDER
---------------------------------------------------------- */

.service-clean-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #e5e7eb,
    transparent
  );
}

/* ----------------------------------------------------------
   CONTENT SECTIONS WRAPPER
---------------------------------------------------------- */

.service-content-sections {
  width: 100%;
  background: #ffffff;
}

/* ----------------------------------------------------------
   TEXT CONTENT BLOCKS
---------------------------------------------------------- */

.service-text-section {
  position: relative;
  padding: 86px 0;
  background: #ffffff;
}

.service-text-section + .service-text-section {
  border-top: 1px solid #f1f5f9;
}

.service-text-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.service-text-block {
  width: 100%;
  max-width: 1040px;
  padding: 46px 52px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(0,0,0,0.04);
}

.service-text-section:nth-child(even) .service-text-block {
  background: #fbfbfc;
}

.service-text-title {
  margin-bottom: 16px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
}

.service-text-content {
  color: #475569;
}

.service-text-block ul {
  margin-top: 14px;
  padding-left: 18px;
}

.service-text-block li {
  margin: 6px 0;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

@media (max-width: 992px) {
  .service-text-block {
    max-width: 100%;
    padding: 40px 34px;
  }
}

@media (max-width: 576px) {
  .service-text-section {
    padding: 64px 0;
  }

  .service-text-block {
    padding: 30px 20px;
  }
}


/* ==========================================================
   SERVICE PAGE – FINAL ENHANCEMENTS & CLOSING
   Status: CLEANED – FINAL PART
   Purpose:
   - Resolve duplication
   - Lock final visual rhythm
   - Close file safely
========================================================== */

/* ----------------------------------------------------------
   AUTO DIVIDER – NEUTRAL ENTERPRISE
---------------------------------------------------------- */

.service-divider-auto {
  max-width: 1200px;
  margin: 64px auto;
  height: 1px;
  position: relative;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.14),
    transparent
  );
}

.service-divider-auto::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #94a3b8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  .service-divider-auto {
    animation: none;
  }
}

/* ----------------------------------------------------------
   TYPOGRAPHY REFINEMENT (GLOBAL)
---------------------------------------------------------- */

.service-hero h1 {
  letter-spacing: -0.02em;
}

.service-content p,
.service-media-text,
.service-text-content {
  font-size: 1.02rem;
  line-height: 1.85;
}

.service-summary-block p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-section h2 {
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ----------------------------------------------------------
   SMART TEXT BLOCK – FINAL VERSION
---------------------------------------------------------- */

.service-text-block {
  position: relative;
  overflow: hidden;
}

/* single decorative system icon (RIGHT SIDE) */
.service-text-block::after {
  content: "\f0c1"; /* fa-diagram-project */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 170px;
  color: #0f172a;
  opacity: 0.035;
  pointer-events: none;
}

.service-text-title,
.service-text-content {
  position: relative;
  z-index: 2;
}

.service-text-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.service-text-content {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 720px;
}

/* feature list */
.service-text-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}

.service-text-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.service-text-content li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #2563eb;
}

/* ----------------------------------------------------------
   SECTION RHYTHM & BACKGROUND (FINAL)
---------------------------------------------------------- */

.service-text-section {
  padding: 64px 0;
}

.service-media-section {
  padding: 90px 0;
}

.service-text-section:nth-of-type(odd) {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 100%
  );
}

.service-text-section:nth-of-type(even) {
  background: #f1f5f9;
}

.service-text-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,23,42,0.15),
    transparent
  );
  transform: translateX(-50%);
}

/* ----------------------------------------------------------
   SUMMARY VISUAL ANCHOR (FINAL)
---------------------------------------------------------- */

.service-summary-section {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 100%
  );
}

.service-summary-block {
  box-shadow: 0 20px 45px rgba(15,23,42,0.08);
}

/* ----------------------------------------------------------
   CTA TRANSITION (FINAL)
---------------------------------------------------------- */

.service-content-sections::after {
  content: "";
  display: block;
  height: 80px;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #020617
  );
}

/* ----------------------------------------------------------
   RESPONSIVE SAFETY
---------------------------------------------------------- */

@media (max-width: 768px) {
  .service-text-block::after {
    display: none;
  }

  .service-text-content {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .service-media-title,
  .service-text-title {
    font-size: 1.35rem;
  }

  .service-content p {
    font-size: 1rem;
  }
}
