/* Section-specific layout. One block per file in template-parts/sections. */
/* Hero: centred copy over a full-bleed 3D model. */
.sav-hero { position: relative; min-height: min(100svh, 880px); display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 55%, var(--sav-hero-glow) 0%, var(--sav-hero-bg) 65%); color: #fff; text-align: center; padding-block: 120px 80px; }
.sav-hero__media { position: absolute; inset: 0; z-index: 0; }
.sav-hero__media .sav-3d { width: 100%; height: 100%; pointer-events: none; }
.sav-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sav-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.sav-hero__copy a { pointer-events: auto; }
.sav-hero__copy h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); margin: .25rem 0 1rem; max-width: 14ch; text-shadow: 0 4px 40px rgb(0 0 0 / 55%); }
.sav-hero__copy p { color: #d7dbd9; max-width: 46ch; margin: 0 0 1.75rem; text-shadow: 0 2px 20px rgb(0 0 0 / 60%); }
.sav-eyebrow { color: var(--sav-brand); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }

/* Page banner (inner pages) */
.sav-section--tight { padding-block: 0 var(--sav-section-y); }
.sav-section--dark { background: var(--sav-ink); color: #fff; }
.sav-section__head { margin-bottom: 2rem; text-align: center; }
.sav-section__head .sav-section__title { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }

/* Category tiles */
.sav-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sav-gap); }
.sav-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 1.25rem; border-radius: var(--sav-radius); color: #fff; text-decoration: none; overflow: hidden; background: linear-gradient(160deg, #26262e, var(--sav-ink)) center / cover; }
.sav-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 70%), transparent 60%); }
.sav-tile > * { position: relative; }
.sav-tile__name { font-size: 1.25rem; font-weight: 700; }
.sav-tile__count { font-size: .85rem; opacity: .75; }
.sav-tile:hover { transform: translateY(-3px); transition: transform .2s; }

/* Intro + icon columns */
.sav-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.sav-intro h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.sav-intro p:not(.sav-eyebrow) { color: #aeb2b8; margin: 0; max-width: 52ch; }
.sav-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.sav-col { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; text-decoration: none; border: 1px solid var(--sav-line); border-radius: 20px; background: var(--sav-paper); transition: transform .25s, border-color .25s, background .25s, box-shadow .25s; }
.sav-section--dark .sav-col { border-color: rgb(255 255 255 / 10%); background: linear-gradient(160deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%)); }
a.sav-col:hover { transform: translateY(-4px); border-color: var(--sav-brand); box-shadow: 0 18px 40px -22px rgb(0 0 0 / 55%); }
.sav-col__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 16px; color: var(--sav-brand); background: color-mix(in srgb, var(--sav-brand) 14%, transparent); transition: background .25s, color .25s; }
a.sav-col:hover .sav-col__icon { background: var(--sav-brand); color: #0b0b0f; }
.sav-col h3 { margin: .65rem 0 0; font-size: 1.2rem; }
.sav-col p { margin: 0; color: var(--sav-muted); }
.sav-section--dark .sav-col p { color: #aeb2b8; }
.sav-col__go { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-top: auto; border: 1px solid currentColor; border-radius: 50%; opacity: .55; transition: transform .25s, opacity .25s, background .25s, color .25s, border-color .25s; }
a.sav-col:hover .sav-col__go { opacity: 1; transform: translateX(4px); background: var(--sav-brand); border-color: var(--sav-brand); color: #0b0b0f; }

/* Brand strip */
.sav-strip { border-block: 1px solid var(--sav-line); padding-block: 2rem; background: var(--sav-mist); text-align: center; }
.sav-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; padding: 0; margin: 1rem 0 0; font-size: 1.4rem; font-weight: 700; color: #a3a6ad; }

/* Split */
.sav-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sav-split.is-flip .sav-split__media { order: 2; }
.sav-split__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sav-radius); background: var(--sav-ink); }
.sav-split__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .25rem 0 1rem; }
.sav-split__copy p:not(.sav-eyebrow) { color: var(--sav-muted); margin: 0 0 1.5rem; }
.sav-stats { display: flex; gap: 2.5rem; margin: 0 0 1.5rem; }
.sav-stats dt { font-weight: 600; }
.sav-stats dd { margin: 0; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }

