/* ============================================
   SERVICE PAGE STYLES (shared across all services)
   ============================================ */

/* --- Hero Section --- */
.service-hero {
  position: relative;
  text-align: center;
  padding: 220px 40px 80px;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 700px;
  background: linear-gradient(
    180deg,
    #fff3eb 0%,
    #ffe8d6 40%,
    var(--bg-color) 100%
  );
  background-image: url("../../../images/2026/02/service-bg.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index: 0;
}

.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.service-hero-content h1 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-hero-subtitle {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--secondary-text);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* Trustpilot Badge */
.service-trustpilot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: "Harmonia Sans Pro", sans-serif;
}

.service-trustpilot-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-text);
}

.service-trustpilot-logo wa-icon {
  color: #00b67a;
  font-size: 18px;
}

.service-trustpilot-stars {
  display: flex;
  gap: 2px;
}

.service-trustpilot-stars wa-icon {
  color: #ff5a00;
  font-size: 16px;
}

.service-trustpilot-text {
  font-size: 14px;
  color: var(--secondary-text);
  font-weight: 400;
}

/* Hero CTA Buttons */
.service-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Hero Image */
.service-hero-image {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 60px auto 0;
  border-radius: 24px;
  overflow: hidden;
}

.service-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Feature Rows (Alternating) --- */
.service-features {
  padding: 80px 40px 160px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-features h2 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-text);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
  text-align: center;
}

.service-feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.service-feature-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-feature-row.reverse {
  flex-direction: row-reverse;
}

.service-feature-text {
  flex: 1;
  min-width: 0;
}

.service-feature-text h2 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  color: var(--primary-text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.service-feature-text p {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

.service-feature-cta {
  display: flex;
  gap: 14px;
}

.service-feature-image {
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.service-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  max-height: 400px;
}

/* Feature separator */
.service-feature-row + .service-feature-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Dark CTA Section (Bottom) --- */
.service-cta-section {
  position: relative;
  width: 100%;
  min-height: 360px;
  background: linear-gradient(to bottom, #000000 0%, #0b1220 60%, #0b1220 100%);
  overflow: visible;
  padding-bottom: 90px;
}

.service-cta-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 120px;
  height: 260px;
  background: #ff5c16;
  z-index: 0;
  opacity: 0.7;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
}

.service-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  z-index: 1;
  position: relative;
}

.service-cta-content {
  flex: 1;
  color: #ffffff;
  padding: 80px 0 80px 40px;
}

.service-cta-content h2 {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}

.service-cta-content p {
  font-family: "Harmonia Sans Pro", sans-serif;
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 32px;
}

.service-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.service-cta-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-height: 400px;
}

.service-cta-image {
  position: relative;
  transform: translateY(-140px);
  z-index: 2;
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* --- Decorative Elements --- */
.service-hero-decoration {
  position: absolute;
  z-index: 0;
  top: 120px;
  left: 40px;
  opacity: 0.15;
}

.service-hero-decoration svg {
  width: 120px;
  height: auto;
}

/* --- Responsive — Tablet --- */
@media (max-width: 980px) {
  .service-hero {
    padding: 180px 24px 60px;
  }

  .service-hero-content h1 {
    font-size: 3.2rem;
  }

  .service-feature-row {
    gap: 48px;
  }

  .service-feature-text h2 {
    font-size: 2.2rem;
  }

  .service-cta-content h2 {
    font-size: 2.5rem;
  }

  .service-hero::before {
    height: 550px;
  }

  .service-feature-row,
  .service-feature-row.reverse {
    flex-direction: column;
    gap: 32px;
    padding: 48px 0;
  }

  .service-feature-text {
    text-align: center;
  }

  .service-feature-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .service-feature-cta {
    justify-content: center;
  }

  .service-features {
    padding: 40px 24px;
  }

  .service-features h2 {
    font-size: 2.25rem;
  }

  .service-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .service-cta-content {
    padding: 60px 24px 32px;
  }

  .service-cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-cta-buttons {
    justify-content: center;
  }

  .service-cta-image {
    transform: translateY(-40px);
    max-width: 360px;
  }
}

/* --- Responsive — Mobile (max 575px) --- */
@media (max-width: 575px) {
  /* Hero */
  .service-hero {
    padding: 130px 20px 40px;
  }

  .service-hero::before {
    height: 460px;
  }

  .service-hero-decoration {
    top: 100px;
    left: 16px;
    opacity: 0.1;
  }

  .service-hero-decoration svg {
    width: 80px;
  }

  .service-hero-content h1 {
    font-size: 1.9rem;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }

  .service-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  /* Trustpilot */
  .service-trustpilot {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
  }

  .service-trustpilot-logo {
    font-size: 13px;
  }

  .service-trustpilot-logo wa-icon {
    font-size: 15px;
  }

  .service-trustpilot-stars wa-icon {
    font-size: 14px;
  }

  .service-trustpilot-text {
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  /* Hero CTA */
  .service-hero-cta {
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    width: 70%;
    margin: 24px auto 0;
  }

  /* Hero image */
  .service-hero-image {
    margin-top: 28px;
    border-radius: 14px;
  }

  /* Feature rows */
  .service-features {
    padding: 40px 24px 120px;
  }

  .service-features h2 {
    font-size: 1.75rem;
    margin: 24px auto;
  }

  .service-feature-row,
  .service-feature-row.reverse {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }

  .service-feature-text h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .service-feature-text p {
    font-size: 12px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .service-feature-cta {
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    width: 70%;
    margin: 24px auto 0;
  }

  .service-feature-image img {
    max-height: 240px;
    border-radius: 14px;
  }

  .service-feature-image {
    border-radius: 14px;
  }

  /* Dark CTA section */
  .service-cta-section {
    min-height: 720px;
  }

  .service-cta-section::after {
    width: 80px;
    height: 180px;
  }

  .app-showcase::after {
    width: 60px;
    height: 140px;
    right: 0;
  }

  .service-cta-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    padding: 60px 16px 30px;
  }

  .service-cta-content {
    padding: 20px;
  }

  .service-cta-content h2 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .service-cta-content p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .service-cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    width: 70%;
    margin: 0 auto;
  }

  .service-cta-media {
    margin-bottom: -200px;
  }

  .service-cta-image {
    transform: translateY(-180px);
    max-width: 280px;
    margin: 0 auto;
  }
}
