/* Two-column glass cards; native, keyboard-accessible gallery disclosures. */
.service-accordions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.service-accordion {
  min-width: 0;
  border: 1px solid #dce0e6;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffffff0, #f8f9fbb8);
  box-shadow: 0 4px 18px #20273504, inset 0 1px 0 #fff;
  transition: transform .75s var(--ease), border-color .75s var(--ease), box-shadow .75s var(--ease);
}
.service-accordion summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-areas: 'number count count' 'copy cover arrow';
  grid-template-columns: minmax(0, 1fr) 104px 38px;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 20px 16px;
  min-height: 192px;
  padding: 24px;
  border-radius: 21px;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.service-accordion summary::-webkit-details-marker { display: none; }
.service-accordion summary::marker { content: ''; }
.service-accordion summary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at 12% 0%, #ffffff2b, transparent 62%), linear-gradient(140deg, #bc4656f5, #981420ed 58%, #771521f2);
  box-shadow: inset 0 1px 0 #ffffff65;
  transform: translateX(-102%);
  transition: transform .85s var(--ease);
}
.service-ordinal { grid-area: number; font-family: Arial, sans-serif; font-size: .75rem; font-variant-numeric: tabular-nums; color: #965360; }
.service-summary-copy { grid-area: copy; display: grid; gap: 9px; min-width: 0; align-self: center; }
.service-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.service-description { font-size: .875rem; line-height: 1.55; color: var(--muted); }
.service-preview-count { grid-area: count; justify-self: end; padding: 4px 9px; border: 1px solid #98142015; border-radius: 99px; font-size: .6875rem; line-height: 1.4; color: #79656b; background: #ffffff70; }
.service-cover { grid-area: cover; display: block; width: 104px; height: 104px; overflow: hidden; border: 1px solid #ffffffb3; border-radius: 17px; box-shadow: 0 6px 16px #1c243018; transform: rotate(3deg); transition: transform .85s var(--ease), box-shadow .85s var(--ease); }
.service-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease); }
.service-chevron { grid-area: arrow; display: grid; place-items: center; width: 38px; height: 38px; background: #ffffffb3; border: 1px solid #98142020; border-radius: 50%; color: var(--red); transition: background .75s var(--ease), transform .75s var(--ease), color .75s var(--ease), border-color .75s var(--ease); }
.service-chevron svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-ordinal, .service-name, .service-description, .service-preview-count { transition: color .75s var(--ease), background .75s var(--ease), border-color .75s var(--ease); }
.service-accordion[open] { border-color: #98142045; box-shadow: 0 12px 32px #9814200b, inset 0 1px 0 #fff; }
.service-accordion[open] .service-chevron { transform: rotate(180deg); background: #9814200c; }
.service-accordion[open] summary { border-radius: 21px 21px 0 0; }
.service-accordion summary:focus-visible { outline: 3px solid #981420; outline-offset: 4px; }
.service-accordion summary:focus-visible::before { transform: translateX(0); }
.service-accordion summary:focus-visible .service-name,
.service-accordion summary:focus-visible .service-ordinal,
.service-accordion summary:focus-visible .service-description { color: #fff; }
.service-accordion summary:focus-visible .service-preview-count { color: #fff; background: #ffffff15; border-color: #ffffff40; }
.service-accordion summary:focus-visible .service-chevron { color: #fff; background: #ffffff18; border-color: #ffffff50; }
.service-panel { padding: 0 24px 24px; }
.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 20px; border-top: 1px solid #98142014; }
.service-gallery figure { min-width: 0; margin: 0; }
.service-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: #e8e9eb; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.service-gallery figcaption { padding: 9px 1px 0; font-size: .75rem; line-height: 1.5; color: #53575e; overflow-wrap: anywhere; }
.service-panel-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 20px; }
.service-panel-footer p { flex: 1 1 140px; font-size: .6875rem; color: #757b84; line-height: 1.6; }
.service-enquiry { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid #98142030; border-radius: 99px; color: var(--red); font-size: .8125rem; font-weight: 600; line-height: 1.4; text-align: center; transition: background .65s var(--ease), border-color .65s var(--ease); }
.service-enquiry:hover { background: #98142009; border-color: #98142060; }
.service-accordion[open] .service-panel { animation: service-reveal .65s var(--ease) both; }
@keyframes service-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .service-accordion:has(> summary:hover) { transform: translateY(-4px); border-color: #98142045; box-shadow: 0 16px 34px #98142018, inset 0 1px 0 #fff; }
  .service-accordion summary:hover::before { transform: translateX(0); }
  .service-accordion summary:hover .service-name,
  .service-accordion summary:hover .service-ordinal,
  .service-accordion summary:hover .service-description { color: #fff; }
  .service-accordion summary:hover .service-preview-count { color: #fff; background: #ffffff15; border-color: #ffffff40; }
  .service-accordion summary:hover .service-chevron { color: #fff; background: #ffffff18; border-color: #ffffff50; }
  .service-accordion summary:hover .service-cover { transform: rotate(0) translateY(-2px); box-shadow: 0 10px 24px #39050d30; }
  .service-accordion summary:hover .service-cover img { transform: scale(1.06); }
  .service-gallery img:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px #98142016; }
}
@supports (interpolate-size: allow-keywords) {
  .service-accordion { interpolate-size: allow-keywords; }
  .service-accordion::details-content { block-size: 0; overflow: hidden; transition: block-size .65s var(--ease), content-visibility .65s allow-discrete; }
  .service-accordion[open]::details-content { block-size: auto; }
}
@media (max-width: 1100px) {
  .service-accordion summary { grid-template-columns: minmax(0, 1fr) 82px 34px; gap: 17px 12px; padding: 21px; }
  .service-cover { width: 82px; height: 96px; border-radius: 14px; }
  .service-chevron { width: 34px; height: 34px; }
  .service-name { font-size: 1.2rem; }
  .service-panel { padding: 0 21px 21px; }
}
@media (max-width: 900px) { .service-accordions { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) {
  .service-accordion { border-radius: 18px; }
  .service-accordion summary { min-height: 176px; padding: 19px; border-radius: 17px; grid-template-columns: minmax(0, 1fr) 72px 32px; gap: 16px 10px; }
  .service-accordion[open] summary { border-radius: 17px 17px 0 0; }
  .service-name { font-size: 1.125rem; }
  .service-description { font-size: .8125rem; line-height: 1.5; }
  .service-cover { width: 72px; height: 88px; border-radius: 12px; }
  .service-chevron { width: 32px; height: 32px; }
  .service-panel { padding: 0 19px 20px; }
  .service-gallery { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .service-gallery figcaption { font-size: .875rem; }
  .service-panel-footer { align-items: flex-start; flex-direction: column; }
  .service-panel-footer p { flex: none; font-size: .75rem; }
}
@media (max-width: 380px) {
  .service-accordion summary { grid-template-areas: 'number count' 'copy arrow'; grid-template-columns: minmax(0, 1fr) 32px; min-height: 156px; }
  .service-cover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-accordion, .service-accordion summary::before, .service-ordinal, .service-name, .service-description, .service-preview-count, .service-cover, .service-cover img, .service-chevron, .service-gallery img, .service-enquiry, .service-accordion::details-content { transition: none; }
  .service-accordion[open] .service-panel { animation: none; }
  .service-accordion:has(> summary:hover), .service-accordion summary:hover .service-cover, .service-accordion summary:hover .service-cover img, .service-gallery img:hover { transform: none; }
}
@media (forced-colors: active) {
  .service-accordion, .service-chevron, .service-preview-count, .service-enquiry { border-color: ButtonText; box-shadow: none; }
  .service-accordion summary::before { display: none; }
  .service-accordion summary .service-name, .service-accordion summary .service-description, .service-accordion summary .service-ordinal, .service-accordion summary .service-preview-count, .service-gallery figcaption, .service-panel-footer p { color: CanvasText; }
  .service-accordion summary .service-chevron { color: ButtonText; }
  .service-cover img, .service-gallery img { forced-color-adjust: none; }
}
