/* Dedicated services page, using the attached page's card-led service pattern. */
.services-page {
  background:
    radial-gradient(circle at 90% 8%, rgba(213, 140, 122, .16), transparent 25rem),
    var(--paper);
}

.services-faq {
  background: var(--paper-deep);
}
.services-faq h2 {
  max-width: 760px;
  margin: 16px 0 32px;
  font: 400 clamp(34px, 4.5vw, 56px)/1 var(--serif);
  letter-spacing: -.035em;
}
.services-faq-list {
  max-width: 860px;
}
.services-faq-list details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.services-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.services-faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}
.services-faq-list p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}
.services-page .site-header { position: sticky; }
.services-page-hero { padding: 76px 0 68px; }
.services-page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 60px;
  padding: 64px 58px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--paper-deep), #e5cbbb);
}
.services-page-hero h1 {
  max-width: 720px;
  margin: 17px 0 22px;
  font: 400 clamp(52px, 7vw, 94px)/.94 var(--serif);
  letter-spacing: -.045em;
}
.services-page-hero-copy > p {
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.services-page-hero-note {
  justify-self: end;
  max-width: 290px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.services-page-hero-note strong {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font: 400 27px/1 var(--serif);
}
.services-page-hero-note span { display: inline-flex; margin-top: 22px; color: var(--rose-deep); font-size: 25px; }
.ai-growth-section { padding: 80px 0 92px; background: var(--paper-deep); }
.ai-growth-grid {
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.ai-growth-visual { overflow: hidden; min-height: 590px; border-radius: 21px; background: #e8d0bd; }
.ai-growth-visual svg { display: block; width: 100%; height: 100%; min-height: 590px; }
.ai-growth-copy > p { max-width: 560px; margin: 18px 0 26px; color: var(--ink-soft); font-size: 14px; }
.ai-growth-copy h2 {
  max-width: 650px;
  margin: 16px 0 0;
  font: 400 clamp(41px, 5vw, 67px)/.98 var(--serif);
  letter-spacing: -.04em;
}
.ai-growth-list { display: flex; flex-direction: column; gap: 10px; }
.ai-growth-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: start;
  padding: 17px 20px;
  border-radius: 16px;
  background: rgba(255, 250, 243, .72);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.ai-growth-card:hover { background: var(--white); transform: translateX(5px); box-shadow: var(--shadow); }
.ai-growth-icon { display: grid; width: 30px; height: 30px; place-items: center; color: var(--rose-deep); }
.ai-growth-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.ai-growth-card h3 { margin: 0; font: 400 20px/1.1 var(--serif); }
.ai-growth-card p { max-width: 540px; margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.ai-growth-button { margin-top: 25px; }
.all-services-section { padding: 85px 0 105px; background: var(--paper); }
.all-services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 48px;
}
.all-services-head h2 {
  margin: 16px 0 0;
  font: 400 clamp(40px, 5vw, 65px)/.97 var(--serif);
  letter-spacing: -.035em;
}
.all-services-head p { max-width: 390px; margin: 0 0 4px; color: var(--ink-soft); font-size: 14px; }
.all-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.all-service {
  display: grid;
  grid-template-columns: 52px 1fr 25px;
  gap: 21px;
  align-items: start;
  min-height: 250px;
  padding: 30px;
  border-radius: 20px;
  background: var(--paper-card);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.all-service:nth-child(2) { background: #e8c8b8; }
.all-service:nth-child(3) { background: #d9dfbd; }
.all-service:nth-child(4) { background: #e4d7b8; }
.all-service:nth-child(5) { background: #e3d3c0; }
.all-service:nth-child(6) { background: #d7e0d2; }
.all-service:hover { background: var(--white); transform: translateY(-5px); box-shadow: var(--shadow); }
.all-service-icon { width: 49px; height: 49px; color: var(--rose-deep); }
.all-service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.all-service-body h3 { margin: 2px 0 10px; font: 400 29px/1 var(--serif); }
.all-service-body p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }
.all-service-arrow { justify-self: end; color: var(--rose-deep); font-size: 24px; transition: transform .25s ease; }
.all-service:hover .all-service-arrow { transform: translate(4px, -4px); }
.services-page .delay-4 { transition-delay: .36s; }
.services-page .delay-5 { transition-delay: .45s; }
.service-details { padding: 100px 0; background: var(--paper-deep); }
.service-detail {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 70px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail-index { color: var(--rose-deep); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.service-detail h3 { margin: 0; font: 400 clamp(34px, 4vw, 54px)/1 var(--serif); letter-spacing: -.03em; }
.service-detail-copy p { max-width: 620px; margin: 17px 0 0; color: var(--ink-soft); font-size: 14px; }
.service-detail-copy ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.service-detail-copy li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 11px; }
.services-page-cta { padding: 80px 0 105px; background: var(--paper); text-align: center; }
.services-page-cta h2 { max-width: 650px; margin: 0 auto; font: 400 clamp(40px, 5vw, 68px)/.97 var(--serif); letter-spacing: -.04em; }
.services-page-cta p { max-width: 430px; margin: 19px auto 0; color: var(--ink-soft); font-size: 14px; }
.services-page-cta .button { margin-top: 28px; }
.services-page .site-footer { background: var(--paper-deep); }
@media (max-width: 800px) {
  .services-page-hero { padding: 42px 0 35px; }
  .services-page-hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 42px 28px; }
  .services-page-hero-note { justify-self: start; }
  .ai-growth-section, .all-services-section, .service-details { padding: 65px 0; }
  .ai-growth-grid { grid-template-columns: 1fr; gap: 38px; }
  .ai-growth-visual, .ai-growth-visual svg { min-height: 440px; }
  .all-services-head { display: block; }
  .all-services-head p { margin-top: 20px; }
  .all-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail { grid-template-columns: 1fr; gap: 14px; padding: 35px 0; }
}
@media (max-width: 560px) {
  .services-page-hero h1 { font-size: clamp(47px, 14vw, 70px); }
  .ai-growth-visual, .ai-growth-visual svg { min-height: 350px; }
  .ai-growth-card { grid-template-columns: 28px 1fr; gap: 12px; padding: 15px; }
  .ai-growth-card h3 { font-size: 18px; }
  .all-services-grid { grid-template-columns: 1fr; }
  .all-service { grid-template-columns: 42px 1fr; gap: 16px; padding: 24px; }
  .all-service-arrow { grid-column: 2; justify-self: start; }
}