/* Services visual language: navy, cyan/violet light and the school’s own Corolla.
   Essential content is always visible; area pricing is progressively enhanced. */
.services-open {
  --sp-ink: #f4f8ff;
  --sp-muted: #b5c4dd;
  --sp-blue: #65e2ff;
  --sp-line: #27395a;
  --r-text-muted: #b5bec8;
  background: radial-gradient(ellipse 1000px 700px at 100% 0, #123562 0%, transparent 72%),
              radial-gradient(ellipse 700px 1200px at 0 38%, #231348 0%, transparent 78%),
              radial-gradient(ellipse 900px 850px at 95% 80%, #082a48 0%, transparent 76%), #050a14;
}
.services-open #services-pricing { padding: 64px 28px 12px; max-width: 1232px; margin: 0 auto; }
.services-open .sp-header { text-align: left; margin: 0 0 36px; max-width: none; }
.services-open .sp-pill { padding: 0; border: 0; background: none; margin-bottom: 18px; color: var(--sp-blue); letter-spacing: .17em; font-size: .75rem; }
.services-open .sp-pill::before { content: none; }
.services-open .sp-main-title { font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 960px; font-weight: 750; letter-spacing: -.045em; line-height: 1.06; margin-bottom: 22px; text-wrap: balance; }
.services-open .sp-title-accent { color: var(--sp-blue); background: linear-gradient(100deg, #36ddff, #579aff 65%, #b48cff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.services-open .sp-sub-title { font-size: 1.05rem; padding: 0; color: var(--sp-muted); }
.services-open .sp-zone-label { font-size: .95rem; color: var(--sp-blue); margin: 12px 0 0; }

/* Pickup selection is a prominent, self-contained part of the booking decision. */
.services-open .sp-area-control {
  position: relative; isolation: isolate;
  border: 1px solid transparent; border-radius: 22px; padding: 24px 26px;
  background: linear-gradient(112deg, #10354b, #152e57 55%, #2a2050) padding-box,
              linear-gradient(110deg, #54d7ed, #477cce 50%, #a875e8) border-box;
  box-shadow: 0 14px 38px #02061045, inset 0 1px 0 #b2eeff12;
}
.services-open .sp-area-control > * { position: relative; z-index: 1; }
.services-open .sp-area-control::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 280px; height: 160px;
  transform: translateY(-50%); pointer-events: none; z-index: 0;
  background: url('/assets/images/services/pickup-route.svg') center / contain no-repeat;
}
.services-open .sp-area-label {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 16px; color: var(--sp-ink); font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.015em;
}
.services-open .sp-area-label::before {
  content: ''; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px;
  border: 1px solid #70e0ff66; box-shadow: 0 3px 14px #09bded28;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6f0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 10c0 5-7 10-7 10S5 15 5 10a7 7 0 0 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / 23px no-repeat,
              linear-gradient(140deg, #168dbb, #365a9c);
}
.services-open .sp-zone-bar {
  margin: 0; max-width: 710px; border-radius: 14px; padding: 5px;
  background: #07172cbd; border-color: #709cbd45;
  box-shadow: inset 0 2px 6px #02071740;
}
.services-open .sp-zone-btn {
  min-height: 46px; border-radius: 10px; font-size: .9rem; padding: 11px 16px;
  color: #ccdbf0; white-space: normal;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.services-open .sp-zone-btn:hover:not(.active) { color: #fff; background: #4777a72b; }
.services-open .sp-zone-btn.active {
  color: #041927; background: linear-gradient(110deg, #56e3f5, #4cbaff);
  box-shadow: 0 3px 14px #0fb4f735, inset 0 1px 0 #d8fcff90;
}
.services-open .sp-zone-btn.active[data-zone="extended"] {
  background: linear-gradient(110deg, #f0d28f, #e7b96f);
  box-shadow: 0 3px 14px #d7a75a28, inset 0 1px 0 #fff2c990;
}
.services-open .sp-zone-btn.active[data-zone="abbotsford"] {
  background: linear-gradient(110deg, #d6c7ff, #b9a7ef);
  box-shadow: 0 3px 14px #a681eb35, inset 0 1px 0 #eee7ff90;
}
.services-open .sp-area-details { margin-top: 12px; }
.services-open .sp-area-details summary {
  cursor: pointer; color: #d2e2f5; font-size: .875rem;
  width: fit-content; min-height: 36px; padding: 5px 0;
}
.services-open .sp-area-details summary::marker { color: #71dfff; }
.services-open .sp-area-details summary:hover { color: #fff; }
.services-open .sp-zone-areas { justify-content: flex-start; margin: 10px 0 8px; max-width: 860px; }
.services-open .sp-area-chip { font-size: .8rem; cursor: default; }
.services-open .sp-zone-info {
  margin: 6px 0 0; text-align: left; max-width: 840px; font-size: .9rem;
  padding: 0; color: #c5d9ec; background: transparent; border: 0;
}
.services-open .sp-zone-info strong { color: #a3f0ff; }
@media (max-width: 1119px) { .services-open .sp-area-control::after { display: none; } }

.services-open .sp-jump-nav { margin: 22px 0 46px; display: flex; align-items: baseline; gap: 10px 24px; flex-wrap: wrap; }
.services-open .sp-jump-label { color: var(--sp-muted); font-size: .8rem; }
.services-open .sp-jump-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.services-open .sp-jump-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #dde6ed; font-size: .875rem; text-decoration: underline; text-decoration-color: #4d5c66; text-underline-offset: 6px; }
.services-open .sp-jump-links a:hover, .services-open .sp-jump-links a span { color: var(--sp-blue); }

.services-open .sp-panel { display: block; margin: 0 0 58px; scroll-margin-top: 110px; }
.services-open .sp-section-heading { display: flex; align-items: flex-start; gap: 18px; border-top: 1px solid var(--sp-line); padding-top: 26px; margin-bottom: 52px; }
.services-open .sp-section-number { color: #8c9daa; font-size: .8rem; padding-top: 8px; font-variant-numeric: tabular-nums; }
.services-open .sp-section-heading h2 { margin: 0 0 7px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 650; letter-spacing: -.035em; color: var(--sp-ink); line-height: 1.15; }
.services-open .sp-section-heading p { margin: 0; font-size: .95rem; color: var(--sp-muted); line-height: 1.5; }
.services-open .sp-grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.services-open #sp-testprep .sp-grid, .services-open #sp-specialty .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Layer position and motion separately so hover never loses centering/rotation. */
.services-open .sp-card {
  --sp-glow: #187cff;
  --sp-edge: #55ddff;
  --sp-card-surface: radial-gradient(ellipse at 95% 0, #1e4277 0, transparent 61%), linear-gradient(145deg, #141d39, #0c1527 80%);
  padding: 26px;
  border: 1px solid #344c77;
  border-radius: 24px;
  background: var(--sp-card-surface);
  display: flex;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
  min-width: 0;
  box-shadow: inset 0 1px 0 #91cfff16, 0 16px 40px #00000033;
  transition: border-color 180ms ease;
}
.services-open .sp-card::before, .services-open .sp-card.featured::before {
  content: ''; position: absolute; inset: 0; width: auto; height: auto; border-radius: inherit;
  background: radial-gradient(ellipse at 78% 5%, #187cff38, transparent 58%), radial-gradient(ellipse at 10% 100%, #9b51e02a, transparent 65%);
  box-shadow: inset 0 0 0 1px #99e5ff30; opacity: 0; z-index: -1; pointer-events: none; transition: opacity .25s ease;
}
.services-open .sp-card.featured {
  --sp-card-surface: radial-gradient(ellipse at 92% 0, #135799 0, transparent 62%), linear-gradient(145deg, #13385b, #141e40 80%);
  border-color: #3c86bf;
}
.services-open [data-service="mastery120"], .services-open [data-service="class5sim"] {
  --sp-glow: #9b51e0; --sp-edge: #b98cff;
  --sp-card-surface: radial-gradient(ellipse at 95% 0, #4a2874 0, transparent 66%), linear-gradient(145deg, #211c42, #111729 80%);
  border-color: #5c4687;
}
.services-open .sp-card.card-winter { --sp-card-surface: radial-gradient(ellipse at 85% 0, #145b83, transparent 66%), linear-gradient(145deg, #142c51, #0c1c33); }
.services-open .sp-card:hover { transform: none; background: var(--sp-card-surface); }
.services-open .sp-card-art { position: relative; display: block; flex: 0 0 155px; height: 155px; margin: -26px -26px 24px; pointer-events: none; user-select: none; }
.services-open .sp-card-art::before { content: ''; position: absolute; inset: 0; border-radius: 24px; background: radial-gradient(ellipse at 65% 35%, var(--sp-glow), transparent 68%); opacity: .12; transition: opacity .25s ease; }
.services-open .sp-art-object { display: block; position: absolute; width: calc(100% - 24px); height: 180px; right: 12px; top: -24px; }
.services-open .sp-art-motion { display: block; width: 100%; height: 100%; transform-origin: 55% 60%; }
.services-open .sp-card-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 12px #00000055); }
.services-open .sp-card-art svg { display: block; position: absolute; width: 100%; height: 100%; inset: 0; overflow: visible; opacity: .75; transition: opacity .25s ease; }
.services-open .sp-number-object { width: 240px; height: 154px; top: -25px; right: 21px; transform: rotate(-8deg); }
.services-open .sp-art-number { display: block; font-size: 8rem; line-height: 1.1; text-align: right; font-weight: 850; letter-spacing: -.09em; color: #b7ddff; text-shadow: 1px 2px #5798d2, 2px 4px #3966af, 3px 6px #413e8f, 4px 8px #362868, 0 20px 24px #00000077; }
.services-open .sp-art-mastery .sp-art-route { top: 16px; opacity: .62; }
.services-open .sp-license-object { width: 158px; height: 148px; top: -25px; right: 42px; transform: rotate(9deg); }
.services-open .sp-license-plate { width: 100%; height: 100%; border: 1px solid #ccf3ff; border-radius: 18px; background: linear-gradient(135deg, #f2fcff, #8ad3ef); color: #15325a; box-shadow: 2px 3px #6592cb, 4px 6px #30517e, 0 20px 24px #00000055; display: flex; align-items: center; justify-content: center; font-size: 6rem; font-weight: 800; line-height: 1; position: relative; }
.services-open .sp-license-plate::after { content: ''; position: absolute; width: 32px; height: 8px; border: 1px solid #57739a; border-radius: 4px; top: 12px; left: 12px; }
.services-open [data-service="class5sim"] .sp-license-object { transform: rotate(-9deg); }
.services-open [data-service="class5sim"] .sp-license-plate { background: linear-gradient(135deg, #eef2ff, #9d9fea); border-color: #d4ccff; }
.services-open .sp-art-check { transform: rotate(-7deg); }
.services-open .sp-snow-object { width: 220px; height: 220px; top: -47px; right: 24px; transform: rotate(12deg); }
.services-open .sp-art-snowflake::after { content: ''; position: absolute; width: 150px; height: 150px; top: 0; right: 68px; border: 1px solid #78deff25; border-radius: 50%; z-index: -1; }
.services-open .sp-card-intro { min-width: 0; }

.services-open .sp-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; margin: 0 0 9px; color: var(--sp-ink); }
.services-open .sp-duration { margin: 0 0 17px; font-size: .825rem; font-weight: 600; color: var(--sp-blue); }
.services-open .sp-card p { font-size: .95rem; line-height: 1.65; margin: 0 0 24px; color: #c0cee2; flex-grow: 1; }
.services-open .sp-card-head { display: block; margin: auto 0 20px; padding-top: 18px; border-top: 1px solid #b4d0df26; }
.services-open .sp-icon, .services-open .sp-price-note { display: none; }
.services-open .sp-price-block { text-align: left; }
.services-open .sp-price { font-size: 2.2rem; line-height: 1.15; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--sp-ink); }
.services-open .sp-price-gst { display: inline-block; margin: 0 0 0 8px; font-size: .75rem; letter-spacing: .02em; line-height: 1.4; color: var(--sp-muted); }
.services-open .sp-cta-group { display: flex; flex-direction: column; gap: 8px; margin-top: 0; }
.services-open .sp-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 16px; font-size: .875rem; font-weight: 700; letter-spacing: 0; text-transform: none; border-radius: 10px; border-color: #438adb; background: linear-gradient(110deg, #103252, #202653); color: #edfaff; box-shadow: none; }
.services-open .sp-btn::after { content: '↗'; font-size: 1.2rem; font-weight: 400; line-height: 1; }
.services-open .sp-card.featured .sp-btn { background: linear-gradient(105deg, #00d4ff, #38b7ff); color: #041125; border-color: #46dfff; }
.services-open .sp-btn:hover { background: #9beaff; border-color: #9beaff; color: #041125; box-shadow: 0 0 22px #00d4ff30; }
.services-open .sp-card.featured .sp-btn:hover { background: #d4efff; border-color: #d4efff; }
.services-open .sp-details-link { font-size: .8rem; font-weight: 550; min-height: 36px; color: #becdd7; }
.services-open .sp-unavailable-msg { font-size: .875rem; line-height: 1.5; margin-top: 12px; color: #efd0a3; text-align: left; }
.services-open .sp-unavailable-msg:empty { display: none; }
.services-open .sp-card.unavailable { opacity: 1; }
.services-open .sp-card.unavailable .sp-card-art { opacity: .5; }
.services-open .sp-card.unavailable .sp-price { opacity: .65; }
.services-open .sp-card.unavailable .sp-price-gst { display: none; }
.services-open a[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Complete photographic scenes share one perspective and contact lighting.
   No separately clipped automobile or decorative road overlays. */
.services-open .sp-art-scene { height: 178px; flex-basis: 178px; }
.services-open .sp-scene-object { top: 0; right: 0; width: 100%; height: 197px; }
.services-open .sp-art-scene .sp-art-motion { overflow: hidden; border-radius: 24px 24px 0 0; }
.services-open .sp-art-scene img { object-fit: cover; object-position: center; filter: none; mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); }
.services-open .sp-art-parking img { object-position: center 40%; }
.services-open .sp-art-defensive { height: 224px; flex-basis: 224px; }
.services-open .sp-art-defensive .sp-scene-object { height: 236px; }

/* Packages share the material palette; the lesson count is the graphic. */
.services-open .sp-currency-note { max-width: 1232px; margin: 0 auto 12px; padding: 0 28px; color: var(--sp-muted); font-size: .875rem; }
.services-open #row-packages-v2 { --rpv1-muted: #b5bec8; --rpv1-cyan: #65e2ff; --rpv1-amber: #65e2ff; --rpv1-amber-dim: #65e2ff0d; max-width: 1232px; padding: 32px 28px 80px; margin: 0 auto; scroll-margin-top: 110px; }
.services-open #row-packages-v2 .rpv2-header { text-align: left; margin-bottom: 26px; border-top: 1px solid var(--sp-line); padding-top: 28px; }
.services-open #row-packages-v2 .rpv2-title { display: block; text-wrap: balance; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 650; letter-spacing: -.035em; }
.services-open #row-packages-v2 .rpv2-star { display: none; }
.services-open #row-packages-v2 .rpv2-tagline { font-size: 1rem; line-height: 1.65; max-width: 930px; }
.services-open #row-packages-v2 .rpv2-note { margin-top: 16px; max-width: 1000px; font-size: .825rem; line-height: 1.65; font-style: normal; }
.services-open #row-packages-v2 .rpv2-grid { gap: 28px; max-width: none; align-items: stretch; }
.services-open #row-packages-v2 .rpv2-selectors { justify-content: flex-start; gap: 24px; max-width: 710px; margin: 0 0 32px; }
.services-open #row-packages-v2 .rpv2-selector-group { min-width: 0; text-align: left; }
.services-open #row-packages-v2 .rpv2-label { font-size: .9rem; text-align: left; }
.services-open #row-packages-v2 .rpv2-toggle { display: flex; width: 100%; gap: 4px; padding: 4px; border-radius: 12px; flex-wrap: wrap; background: #0d182c; border-color: var(--sp-line); }
.services-open #row-packages-v2 .rpv2-tbtn { color: var(--sp-muted); min-height: 44px; font-size: .825rem; border-radius: 8px; white-space: normal; }
.services-open #row-packages-v2 .rpv2-tbtn.active { color: #101b23; background: var(--sp-blue); box-shadow: none; }
.services-open #row-packages-v2 .rpv2-tbtn.active[data-area="extended"] { background: #e2ba78; }
.services-open #row-packages-v2 .rpv2-tbtn.active[data-area="abbotsford"] { background: #c3b4e8; }
.services-open #row-packages-v2 .rpv2-tbtn:disabled { opacity: .45; cursor: not-allowed; }
.services-open #row-packages-v2 .rpv2-card { padding: 26px; gap: 14px; border-radius: 24px; background: radial-gradient(ellipse at 90% 0, #22396b, transparent 64%), linear-gradient(145deg, #141c37, #0d1528 75%); border-color: #374976; isolation: isolate; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 14px 36px #0000001f; transition: border-color 180ms ease; }
.services-open #row-packages-v2 .rpv2-card--featured { background: radial-gradient(ellipse at 90% 0, #16477d, transparent 70%), linear-gradient(145deg, #142e55, #171c3d 75%); border-color: #427cc0; transform: none; }
.services-open #row-packages-v2 .rpv2-card:hover { transform: none; }
.services-open #row-packages-v2 .rpv2-art { position: relative; display: block; height: 120px; margin: -8px 0 4px; pointer-events: none; }
.services-open #row-packages-v2 .rpv2-count { position: relative; display: inline-block; font-size: 6.4rem; line-height: 1; color: #b7ddff; letter-spacing: -.075em; font-weight: 850; transform: rotate(-7deg); transform-origin: 50% 60%; text-shadow: 1px 2px #5d9bd4, 2px 4px #3b66af, 3px 6px #413e8f, 4px 8px #362868, 0 16px 20px #00000066; z-index: 1; }
.services-open #row-packages-v2 .rpv2-art-line { position: absolute; width: 100%; max-width: 230px; height: 76px; bottom: 12px; right: 0; border: 1px solid #6399ff40; border-radius: 50%; transform: rotate(-12deg); }
.services-open #row-packages-v2 .rpv2-art-line::after { content: ''; position: absolute; inset: 12px -10px -12px 10px; border: 1px solid #ab63ff30; border-radius: inherit; }
.services-open #row-packages-v2 .rpv2-card[data-tier="15"] { background: radial-gradient(ellipse at 85% 0, #49316d, transparent 65%), linear-gradient(145deg, #211d3c, #111729); border-color: #614885; }
.services-open #row-packages-v2 .rpv2-badge { animation: none; background: linear-gradient(105deg, #00d4ff, #38b7ff); color: #041125; border-color: #46dfff; box-shadow: none; font-size: .65rem; letter-spacing: .09em; max-width: calc(100% - 28px); white-space: normal; text-align: center; }
.services-open #row-packages-v2 .rpv2-name { font-size: 1.4rem; color: var(--sp-ink); background: none; -webkit-text-fill-color: currentColor; }
.services-open #row-packages-v2 .rpv2-lessons { font-size: .9rem; margin: 0; min-height: 0; line-height: 1.6; }
.services-open #row-packages-v2 .rpv2-price-row { padding: 18px 0; margin: 4px 0; border-top: 1px solid #b4d0df26; border-bottom: 1px solid #b4d0df26; gap: 10px; }
.services-open #row-packages-v2 .rpv2-price { font-size: 2.2rem; font-weight: 750; text-shadow: none; }
.services-open #row-packages-v2 .rpv2-gst { opacity: 1; color: var(--sp-muted); font-size: .75rem; white-space: nowrap; }
.services-open #row-packages-v2 .rpv2-save { font-size: .75rem; color: #c5e3f4; }
.services-open #row-packages-v2 .rpv2-bullets { flex-grow: 1; gap: 10px; }
.services-open #row-packages-v2 .rpv2-bullets li { font-size: .875rem; line-height: 1.6; }
.services-open #row-packages-v2 .rpv2-chk { border-color: #9edfff40; }
.services-open #row-packages-v2 .rpv2-btn { min-height: 46px; padding: 11px 14px; border-color: #438adb; background: linear-gradient(110deg, #103252, #202653); color: #edfaff; letter-spacing: 0; font-size: .875rem; font-weight: 700; box-shadow: none; }
.services-open #row-packages-v2 .rpv2-card--featured .rpv2-btn { background: linear-gradient(105deg, #00d4ff, #38b7ff); color: #041125; border-color: #46dfff; }
.services-open #row-packages-v2 .rpv2-btn:hover { background: #d4efff; border-color: #d4efff; color: #14222c; transform: none; box-shadow: none; }
.services-open #row-packages-v2 .rpv2-fallback { font-size: .8rem; min-height: 32px; }
.services-open #pkg-type-note { font-size: .9rem; line-height: 1.5; margin: 12px 0; color: #efd0a3; }
.services-open #pkg-type-note:empty { display: none; }
.services-open :is(button, a, summary):focus-visible { outline: 3px solid #b4e5ff; outline-offset: 4px; }

/* Visible light for keyboard navigation, including reduced-motion users. */
.services-open .sp-card:focus-within { border-color: var(--sp-edge); }
.services-open .sp-card:focus-within::before { opacity: 1; }
.services-open .sp-card:focus-within .sp-card-art::before { opacity: .3; }
.services-open #row-packages-v2 .rpv2-card:focus-within { border-color: #65e2ff; box-shadow: 0 14px 36px #0000001f; }
@media (hover: hover) and (pointer: fine) {
  .services-open .sp-card:hover { border-color: var(--sp-edge); }
  .services-open .sp-card:hover::before { opacity: 1; }
  .services-open .sp-card:hover .sp-card-art::before { opacity: .32; }
  .services-open .sp-card:hover .sp-card-art svg { opacity: 1; }
  .services-open #row-packages-v2 .rpv2-card:hover { border-color: #65e2ff; box-shadow: 0 14px 36px #0000001f; }
}
/* Neighbouring cards share title baselines even when their illustration differs. */
@media (min-width: 681px) {
  .services-open #sp-learning .sp-card-art { height: 178px; flex-basis: 178px; }
  .services-open #sp-specialty .sp-card-art { height: 224px; flex-basis: 224px; }
  .services-open #sp-specialty .sp-snow-object { width: 260px; height: 260px; top: -30px; right: 24px; }
}
@media (min-width: 681px) and (max-width: 1020px) {
  .services-open #sp-learning .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }
}
@media (max-width: 680px) {
  .services-open #services-pricing { padding: 36px 20px 8px; }
  .services-open .sp-header { margin-bottom: 28px; }
  .services-open .sp-main-title { font-size: clamp(2.05rem, 8.4vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
  .services-open .sp-sub-title { font-size: .95rem; }
  .services-open .sp-area-control { padding: 18px; }
  .services-open .sp-zone-btn { flex: 1 1 120px; min-width: 0; padding: 10px; }
  .services-open .sp-jump-nav { margin: 18px 0 32px; gap: 6px; display: block; }
  .services-open .sp-jump-label { display: block; margin-bottom: 6px; }
  .services-open .sp-jump-links { gap: 0 18px; }
  .services-open .sp-jump-links a { min-height: 44px; }
  .services-open .sp-panel { margin-bottom: 34px; }
  .services-open .sp-section-heading { gap: 12px; padding-top: 22px; margin-bottom: 25px; }
  .services-open .sp-grid, .services-open #sp-testprep .sp-grid, .services-open #sp-specialty .sp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* Art shares the title row; long translations can grow naturally. */
  .services-open .sp-card { padding: 22px; border-radius: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 124px; column-gap: 8px; align-items: start; }
  .services-open .sp-card-intro { grid-area: 1 / 1; min-height: 92px; align-self: center; display: flex; flex-direction: column; justify-content: center; padding: 0 0 14px; }
  .services-open .sp-card h3 { font-size: 1.28rem; overflow-wrap: anywhere; }
  .services-open .sp-duration { font-size: .8rem; line-height: 1.5; margin-bottom: 0; }
  .services-open .sp-card-art { grid-area: 1 / 2; align-self: center; margin: -8px 0 0; width: 124px; height: 102px; }
  .services-open .sp-card-art::before { inset: 0 -8px; }
  .services-open .sp-art-object { width: 110px; height: 100px; right: -3px; top: 0; }
  .services-open .sp-number-object { width: 106px; height: 86px; right: 2px; top: 14px; }
  .services-open .sp-art-number { font-size: 3.7rem; text-shadow: 1px 2px #5798d2, 2px 4px #3966af, 3px 6px #362868, 0 10px 12px #00000066; }
  .services-open .sp-art-mastery .sp-art-route { top: 16px; }
  .services-open .sp-license-object { width: 78px; height: 76px; top: 8px; right: 8px; }
  .services-open .sp-license-plate { border-radius: 11px; font-size: 3.5rem; }
  .services-open .sp-license-plate::after { width: 20px; height: 5px; top: 7px; left: 8px; }
  .services-open .sp-art-license .sp-art-check { opacity: .35; transform: translateX(-10px); }
  .services-open .sp-snow-object { width: 116px; height: 116px; top: -10px; right: -6px; }
  .services-open .sp-art-snowflake::after { width: 80px; height: 80px; right: 12px; top: 6px; }
  .services-open .sp-art-scene .sp-scene-object { top: 0; right: -3px; width: 130px; height: 96px; }
  .services-open .sp-art-scene .sp-art-motion { border-radius: 12px; }
  .services-open .sp-art-scene img { object-fit: cover; mask-image: none; -webkit-mask-image: none; }
  .services-open .sp-card > p, .services-open .sp-card-head, .services-open .sp-cta-group, .services-open .sp-unavailable-msg { grid-column: 1 / -1; }
  .services-open .sp-card > p { margin-bottom: 20px; }
  .services-open .sp-card-head { margin: 0 0 18px; }
  .services-open .sp-price { font-size: 2.1rem; }
  .services-open .sp-currency-note { padding: 0 20px; }
  .services-open #row-packages-v2 { padding: 26px 20px 48px; }
  .services-open #row-packages-v2 .rpv2-selectors { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .services-open #row-packages-v2 .rpv2-selector-group { width: 100%; }
  .services-open #row-packages-v2 .rpv2-toggle { display: flex; flex-direction: row; width: 100%; }
  .services-open #row-packages-v2 .rpv2-tbtn { flex: 1 1 100px; width: auto; padding: 10px; }
  .services-open #row-packages-v2 .rpv2-grid { gap: 30px; }
  .services-open #row-packages-v2 .rpv2-card { padding: 24px; }
  .services-open #row-packages-v2 .rpv2-art { height: 78px; margin-bottom: 0; }
  .services-open #row-packages-v2 .rpv2-count { font-size: 4.5rem; }
  .services-open #row-packages-v2 .rpv2-art-line { height: 50px; max-width: 190px; }
}
@media (max-width: 360px) {
  .services-open .sp-card { padding: 18px; grid-template-columns: minmax(0, 1fr) 100px; column-gap: 6px; }
  .services-open .sp-card-art { width: 100px; transform: scale(.84); transform-origin: right center; }
  .services-open .sp-card h3 { font-size: 1.18rem; }
}
/* Compose each scene inside one viewport; whole vehicles remain on their ground. */
.services-open .sp-art-scene .sp-art-motion { position: relative; }
.services-open .sp-art-scene .sp-scene-object { mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.services-open .sp-art-scene img { mask-image: none; -webkit-mask-image: none; }
.services-open .sp-art-core img { position: absolute; width: 119%; height: auto; max-width: none; left: -9.5%; top: 50%; transform: translateY(-61%); mask-image: linear-gradient(to bottom, #000 76%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent); }
.services-open .sp-parking-view { position: absolute; width: 128%; aspect-ratio: 3 / 2; left: -14%; top: -24%; mask-image: linear-gradient(to bottom, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.services-open .sp-parking-view img { width: 100%; height: 100%; object-fit: fill; }
.services-open .sp-parking-view svg { opacity: 1; }
.services-open .sp-parking-view svg rect { fill: #073449; fill-opacity: .72; stroke: #7aebff; stroke-width: 6; }
.services-open .sp-parking-view svg path { stroke: #ecffff; stroke-width: 8; transform-box: fill-box; transform-origin: center; transform: scale(1.15); }
.services-open .sp-art-defensive img { object-fit: cover; object-position: 50% 52%; }
@media (max-width: 680px) {
  .services-open .sp-art-scene .sp-scene-object { mask-image: none; -webkit-mask-image: none; }
  .services-open .sp-art-core img { top: 50%; width: 128%; left: -14%; transform: translateY(-55%); mask-image: none; -webkit-mask-image: none; }
  .services-open .sp-parking-view { width: 132%; left: -16%; top: -8%; mask-image: none; -webkit-mask-image: none; }
  .services-open .sp-art-defensive img { object-position: 58% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .services-open *, .services-open *::before, .services-open *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* One restrained interaction: a fixed card and a small image zoom inside a
   fixed rounded viewport. No animated masks, panel lift or decorative motion. */
.services-open .sp-art-scene .sp-scene-object {
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.services-open .sp-art-scene .sp-art-motion { transform-origin: center; }
@media (max-width: 680px) {
  .services-open .sp-art-scene .sp-scene-object { border-radius: 12px; }
}
@media (min-width: 681px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .services-open .sp-art-scene .sp-art-motion { transition: transform 240ms ease-out; }
  .services-open .sp-card:not(.unavailable):hover .sp-art-scene .sp-art-motion { transform: scale(1.03); }
}

/* Compact mobile spacing: preserve image dimensions, price, full copy and controls. */
@media (max-width: 680px) {
  .services-open .sp-card { padding: 18px; }
  .services-open .sp-card > p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .services-open .sp-card-head { padding-top: 12px; margin: 0 0 12px; }
  .services-open .sp-cta-group { gap: 4px; }
  .services-open .sp-btn { min-height: 44px; }
  .services-open .sp-section-heading { margin-bottom: 18px; padding-top: 18px; }
  .services-open .sp-grid,
  .services-open #sp-testprep .sp-grid,
  .services-open #sp-specialty .sp-grid { gap: 16px; }
  .services-open .sp-panel { margin-bottom: 26px; }
  .services-open #row-packages-v2 .rpv2-card { padding: 20px; gap: 10px; }
  .services-open #row-packages-v2 .rpv2-grid { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-open .sp-card,
  .services-open .sp-card:hover,
  .services-open .sp-card:focus-within {
    transform: none;
    transition: none;
  }
  .services-open .sp-card .sp-card-art.sp-art-scene .sp-art-motion {
    transform: none;
    transition: none;
  }
}

/* Focus skill gallery: the service, price and actions never rotate. */
.services-open .sp-focus-gallery { min-width: 0; margin-bottom: 16px; }
.services-open .sp-focus-gallery .sp-card-art { margin-bottom: 0; }
.services-open .sp-focus-slide { position: absolute; inset: 0; display: block; }
.services-open .sp-focus-slide[hidden], .services-open [data-gallery-controls][hidden] { display: none; }
.services-open .sp-focus-slide:not(.sp-focus-parallel) img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  mask-image: linear-gradient(to bottom, #000 83%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 83%, transparent);
}
.services-open .sp-focus-gallery .sp-scene-object { mask-image: linear-gradient(to bottom, #000 74%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent); }
.services-open .sp-gallery-toolbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; min-height: 44px; }
.services-open .sp-gallery-meta { min-width: 0; color: #b5eaff; font-size: .75rem; line-height: 1.35; }
.services-open [data-gallery-caption] { display: block; }
.services-open .sp-gallery-count { display: block; margin-top: 3px; color: #91abc7; font-size: .65rem; font-variant-numeric: tabular-nums; }
.services-open .sp-gallery-controls { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.services-open .sp-gallery-controls button { border: 1px solid #416183; border-radius: 50%; width: 44px; height: 44px; padding: 0; background: #091a32; color: #cff5ff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-size: 1.25rem; }
.services-open .sp-gallery-controls [data-gallery-toggle] { font-size: .8rem; }
.services-open .sp-gallery-controls button:hover { background: #153b5b; border-color: #61dfff; }
.services-open .sp-card > p { line-height: 1.5; margin-bottom: 18px; }
.services-open .sp-duration { margin-bottom: 12px; }
/* Keep titles aligned across the first row, leaving room for the gallery toolbar. */
@media (min-width: 681px) {
  .services-open #sp-learning .sp-card:not([data-service="focus60"]) .sp-card-art { margin-bottom: 76px; }
  .services-open .sp-focus-gallery { margin-bottom: 16px; }
}
@media (max-width: 680px) {
  .services-open .sp-focus-gallery { display: contents; }
  .services-open .sp-focus-gallery .sp-card-art { grid-area: 1 / 2; }
  .services-open .sp-gallery-toolbar { grid-column: 1 / -1; grid-row: 2; margin: -4px 0 12px; }
  .services-open .sp-gallery-meta { font-size: .76rem; }
  .services-open .sp-focus-slide:not(.sp-focus-parallel) img { mask-image: none; -webkit-mask-image: none; object-fit: cover; }
  .services-open .sp-card > p { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .services-open .sp-focus-slide:not([hidden]) { animation: sp-gallery-in 220ms ease-out; }
}
@keyframes sp-gallery-in { from { opacity: .25; } to { opacity: 1; } }

/* Reserve the caption row so prices stay fixed as longer skill names appear. */
.services-open .sp-gallery-toolbar { min-height: 56px; height: 56px; }
@media (max-width: 680px) { .services-open .sp-gallery-toolbar { min-height: 64px; height: 64px; } }

@media (max-width: 680px) { .services-open .sp-focus-gallery .sp-scene-object { mask-image: none; -webkit-mask-image: none; } }
