/* =========================
   SERVICE PAGES COMMON CSS
========================= */

.service-page {
  background: var(--white);
  color: var(--text);
}

.service-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(252, 163, 17, 0.28), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(252, 163, 17, 0.20), transparent 24%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.96), rgba(20, 33, 61, 0.88));
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
}

.service-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 88px 0 70px;
}

.service-hero-content {
  max-width: 780px;
  animation: fadeUp 0.8s ease both;
}

.service-hero-content h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.55rem, 9vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  max-width: 820px;
}

.service-hero-text {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 3vw, 1.16rem);
  line-height: 1.75;
}

.service-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.service-hero-points span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.service-hero-card {
  display: none;
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.service-metric-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
}

.service-metric-card span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.service-metric-card strong {
  display: block;
  margin: 8px 0;
  color: var(--orange);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-metric-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.service-channel-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.service-channel-list div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.service-channel-list strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.service-channel-list span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.service-trust-strip {
  position: relative;
  z-index: 3;
}

.service-two-col {
  display: grid;
  gap: 34px;
}

.service-sticky-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-content-block p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.problem-grid,
.benefit-list,
.audience-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.problem-grid span,
.benefit-list div,
.audience-grid div {
  position: relative;
  padding: 18px 18px 18px 48px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 800;
  border: 1px solid rgba(20, 33, 61, 0.08);
}

.problem-grid span::before,
.benefit-list div::before,
.audience-grid div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.service-details-section {
  position: relative;
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.service-detail-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  overflow: hidden;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.service-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(252, 163, 17, 0.18), transparent 45%);
  opacity: 0;
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-7px);
  border-color: rgba(252, 163, 17, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.service-detail-card:hover::before {
  opacity: 1;
}

.service-detail-card > * {
  position: relative;
  z-index: 1;
}

.service-detail-card h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.35rem;
}

.service-detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.service-why-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(20, 33, 61, 0.07);
  border: 1px solid rgba(20, 33, 61, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.process-card span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--orange);
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-responsible-section {
  background: var(--white);
}

.responsible-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(0, 0, 0, 0.96)),
    radial-gradient(circle at top right, rgba(252, 163, 17, 0.45), transparent 35%);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.responsible-card::after {
  content: "TRUST";
  position: absolute;
  right: -10px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(4rem, 18vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.responsible-card h2,
.responsible-card p {
  position: relative;
  z-index: 1;
}

.responsible-card h2 {
  margin: 0;
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.responsible-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.related-services-grid {
  display: grid;
  gap: 18px;
}

.related-services-grid a {
  position: relative;
  min-height: 150px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.related-services-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(252, 163, 17, 0.18), transparent 45%);
  opacity: 0;
  transition: var(--transition);
}

.related-services-grid a:hover {
  transform: translateY(-7px);
  border-color: rgba(252, 163, 17, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.related-services-grid a:hover::before {
  opacity: 1;
}

.related-services-grid a span {
  position: relative;
  z-index: 1;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--black);
  font-weight: 900;
  font-size: 1rem;
}

.homepage-link-section {
  background: var(--white);
}

.homepage-link-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: var(--shadow-soft);
}

.homepage-link-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.homepage-link-card p {
  max-width: 700px;
  margin: 20px auto 26px;
  color: var(--muted);
  line-height: 1.8;
}

.homepage-link-card #userCity {
  color: var(--orange);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(20, 33, 61, 0.07);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.faq-list summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-audience-section {
  background: var(--white);
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 700px) {
  .problem-grid,
  .benefit-list,
  .audience-grid,
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .service-hero-grid {
    grid-template-columns: 1.08fr 0.72fr;
  }

  .service-hero-card {
    display: block;
    justify-self: end;
    width: min(390px, 100%);
    padding: 22px;
    border-radius: 30px;
    background: rgba(24, 22, 22, 0.349);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    color: var(--white);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    animation: fadeUp 0.9s 0.18s ease both;
  }

  .service-two-col {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 70px;
  }

  .service-sticky-heading {
    position: sticky;
    top: 110px;
  }

  .service-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .related-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .responsible-card,
  .homepage-link-card {
    padding: 54px;
  }
}

@media (max-width: 699px) {
  .service-hero-grid {
    min-height: auto;
    padding: 76px 0 56px;
  }

  .service-hero-content h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .service-hero-points span {
    font-size: 0.78rem;
  }

  .service-two-col {
    gap: 26px;
  }

  .problem-grid span,
  .benefit-list div,
  .audience-grid div {
    padding: 16px 16px 16px 44px;
  }

  .problem-grid span::before,
  .benefit-list div::before,
  .audience-grid div::before {
    left: 17px;
    top: 23px;
  }

  .service-detail-card,
  .related-services-grid a {
    min-height: auto;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .responsible-card,
  .homepage-link-card {
    padding: 28px;
    border-radius: var(--radius-md);
  }

  .faq-list details {
    padding: 20px;
  }
}