/* CTA band */
.sav-cta { background: var(--sav-brand); color: #000; padding-block: 2.5rem; }
.sav-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sav-cta h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.sav-cta p { margin: .4rem 0 0; }
.sav-cta .sav-btn--ghost { color: #000; border-color: #000; }

/* News */

/* Contact */
.sav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sav-contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .25rem 0 1rem; }
.sav-contact__info > p:not(.sav-eyebrow) { color: var(--sav-muted); }
.sav-contact__list { list-style: none; padding: 0; display: grid; gap: .6rem; font-weight: 600; }
.sav-contact__list a { text-decoration: none; }

@media (max-width: 900px) {
	.sav-tiles { grid-template-columns: repeat(2, 1fr); }
	.sav-intro, .sav-split, .sav-contact { grid-template-columns: 1fr; }
	.sav-split.is-flip .sav-split__media { order: 0; }
	.sav-col { padding: 1.4rem; }
}

/* Price list */
.sav-pricelist table { width: 100%; border-collapse: collapse; background: var(--sav-bg, #fff); }
.sav-pricelist th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sav-muted, #666); padding: .75rem 1rem; }
.sav-pricelist td { padding: .85rem 1rem; border-top: 1px solid var(--sav-line); }
.sav-pricelist td a:not(.sav-btn) { font-weight: 600; text-decoration: none; }
.sav-pricelist__price { font-weight: 700; white-space: nowrap; }
.sav-pricelist__note { margin-top: 1.5rem; color: var(--sav-muted, #666); max-width: 60ch; }
@media (max-width: 600px) { .sav-pricelist th:nth-child(4), .sav-pricelist td:nth-child(4) { display: none; } }

/* Page hero: breadcrumb, title, fact chips; product image on the right when there is one. */
.sav-pagehero { position: relative; overflow: hidden; color: #fff; background: var(--sav-ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
/* Accent: two brand-orange rings bleeding off the right edge. Pure CSS, decorative. */
.sav-pagehero::before, .sav-pagehero::after { content: ""; position: absolute; top: 50%; border-radius: 50%; pointer-events: none; translate: 0 -50%; }
.sav-pagehero::before { width: clamp(320px, 38vw, 560px); aspect-ratio: 1; right: clamp(-280px, -14vw, -120px); border: 2px solid rgb(253 169 1 / 55%); }
.sav-pagehero::after { width: clamp(220px, 26vw, 380px); aspect-ratio: 1; right: clamp(-190px, -9vw, -70px); background: radial-gradient(circle at 30% 50%, rgb(253 169 1 / 22%), rgb(253 169 1 / 0) 70%); border: 1px solid rgb(253 169 1 / 30%); }
.sav-pagehero__row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 2rem; }
.sav-pagehero.has-facts .sav-pagehero__row { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); }
.sav-pagehero h1 { margin: 0; font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.045em; line-height: 1; }
.sav-pagehero__text { color: #c9ccd1; max-width: 52ch; margin: 1.1rem 0 0; font-size: 1.05rem; }
.sav-crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; color: #8d9098; }
.sav-crumbs li + li::before { content: "/"; margin-right: .5rem; color: #4a4c52; }
.sav-crumbs a { color: #c9ccd1; text-decoration: none; }
.sav-crumbs a:hover { color: var(--sav-brand); }
.sav-crumbs [aria-current] { color: var(--sav-brand); }
.sav-pagehero__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.sav-pagehero__chips li { padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; color: #c9ccd1; border: 1px solid rgb(255 255 255 / 14%); }
.sav-pagehero__chips li:first-child { color: #fff; font-weight: 600; }
.sav-pagehero__facts { margin: 0; display: grid; }
.sav-pagehero__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-block: .9rem; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.sav-pagehero__facts > div:last-child { border-bottom: 0; }
.sav-pagehero__facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #8d9098; }
.sav-pagehero__facts dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.sav-pagehero__facts > div:first-child dd { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; color: var(--sav-brand); }
@media (max-width: 800px) {
	.sav-pagehero__row { grid-template-columns: 1fr; min-height: 0; }
	.sav-pagehero.has-facts .sav-pagehero__row { grid-template-columns: 1fr; }
	.sav-pagehero::before { width: 260px; right: -190px; }
	.sav-pagehero::after { width: 180px; right: -130px; }
}

/* Payments: provider logos in a clean grid, monochrome, colour-neutral. */
.sav-payments__head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sav-payments__head h2 { margin: .4rem 0 .75rem; font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -.035em; }
.sav-payments__head p:last-child { color: var(--sav-muted); margin: 0; }
.sav-payments__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sav-gap); list-style: none; margin: 0; padding: 0; }
.sav-payments__card { display: grid; justify-items: center; align-content: center; gap: 1rem; padding: 2rem 1rem; border: 1px solid var(--sav-line); border-radius: var(--sav-radius); background: var(--sav-paper); text-align: center; transition: border-color .2s; }
.sav-payments__card:hover { border-color: var(--sav-ink); }
.sav-payments__logo { display: grid; place-items: center; height: 40px; }
.sav-payments__logo img { height: 28px; width: auto; max-width: 160px; filter: brightness(0); opacity: .85; }
.sav-payments__logo .sav-paylogo--happypay { height: 40px; }
.sav-payments__logo .sav-paylogo--fevertree { height: 40px; }
.sav-payments__term { font-size: .9rem; color: var(--sav-muted); }
@media (max-width: 900px) { .sav-payments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.sav-payments__card { padding: 1.5rem .75rem; }
	.sav-payments__logo img { height: 20px; max-width: 100%; object-fit: contain; }
	.sav-payments__logo .sav-paylogo--happypay, .sav-payments__logo .sav-paylogo--fevertree { height: 30px; }
}

/* Scroll 3D: sticky phone on the right, steps scroll past on the left. JS: assets/js/scroll-3d.js */
.sav-scroll3d { position: relative; background: var(--sav-mist); }
.sav-scroll3d__stage { position: sticky; top: 0; height: 100svh; padding: 80px 0 2rem 42%; box-sizing: border-box; overflow: hidden; }
.sav-scroll3d__stage .sav-3d { width: 100%; height: 100%; pointer-events: none; }
.sav-scroll3d__dots { position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: 50%; translate: 0 -50%; display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.sav-scroll3d__dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--sav-line); transition: background .3s, scale .3s; }
.sav-scroll3d__dots li.is-active { background: var(--sav-brand); scale: 1.4; }
.sav-scroll3d__steps { position: relative; margin-top: -100svh; pointer-events: none; }
.sav-scroll3d__head { padding-top: var(--sav-section-y); max-width: 40%; }
.sav-scroll3d__head h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; margin: .3rem 0 0; }
.sav-scroll3d__step { min-height: 90svh; max-width: min(40%, 30rem); display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .4s; }
.sav-scroll3d__step:last-child { min-height: 100svh; }
.sav-scroll3d__step.is-active { opacity: 1; }
.sav-scroll3d__num { font-weight: 700; color: var(--sav-brand); letter-spacing: .1em; font-size: .85rem; }
.sav-scroll3d__step h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; margin: .6rem 0 .8rem; }
.sav-scroll3d__step p { color: var(--sav-muted); font-size: 1.1rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
	.sav-scroll3d__stage { padding: 72px 0 0; }
	.sav-scroll3d__stage .sav-3d { height: 56%; }
	.sav-scroll3d__dots { right: 1rem; }
	.sav-scroll3d__head { max-width: none; padding-top: 2rem; }
	.sav-scroll3d__step { display: block; max-width: none; min-height: 90svh; }
	/* Text pins to the bottom of the screen, under the phone, while its step scrolls past. */
	.sav-scroll3d__body { position: sticky; top: calc(100svh - 13.5rem); padding-top: 1rem; }
	.sav-scroll3d__step h3 { margin-top: .4rem; }
	.sav-scroll3d__step.is-active { opacity: 1; }
	.sav-scroll3d__step:not(.is-active) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sav-scroll3d__step, .sav-scroll3d__dots li { transition: none; } }
.sav-lsd { width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.sav-lsd.is-ready { opacity: 1; }
.sav-lsd canvas { display: block; width: 100%; height: 100%; }
