.service-page {
  margin: 0;
  font: 400 16px/1.65 Inter, Arial, sans-serif;
}

.service-page *, .service-page *::before, .service-page *::after { box-sizing: border-box; }
.service-page a { color: inherit; text-decoration: none; }
.service-page .button {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1rem;
  border-radius: .4rem;
  background: var(--website-blue);
  color: #fff;
  font-weight: 600;
}

.service-page .skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 20;
  padding: .5rem 1rem;
  background: var(--website-canvas);
  transform: translateY(-150%);
}

.service-page .skip:focus { transform: none; }
.service-page .site-footer { border-top: 1px solid var(--website-line); padding-block: 1.5rem; font-size: .85rem; }
.service-page .site-footer > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-page .site-footer img { width: 180px; height: auto; }

.service-page .wrap {
  width: min(90.7%, 1306px);
  margin-inline: auto;
}

.service-page main {
  width: auto;
  margin: 0;
}

.service-page .offer-hero {
  padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 64px);
}

.offer-parent {
  display: inline-block;
  color: var(--website-muted);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.offer-hero h1 {
  max-width: 18ch;
  margin: .28em 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 600;
}

.offer-hero > p {
  max-width: 65ch;
  margin: 0;
  color: var(--website-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.directory-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding-block: .75rem;
  border-block: 1px solid var(--website-line);
}

.directory-tabs a {
  display: block;
  padding: .55rem .9rem;
  border-radius: .45rem;
  color: var(--website-text);
  font-weight: 600;
  text-decoration: none;
}

.directory-tabs a:hover { background: var(--website-panel); }
.directory-tabs a[aria-selected="true"] { background: var(--website-blue); color: #fff; }
html[data-theme="dark"] .directory-tabs a[aria-selected="true"] { background: #233f99; }

.directory-panel {
  scroll-margin-top: 6rem;
  padding-block: clamp(28px, 4vw, 52px);
}

.directory-panel[hidden] { display: none; }

.directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  margin-bottom: 1.6rem;
}

.directory-heading h2, .offer-section h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.directory-heading p {
  max-width: 60ch;
  margin: .45rem 0 0;
  color: var(--website-muted);
}

.directory-group + .directory-group { margin-top: 2rem; }
.directory-group h3 { margin: 0 0 .7rem; font-size: 1rem; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.offer-card {
  display: grid;
  grid-template-rows: 7rem auto 1fr;
  align-content: start;
  gap: .45rem;
  height: 100%;
  padding: 1rem;
  background: var(--website-panel);
  border: 1px solid var(--website-line);
  border-radius: .7rem;
  color: var(--website-text);
  text-decoration: none;
}

.offer-card img {
  width: 100%;
  max-width: 10rem;
  height: 100%;
  object-fit: contain;
}

.offer-card strong { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.offer-card > span { color: var(--website-muted); font-size: .92rem; line-height: 1.45; }
.offer-card:hover, .offer-card:focus-visible { border-color: currentColor; color: #aa4617; }
html[data-theme="dark"] .offer-card:is(:hover, :focus-visible) { color: #ffac80; }

.offer-grid > li:only-child { grid-column: 1 / -1; }
.offer-grid > li:only-child .offer-card {
  grid-template-columns: clamp(5rem, 17vw, 10rem) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(.75rem, 3vw, 1.75rem);
  min-height: 7rem;
}
.offer-grid > li:only-child img { grid-row: 1 / 3; max-height: 7rem; }
.offer-grid > li:only-child strong { align-self: end; }

.service-page main :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.offer-details {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.5rem clamp(32px, 5vw, 64px);
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 1rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--website-line);
}

.offer-section p { margin: 0; max-width: 70ch; color: var(--website-muted); }
.offer-section p + p { margin-top: .8rem; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; padding-bottom: 3rem; }
.offer-actions a:not(.button) { text-decoration: underline; text-underline-offset: .2em; }
.offer-boundary { max-width: 75ch; margin-top: 0; color: var(--website-muted); }

@media (max-width: 680px) {
  .offer-section { grid-template-columns: 1fr; }
  .offer-card { grid-template-rows: 5.5rem auto 1fr; }
  .offer-card img { max-width: 8rem; }
}
