/* Service buttons (Dec 2026).
   .svc-tiles  photo tiles on town pages ("What we do in [town]")
   .svc-cards  black numbered cards on the All Services page
   The booking page visit cards live in book.css. */

.svc-tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .svc-tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.svc-tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #111; color: #fff; text-decoration: none; isolation: isolate; -webkit-tap-highlight-color: transparent; }
@media (min-width: 1024px) { .svc-tile { aspect-ratio: 3 / 3.4; } }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 62%, rgba(0,0,0,.9) 100%); }
.svc-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 56px; background: #EB1B18; transition: width 400ms cubic-bezier(.2,.7,.2,1); }
.svc-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 72px 24px 20px; display: block; }
.svc-tile__title { font: 800 28px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; margin: 0 0 6px; color: #fff; }
.svc-tile__desc { display: block; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.85); }
.svc-tile__go { position: absolute; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform 300ms ease, background 300ms ease, color 300ms ease; }
.svc-tile:hover img, .svc-tile:focus-visible img { transform: scale(1.07); }
.svc-tile:hover::after, .svc-tile:focus-visible::after { width: 100%; }
.svc-tile:hover .svc-tile__go, .svc-tile:focus-visible .svc-tile__go { background: #EB1B18; color: #fff; transform: translateX(4px); }
.svc-tile:focus-visible { outline: 3px solid #EB1B18; outline-offset: 3px; }

.svc-cards { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: svccard; }
@media (min-width: 640px) { .svc-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .svc-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.svc-card { position: relative; display: flex; flex-direction: column; background: #0b0b0b; color: #fff; border-radius: 14px; padding: 24px 24px 22px; border: 2px solid #0b0b0b; overflow: hidden; counter-increment: svccard; text-decoration: none; transition: border-color 250ms ease, transform 250ms ease; }
.svc-card::before { content: counter(svccard, decimal-leading-zero); position: absolute; right: 18px; top: 8px; font: 800 64px/1 "Roboto Condensed", sans-serif; color: rgba(255,255,255,.07); }
.svc-card:hover, .svc-card:focus-visible { border-color: #EB1B18; transform: translateY(-3px); color: #fff; }
.svc-card:focus-visible { outline: 3px solid #EB1B18; outline-offset: 3px; }
.svc-card__icon { width: 50px; height: 50px; border-radius: 10px; background: #EB1B18; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__title { font: 800 26px/1.05 "Roboto Condensed", sans-serif; text-transform: uppercase; margin: 0 0 8px; color: #fff; padding-right: 52px; }
.svc-card__desc { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.5; margin: 0; padding-right: 52px; }
.svc-card__go { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 8px; background: #EB1B18; color: #fff; display: grid; place-items: center; }
.svc-card__go svg { transition: transform 250ms ease; }
.svc-card:hover .svc-card__go svg { transform: translateX(3px); }

/* Booking page, step 1: photo cards to pick a visit. Loaded only on /book/, after book.css. */
body.page-book .book__card.book__card--photo,
body.page-book .book__card.book__card--photo.is-selected,
body.page-book .book__card.book__card--photo:focus-within { padding: 0; gap: 0; overflow: hidden; background: #fff; border: 2px solid #e6e6e6; border-top: 2px solid #e6e6e6; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.08); }
body.page-book .book__card.book__card--photo.is-selected,
body.page-book .book__card.book__card--photo:focus-within { border-color: #EB1B18; border-top-color: #EB1B18; }
body.page-book .book__card.book__card--photo::after { display: none; }
body.page-book .book__card--photo .book__photo { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; }
body.page-book .book__card--photo .book__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.page-book .book__card--photo .book__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
body.page-book .book__card--photo .book__photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 30px; background: #EB1B18; clip-path: polygon(0 100%, 100% 0, 100% 22%, 0 122%); z-index: 1; }
body.page-book .book__card--photo .book__badge { position: absolute; left: 18px; bottom: 4px; z-index: 2; width: 58px; height: 58px; border-radius: 50%; background: #000; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font: 800 20px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; }
body.page-book .book__card--photo .book__card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 0; }
body.page-book .book__card--photo .book__card-body strong { padding-right: 0; }
body.page-book .book__card--photo .book__crew { color: #5a5a5a; }
body.page-book .book__card--photo .book__pick { margin: 16px 20px 20px; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; border: 2px solid #000; background: #fff; color: #000; font: 800 16px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em; transition: background 200ms, color 200ms, border-color 200ms; }
body.page-book .book__card--photo.is-selected .book__pick { background: #EB1B18; border-color: #EB1B18; color: #fff; }
body.page-book .book__card--photo.is-selected .book__pick::before { content: "\2713"; margin-right: 8px; }

/* All Services page (Dec 2026): jump bar, job groups, emergency band. */
@media (min-width: 1024px) { .svc-tiles--3 { grid-template-columns: repeat(3, 1fr); } .svc-tiles--3 .svc-tile { aspect-ratio: 4 / 3.6; } }
.svc-group .svc-tile__title { font-size: 24px; }
.svc-group__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.svc-group__head .section-title { margin: 4px 0 0; }
.svc-group__more { font: 800 15px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #EB1B18; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.svc-group__more:hover { border-bottom-color: #EB1B18; }
.svc-group { scroll-margin-top: 140px; }

.svc-jump { background: #0b0b0b; border-bottom: 4px solid #EB1B18; }
.svc-jump__inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.svc-jump__inner::-webkit-scrollbar { display: none; }
.svc-jump__link { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font: 800 14px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em; transition: background 200ms, border-color 200ms; }
.svc-jump__link:hover, .svc-jump__link:focus-visible { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.svc-jump__link--red { background: #EB1B18; border-color: #EB1B18; }
.svc-jump__link--red:hover { background: #c41512; border-color: #c41512; }

.svc-emergency { position: relative; isolation: isolate; overflow: hidden; background: #0b0b0b; color: #fff; padding: 56px 0; scroll-margin-top: 140px; }
.svc-emergency__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.svc-emergency::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,11,.96) 0%, rgba(11,11,11,.85) 55%, rgba(235,27,24,.55) 100%); }
.svc-emergency__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .svc-emergency__inner { grid-template-columns: 1.6fr 1fr; } }
.svc-emergency__label { display: inline-block; background: #EB1B18; color: #fff; font: 800 13px/1 "Roboto Condensed", sans-serif; letter-spacing: .08em; padding: 7px 10px; border-radius: 4px; }
.svc-emergency__title { font: 800 clamp(30px, 4vw, 44px)/1.05 "Roboto Condensed", sans-serif; text-transform: uppercase; margin: 14px 0 10px; color: #fff; }
.svc-emergency__desc { font-size: 17px; color: rgba(255,255,255,.85); margin: 0; }
.svc-emergency__ctas { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) { .svc-emergency__ctas { align-items: flex-end; } }
.svc-emergency__more { color: #fff; font: 800 15px/1 "Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 2px solid #EB1B18; padding-bottom: 4px; }
.svc-group.section { padding: 44px 0; }
/* Services page on phones: two tiles per row so the page stays short */
@media (max-width: 639px) {
  .svc-group .svc-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .svc-group .svc-tile { aspect-ratio: 1 / 1.15; border-radius: 12px; }
  .svc-group .svc-tile__body { padding: 12px 12px 16px; }
  .svc-group .svc-tile__title { font-size: 17px; line-height: 1.05; margin: 0; }
  .svc-group .svc-tile__desc, .svc-group .svc-tile__go { display: none; }
  .svc-group .svc-tile::after { height: 4px; width: 36px; }
  .svc-group__more { font-size: 13px; }
}
@media (max-width: 639px) {
  .svc-group .svc-tiles--3 .svc-tile:first-child { grid-column: span 2; aspect-ratio: 2 / 1.1; }
}
