/* Selected reference composition, using the site's existing typography and gold. */
.xf-home-service {
  padding: 52px 0 56px;
  background: #f1eee7;
  color: #23221f;
  scroll-margin-top: calc(var(--site-header-height, 94px) + 20px);
}
.xf-home-service__inner { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.xf-home-service__heading { max-width: 980px; margin: 0 auto 32px; text-align: center; }
body #service-support .xf-home-service__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 0 12px; color: #896536; font-size: 13px; line-height: 1.5;
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.xf-home-service__eyebrow::before, .xf-home-service__eyebrow::after {
  content: ''; width: 32px; height: 2px; background: #a17d47;
}
body .xf-home-service h2 {
  margin: 0; font-size: clamp(34px, 3.5vw, 52px); line-height: 1.2;
  font-weight: 800; letter-spacing: -.035em; color: #22211e;
}
.xf-home-service h2 .language-en { text-transform: uppercase; }
body #service-support .xf-home-service__intro {
  max-width: 790px; margin: 14px auto 0; color: #6b675f;
  font-size: 18px; line-height: 1.8; font-weight: 400;
}
.xf-home-service__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xf-home-service__card {
  display: flex; align-items: flex-start; gap: 16px; min-width: 0;
  padding: 22px 24px; border: 1px solid #e0dbd1; border-radius: 8px;
  background: #fff; color: inherit; text-decoration: none;
  box-shadow: 0 5px 14px rgba(60, 48, 27, .045);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
a.xf-home-service__card:hover { color: inherit; border-color: #b99b6e; box-shadow: 0 8px 20px rgba(60, 48, 27, .08); }
a.xf-home-service__card:focus-visible { outline: 3px solid #896536; outline-offset: 4px; }
.xf-home-service__icon {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px;
  color: #302617; background: #b58d4b;
}
.xf-home-service__copy { min-width: 0; padding-top: 1px; }
body .xf-home-service h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.35; color: #27251f; }
.xf-home-service h3 .language-en { text-transform: uppercase; }
body #service-support .xf-home-service__copy p { margin: 0; color: #6b675f; font-size: 16px; line-height: 1.75; }
@media (max-width: 1100px) {
  .xf-home-service__inner { width: calc(100% - 64px); }
  .xf-home-service__grid { gap: 16px; }
  .xf-home-service__card { gap: 16px; padding: 20px 20px; }
  .xf-home-service__icon { flex-basis: 48px; width: 48px; height: 48px; }
  body .xf-home-service h3 { font-size: 18px; }
}
@media (max-width: 900px) {
  .xf-home-service { padding: 44px 0 48px; }
  .xf-home-service__heading { margin-bottom: 28px; }
  .xf-home-service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .xf-home-service { padding: 40px 0 44px; }
  .xf-home-service__inner { width: calc(100% - 40px); }
  .xf-home-service__heading { margin-bottom: 24px; }
  body #service-support .xf-home-service__eyebrow { font-size: 12px; margin-bottom: 12px; }
  body .xf-home-service h2 { font-size: 30px; line-height: 1.3; letter-spacing: -.025em; }
  body #service-support .xf-home-service__intro { font-size: 16px; line-height: 1.8; margin-top: 14px; }
  .xf-home-service__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .xf-home-service__card { padding: 18px 20px; gap: 16px; }
  body .xf-home-service h3 { font-size: 19px; }
  body #service-support .xf-home-service__copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .xf-home-service__card { transition: none; } }
