/* Shared service pages and homepage service directory. Brand tokens come from en.css. */
.service-directory { padding-block: clamp(64px, 8vw, 112px); }
.directory-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 40px; }
.directory-heading p { max-width: 44ch; }
.directory-columns { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 48px; }
.directory-group h3 { margin-bottom: 22px; font-size: 22px; }
.directory-group nav { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.directory-group a { display: block; padding-block: 5px; font-size: 16px; text-decoration: none; text-wrap: pretty; }
.directory-group a:hover { color: var(--red-dark); text-decoration: underline; }
.directory-group a[aria-current="page"] { color: var(--red-dark); font-weight: 700; }
.directory-group small { display: block; font-size: 14px; color: var(--body); margin-top: 3px; line-height: 1.5; }
.home-annual { background: var(--grey); }
.home-annual .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 60px; }
.home-annual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-annual p { max-width: 44ch; margin-top: 22px; }
.home-annual .button { margin-top: 26px; }
.home-annual-links { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 22px; }
.home-annual-links a { font-size: 16px; }
.hero-period-copy a { color: inherit; }
.master-initials { display: grid; place-content: center; width: 180px; height: 225px; background: var(--grey); color: var(--red-dark); font-size: 42px; }
/* Preserve the homepage composition while keeping new entry points readable. */
body:not(.service-page) .brand-credentials { font-size: 13px; }
body:not(.service-page) .quote-box { border: 0; background: var(--grey); }
body:not(.service-page) .sg-method, body:not(.service-page) .full-price-list,
body:not(.service-page) .sg-aftercare, body:not(.service-page) .footer-bottom,
body:not(.service-page) .faq-list details { border: 0; }
body:not(.service-page) .faq-list details { padding-inline: 20px; }
body:not(.service-page) .faq-list details:nth-child(odd) { background: var(--grey); }

