/* SERVISO — Inner page headers, breadcrumbs, 404, privacy policy. */
/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--hero-gradient);
  padding: calc(var(--nav-height) + 3.5rem) 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: .75rem; position: relative; }
.page-header > p { font-size: 1.125rem; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; position: relative; }

/* Breadcrumbs — default (white bar, e.g. .has-breadcrumbs detail pages) */
.breadcrumbs { background: white; border-bottom: 1px solid var(--gray-200); padding: .875rem 0; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; font-size: .875rem; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin: 0 .5rem; color: var(--gray-400); font-size: .75rem; }
.breadcrumbs a, .breadcrumbs a span { color: var(--gray-600); transition: color .2s; }
.breadcrumbs a:hover, .breadcrumbs a:hover span { color: var(--primary); }
.breadcrumbs li:last-child span[itemprop="name"] { color: var(--primary); font-weight: 500; }

/* Breadcrumbs inside gradient .page-header */
.page-header .breadcrumbs { background: none; border-bottom: none; padding: 1.25rem 0 0; }
.page-header .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,.35); }
.page-header .breadcrumbs a, .page-header .breadcrumbs a span { color: rgba(255,255,255,.6); }
.page-header .breadcrumbs a:hover, .page-header .breadcrumbs a:hover span { color: white; }
.page-header .breadcrumbs li:last-child span[itemprop="name"] { color: rgba(255,255,255,.9); font-weight: 500; }

/* Detail pages — breadcrumb bar without full page header */
.has-breadcrumbs { padding-top: var(--nav-height); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-header--404 {
  padding-bottom: 5rem;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-404-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.05em;
  pointer-events: none;
}
.page-header--404 h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: .875rem;
}
.page-header--404 > p {
  max-width: 440px;
}
.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.error-404-actions .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: white;
}
.error-404-actions .btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: white;
  color: white;
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); color: var(--primary-dark); }
.error-404-phone {
  margin-top: 2.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.error-404-phone a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.error-404-phone a:hover { color: white; }
.error-wave-transition {
  background: var(--hero-gradient);
  line-height: 0;
  margin-bottom: -1px;
}
.error-wave-transition svg { width: 100%; display: block; }

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.privacy-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gray-100);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p { margin-bottom: 1rem; line-height: 1.75; color: var(--text-secondary); }
.privacy-content ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
  list-style: disc;
}
.privacy-content ul li {
  margin-bottom: .5rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.privacy-content strong { color: var(--text-primary); }
.privacy-content a { color: var(--accent); }
.privacy-content a:hover { text-decoration: underline; }
.privacy-content code {
  font-family: monospace;
  font-size: .875em;
  background: var(--gray-100);
  padding: .1em .35em;
  border-radius: 3px;
}
.privacy-contact-block {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: .5rem;
}
.privacy-contact-block .pc-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.privacy-contact-block .pc-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  min-width: 70px;
  flex-shrink: 0;
}
.privacy-contact-block .pc-value { color: var(--text-primary); }
.privacy-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
  font-size: .82rem;
  color: var(--text-secondary);
}
@media (max-width: 576px) {
  .privacy-content { padding: 2.5rem 1.25rem 3.5rem; }
}
