@import url('../../vendor/fonts/fonts.css');

:root {
  --bg: #faf7f2;
  --ivory: #faf7f2;
  --surface: #ffffff;
  --surface-2: #faf6ed;
  --ink: #1a1a18;
  --muted: #6b6b63;
  --line: #e6e1da;
  --brand: #3a2418;
  --brand-hover: #4a2f20;
  --border: rgba(0,0,0,0.1);
  --text-main: var(--ink);
  --text-muted: var(--muted);
  --text-subtle: #9a9a90;
  --white: #ffffff;
  --green: #004d30;
  --green-rgb: #e6e1da;
  --green-light: #e8f0eb;
  --green-mid: #1a6645;
  --green-dark: #2d6b3a;
  --brown: #4a2c10;
  --brown-hover: #3a2008;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Charis SIL', Cambria, Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:where(.sp-service-page h1,
.sp-service-page h2,
.sp-service-page h3,
.sp-service-page p) {
  margin: 0;
}

.sp-service-page h3 {
  font-family: var(--font-sans);
  font-weight: 600;
}

.sp-service-page {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0;
  font-family: var(--font-sans);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 32px;
  padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #e6e1da;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
}

.breadcrumbs__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  line-height: 0;
  transition: color 0.2s ease;
}

.breadcrumbs__home:hover { color: var(--green-mid); }

.breadcrumbs .home-icon {
  width: 1.2em;
  height: 1.2em;
  display: block;
  margin: 0 1.25rem 0 1.25rem;
  gap: 24px;
}

.breadcrumbs__link {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0 1.25rem 0 1.25rem;
}

.breadcrumbs__link:hover {
  color: var(--green);
  text-decoration: none;
}

.breadcrumbs__current {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1.25rem 0.3rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--text-main);
  border-radius: 100px;
  font-weight: 500;
  max-width: min(520px, 46vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-service-hero { padding: 0 0 40px; }
.sp-service-hero__visual {
  width: min(100%, 920px);
  aspect-ratio: 16 / 7;
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  box-shadow: 0 18px 44px rgba(58, 36, 24, .08);
}
.sp-service-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-service-hero__title {
  font-family: var(--font-serif);
  max-width: 920px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: var(--text-main);
}
.sp-service-lead {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.7;
  color: #4a443f;
}
.sp-service-lead p + p { margin-top: 16px; }
.sp-service-lead strong { color: var(--ink); }

.sp-service-section { padding: 42px 0; }
.sp-service-section:first-of-type { padding-top: 18px; }
.sp-service-section__title {
  font-family: var(--font-serif);
  max-width: 920px;
  text-align: left;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text-main);
  margin: 0 0 38px;
}

.sp-service-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sp-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.sp-service-card > h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; color: #1a1a1a; }
.sp-service-card > p { font-size: 15px; line-height: 1.6; color: #4a4a4a; }
.sp-service-card > p + p { margin-top: 10px; }
.sp-service-card strong { color: var(--ink); }

.sp-service-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sp-service-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  position: relative;
}
.sp-service-step__number {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.sp-service-step > h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; color: #1a1a1a; }
.sp-service-step > p { font-size: 15px; line-height: 1.6; color: #4a4a4a; }

.sp-service-single {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.sp-service-single p { font-size: 16px; line-height: 1.7; color: #4a443f; }
.sp-service-single p + p { margin-top: 16px; }
.sp-service-single strong { color: var(--ink); }

.sp-service-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 34px 32px;
}
.sp-service-cta__label {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 14px;
}
.sp-service-cta h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.sp-service-cta p { font-size: 16px; line-height: 1.65; color: #4a443f; margin-bottom: 8px; }
.sp-service-cta .sp-service-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; margin-bottom: 0; }
.sp-service-cta strong { color: var(--ink); }
.sp-service-cta__button {
  margin-top: 22px;
  background: var(--brown); color: #fff; border: 0;
  border-radius: var(--radius-lg); padding: 18px 24px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit;
  transition: background .15s ease;
}
.sp-service-cta__button:hover { background: var(--brown-hover); }

.sp-service-page > footer { text-align: center; padding: 60px 0 40px; color: var(--muted); font-size: 13px; }

@media (min-width: 1536px) {
  .sp-service-page {
    padding: 32px 0;
  }
}

@media (max-width: 900px) {
  .sp-service-card-grid, .sp-service-steps { grid-template-columns: 1fr; }
  .sp-service-hero { padding-bottom: 32px; }
  .sp-service-section { padding: 34px 0; }
  .sp-service-section:first-of-type { padding-top: 14px; }
  .sp-service-hero__visual {
    margin-bottom: 26px;
    border-radius: var(--radius-lg);
  }
  .sp-service-single, .sp-service-cta { padding: 20px; }
}

@media (max-width: 480px) {
  .sp-service-page {
    width: calc(100vw - 32px);
    padding: 24px 0;
  }
  .breadcrumbs {
    display: flex;
    width: 100%;
    min-width: 0;
    font-size: 0.875rem;
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
  }
  .breadcrumbs .home-icon {
    margin: 0 0.35rem;
  }
  .breadcrumbs__link {
    flex: 0 0 auto;
    margin: 0 0.35rem;
  }
  .breadcrumbs__current {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.25rem 0.65rem;
    max-width: none;
  }
  .sp-service-hero__title {
    font-size: 28px;
  }
  .sp-service-section__title {
    font-size: 28px;
    margin-bottom: 26px;
  }
  .sp-service-card, .sp-service-step, .sp-service-single, .sp-service-cta {
    border-radius: var(--radius-md);
    padding: 18px;
  }
  .sp-service-cta__button {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
}

@media (max-width: 420px) {
  .sp-service-page {
    width: min(358px, calc(100vw - 32px));
  }
}