.service-page { --body: #202734; }
.service-page .utility span { font-size: 13px; }
.service-page .header-inner { min-height: 104px; }
.service-page .brand { flex-shrink: 1; }
.service-page #navigation { gap: 24px; }
.service-page #navigation > a { font-size: 14px; }
.breadcrumbs { padding-block: 18px; font-size: 14px; color: var(--body); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.service-shell { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.service-story { min-width: 0; }
.service-hero, .story-section { padding: clamp(36px, 4.2vw, 64px) max(28px, calc((100vw - 1200px) / 2)); padding-right: clamp(28px, 4.2vw, 64px); }
.service-hero { min-height: 550px; display: flex; flex-direction: column; align-items: start; justify-content: center; background: var(--red); color: var(--white); }
.service-hero h1 { font-size: clamp(40px, 3.7vw, 56px); max-width: 17ch; line-height: 1.08; }
.service-hero p { color: var(--white); font-size: 18px; line-height: 1.6; margin-top: 30px; max-width: 40ch; }
.service-hero .button { margin-top: 28px; }
.service-hero > .hero-service-link { margin-top: 22px; font-size: 16px; }
.story-section { padding-block: 56px; scroll-margin-top: 20px; }
.story-section:nth-child(odd) { background: var(--grey); }
.story-section h2 { font-size: clamp(28px, 2.5vw, 36px); margin-bottom: 24px; max-width: 22ch; }
.story-section h3 { font-size: 22px; margin-block: 28px 14px; }
.story-section p, .story-section li { font-size: 17px; line-height: 1.65; }
.story-section p { max-width: 48ch; }
.story-section ul, .story-section ol { margin-block: 20px; padding-left: 22px; }
.story-section li + li { margin-top: 12px; }
.story-section .text-link { display: inline-block; margin-top: 22px; font-size: 16px; }
.story-section .button { margin-top: 24px; }
.story-section .fine { font-size: 14px; }
.story-terms { padding: 24px; background: var(--white); margin-top: 24px; }
.story-section:nth-child(even) .story-terms { background: var(--grey); }
.story-section .story-terms h3 { margin-top: 0; }
.story-section dl { margin: 0; }
.story-section dt { font-size: 19px; font-weight: 700; margin-top: 24px; }
.story-section dd { margin: 8px 0 0; font-size: 17px; line-height: 1.65; }
.story-faq p + p { margin-top: 28px; }
.story-faq strong { display: block; margin-bottom: 8px; font-size: 18px; }
.story-section .table-scroll { margin-block: 24px 0; }
.story-section table { font-size: 16px; }
.story-section th, .story-section td { min-width: auto; padding: 14px 12px; }
.service-visual { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; margin: 0; background: var(--grey); }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s ease-out; }
.service-visual img:first-child, .service-visual img.is-current { opacity: 1; }
.service-visual.is-active img:first-child:not(.is-current) { opacity: 0; }
.service-visual figcaption { position: absolute; z-index: 1; bottom: 32px; inset-inline: 32px; padding: 18px 22px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.5; }
.service-visual figcaption span { display: block; font-size: 14px; margin-top: 4px; }
.service-enquiry { background: var(--grey); padding-block: 80px; }
.enquiry-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.enquiry-layout h2 { max-width: 16ch; }
.enquiry-layout p { margin-top: 22px; max-width: 46ch; font-size: 17px; }
.enquiry-form { padding: 32px; background: var(--white); }
.enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.enquiry-form label { font-size: 16px; }
.enquiry-form select { font-size: 16px; }
.enquiry-form .button { margin-top: 28px; }
.enquiry-form .fine { font-size: 14px; margin-top: 18px; }
.enquiry-form .enquiry-summary { font-size: 16px; color: var(--ink); }
.enquiry-contact { font-size: 16px; margin-top: 24px; }
.enquiry-contact a { display: inline-block; padding-block: 6px; }
.related-section { padding-block: 80px; }
.related-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 36px; }
.related-links { display: grid; gap: 32px; }
.related-links article { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.related-links a { text-decoration: none; }
.related-links a:hover { color: var(--red-dark); text-decoration: underline; }
.related-links h3 { font-size: 22px; line-height: 1.3; }
.related-links p { color: var(--body); font-size: 17px; line-height: 1.6; }
.service-page .service-directory { background: var(--grey); }
.service-page .footer { padding-block: 48px 30px; }
.service-page .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; margin-top: 28px; }
.service-page .footer-bottom { border: 0; padding-top: 0; margin-top: 36px; }
.service-page .footer nav a, .service-page .footer p, .service-page .footer address { font-size: 16px; color: #e0e2e6; }
.service-page .footer address { margin-top: 12px; }
.service-page .footer-brand { font-size: 24px; }
.service-page .footer-brand small { font-size: 14px; }
.service-page .brand small, .service-page .brand-credentials { font-size: 13px; }
.service-page .footer-identity img { width: 64px; height: 64px; object-fit: contain; background: var(--white); padding: 5px; }
.zodiac-control { background: var(--white); padding: 24px; margin-bottom: 28px; }
.zodiac-control label { font-size: 16px; }
.zodiac-control p { font-size: 16px; margin-top: 12px; }
.star-theme { margin-block: 28px; }
.star-theme h3 { margin-top: 0; }
.star-theme p { margin-top: 12px; }
.star-theme .star-signs { font-weight: 700; color: var(--red-dark); }

@keyframes service-arrive { from { transform: translateY(18px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }
.service-hero h1, .service-hero > p, .service-hero .button { animation: service-arrive .65s ease-out both; }
.service-hero > p { animation-delay: .06s; }
.service-hero .button { animation-delay: .12s; }
.service-revealed { animation: service-arrive .55s ease-out both; }
.service-page .button, .home-annual .button { transition: transform .2s ease-out, background .2s ease-out; }
.service-page .button:active, .home-annual .button:active { transform: translateY(2px); }
.service-page a:focus-visible, .service-page button:focus-visible, .service-page select:focus-visible { outline: 3px solid #17778b; outline-offset: 5px; }

@media (min-width: 768px) and (max-width: 1100px) {
  .service-page .header-inner { gap: 18px; }
  .service-hero, .story-section { padding-inline: 28px; }
  .service-hero h1 { font-size: 40px; }
  .service-hero { min-height: 580px; }
  .story-section h2 { font-size: 28px; }
  .directory-columns { gap: 28px; }
  .enquiry-layout { gap: 36px; }
  .enquiry-fields { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .directory-heading { display: block; }
  .directory-heading p { margin-top: 20px; }
  .directory-columns { grid-template-columns: 1fr; gap: 36px; }
  .directory-group h3 { margin-bottom: 16px; }
  .directory-group nav { gap: 8px; }
  .directory-group a { min-height: 44px; }
  .home-annual .container { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .home-annual-links { flex-direction: column; gap: 12px; }
  body:not(.service-page) .hero-copy > div > p:not(.hero-period-copy) { font-size: 18px; }
  .service-page .header-inner { min-height: 88px; }
  .service-page .brand strong { font-size: 18px; }
  .service-page .brand small { font-size: 13px; }
  .service-page .brand-credentials { font-size: 13px; }
  .service-page #navigation { gap: 0; }
  .service-page #navigation > a { font-size: 16px; min-height: 44px; }
  .breadcrumbs { padding-block: 14px; }
  .service-shell { display: flex; flex-direction: column; }
  .service-story { display: contents; }
  .service-hero { order: 0; width: 100%; min-height: 0; padding: 40px 20px; }
  .service-hero h1 { font-size: clamp(34px, 9.3vw, 42px); max-width: 18ch; }
  .service-hero p { margin-top: 24px; font-size: 18px; }
  .service-visual { order: 1; position: relative; width: 100%; height: 350px; min-height: 0; }
  .service-visual figcaption { bottom: 20px; inset-inline: 20px; padding: 14px 16px; font-size: 16px; }
  .service-visual img { object-position: center 40%; }
  .story-section { order: 2; width: 100%; padding: 40px 20px; }
  .story-section h2 { font-size: 28px; max-width: 24ch; }
  .story-section h3 { font-size: 22px; }
  .story-section p, .story-section li { font-size: 17px; }
  .service-enquiry, .related-section { padding-block: 56px; }
  .enquiry-layout { grid-template-columns: 1fr; gap: 28px; }
  .enquiry-layout h2 { max-width: 20ch; }
  .enquiry-form { padding: 24px 20px; }
  .enquiry-fields { grid-template-columns: 1fr; gap: 20px; }
  .enquiry-form .button { width: 100%; }
  .related-heading { align-items: start; flex-direction: column; gap: 16px; }
  .related-links { gap: 28px; }
  .related-links article { grid-template-columns: 1fr; gap: 12px; }
  .service-page .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-page .footer-identity { gap: 18px; }
  .service-page .footer-brand { font-size: 22px; }
  .service-page .footer-identity img { width: 52px; height: 52px; }
  .master-initials { width: min(66%, 240px); }
}
@media (prefers-reduced-motion: reduce) {
  .service-page *, .home-annual *, .service-directory * { animation: none !important; transition: none !important; }
  .service-visual img { opacity: 0 !important; }
  .service-visual img:first-child { opacity: 1 !important; }
}
