/* ============================================
   Service pages
   A reading layout for the per-service landing
   pages; tokens and buttons come from style.css.
   ============================================ */
.service-page {
  padding-block: 40px 96px;
}

.service-page__container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--border-strong);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: var(--accent-bright);
}

/* ---------- Hero ---------- */
.service-hero {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.service-hero__title {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.05;
}

.service-hero__title em {
  display: block;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-hero__lead {
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-hero__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
}

.service-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 899px) {
  .service-hero__media img {
    max-height: 520px;
  }
}

@media (min-width: 900px) {
  .service-hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

/* ---------- Content blocks ---------- */
.service-block {
  margin-bottom: 64px;
}

.service-block h2 {
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  line-height: 1.15;
}

.service-block h3 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
}

.service-block p,
.service-block li,
.service-block dd {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-block > p {
  max-width: 760px;
  margin-bottom: 16px;
}

.service-list {
  display: grid;
  gap: 12px 32px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 26px;
}

.service-list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.service-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Materials ---------- */
.service-materials {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.service-materials div {
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-card);
}

.service-materials dt {
  margin-bottom: 6px;
  color: var(--text-primary);
  font-weight: 600;
}

.service-materials dd {
  margin: 0;
}

@media (min-width: 768px) {
  .service-materials {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Gallery ---------- */
.service-gallery {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.service-gallery figure {
  margin: 0;
}

.service-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: 14px;
}

.service-gallery figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .service-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-gallery--pair {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}

.service-gallery .is-landscape img,
.service-hero__media.is-landscape img {
  aspect-ratio: 4 / 3;
}

/* ---------- Prices ---------- */
.service-prices {
  width: 100%;
  max-width: 760px;
  margin: 24px 0 16px;
  border-collapse: collapse;
}

.service-prices th,
.service-prices td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: baseline;
}

.service-prices th {
  padding-right: 24px;
  color: var(--text-secondary);
  font-weight: 400;
}

.service-prices td {
  color: var(--accent-bright);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.service-prices td span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.service-prices__duration strong {
  color: var(--text-primary);
}

/* ---------- Steps ---------- */
.service-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.service-steps li {
  position: relative;
  padding: 22px 24px 22px 72px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  counter-increment: step;
}

.service-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.service-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .service-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- FAQ (native disclosure, no JS) ---------- */
.service-faq {
  border-top: 1px solid var(--border-color);
}

.service-faq details {
  border-bottom: 1px solid var(--border-color);
}

.service-faq summary {
  position: relative;
  padding: 22px 40px 22px 0;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.service-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform var(--transition);
}

.service-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.service-faq details p {
  margin: 0;
  padding-bottom: 22px;
  max-width: 760px;
}

/* ---------- CTA + contacts ---------- */
.service-cta {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(201, 154, 95, 0.1), rgba(201, 154, 95, 0.02));
}

.service-cta h2 {
  margin-bottom: 12px;
}

.service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-cta__facts {
  display: grid;
  gap: 16px;
  margin: 0;
}

.service-cta__facts dt {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-cta__facts dd {
  margin: 4px 0 0;
  color: var(--text-primary);
}

.service-cta__facts a {
  color: var(--accent-bright);
}

@media (min-width: 900px) {
  .service-cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

/* ---------- Related services ---------- */
.service-related {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-related a {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}

.service-related a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.service-related span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

@media (min-width: 768px) {
  .service-related {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .service-hero__cta .btn,
  .service-cta__actions .btn {
    width: 100%;
    white-space: normal;
  }
}
