/* ==========================================================================
   Service pages (templates/webapp/service_detail.html)
   Glossy glass surfaces, gradient borders, light sweeps and a pointer spotlight.
   Builds on home.css (--hp-* tokens) and pages.css; dark default, light via data-theme.
   ========================================================================== */

.sv {
  --sv-glass-bg:     linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  --sv-glass-line:   rgba(255, 255, 255, .10);
  --sv-glass-hi:     rgba(255, 255, 255, .14);
  --sv-glass-shadow: 0 30px 60px -32px rgba(0, 0, 0, .75);
  --sv-edge:         rgba(232, 201, 122, .55);
  --sv-spot:         rgba(232, 201, 122, .16);
  --sv-ambient:      rgba(201, 168, 76, .11);
  --sv-ambient-2:    rgba(120, 140, 170, .07);
  --sv-grid:         rgba(245, 240, 232, .028);
}

html[data-theme="light"] .sv {
  --sv-glass-bg:     linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .7));
  --sv-glass-line:   rgba(155, 116, 29, .14);
  --sv-glass-hi:     rgba(255, 255, 255, 1);
  --sv-glass-shadow: 0 26px 50px -30px rgba(31, 35, 40, .28), 0 2px 6px rgba(31, 35, 40, .04);
  --sv-edge:         rgba(184, 144, 47, .55);
  --sv-spot:         rgba(184, 144, 47, .12);
  --sv-ambient:      rgba(201, 168, 76, .14);
  --sv-ambient-2:    rgba(120, 150, 190, .10);
  --sv-grid:         rgba(28, 30, 26, .035);
}

/* ── Glass surface ────────────────────────────────────────────────── */
.sv-glass {
  position: relative;
  isolation: isolate;
  background: var(--sv-glass-bg);
  border: 1px solid var(--sv-glass-line);
  box-shadow: inset 0 1px 0 var(--sv-glass-hi), var(--sv-glass-shadow);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

/* gold gradient edge (only the 1px ring is painted) */
.sv-glass::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--sv-edge), transparent 32%, transparent 68%, var(--sv-edge));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
  transition: opacity .4s ease;
}

/* pointer spotlight */
.sv-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(280px circle at var(--mx, -400px) var(--my, -400px), var(--sv-spot), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.sv-spot:hover::before { opacity: 1; }
.sv-spot:hover::after,
.sv-glass:focus-within::after { opacity: 1; }
.sv-glass > * { position: relative; z-index: 1; }

/* ambient light + faint architectural grid behind some sections */
.sv-ambient {
  background:
    radial-gradient(640px 420px at 0% 0%, var(--sv-ambient), transparent 70%),
    radial-gradient(520px 380px at 100% 100%, var(--sv-ambient-2), transparent 70%),
    repeating-linear-gradient(90deg, var(--sv-grid) 0 1px, transparent 1px 120px),
    var(--hp-bg);
}

.sv-ambient--right {
  background:
    radial-gradient(640px 420px at 100% 0%, var(--sv-ambient), transparent 70%),
    radial-gradient(520px 380px at 0% 100%, var(--sv-ambient-2), transparent 70%),
    repeating-linear-gradient(90deg, var(--sv-grid) 0 1px, transparent 1px 120px),
    var(--hp-bg);
}

/* ── Buttons with a light sweep ───────────────────────────────────── */
.sv-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-family: var(--hp-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--hp-ease), box-shadow .3s ease, border-color .3s ease, color .3s ease, background .3s ease;
}

.sv-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--hp-ease); }
.sv-btn:hover svg { transform: translateX(4px); }

.sv-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg) translateX(-120%);
  transition: transform .8s var(--hp-ease);
  pointer-events: none;
}

.sv-btn:hover::after { transform: skewX(-18deg) translateX(420%); }

.lux-home .sv-btn--gold {
  background: linear-gradient(180deg, #E8C97A 0%, #C9A84C 52%, #A8862F 100%);
  color: #0D0D0B;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 40px -16px rgba(201, 168, 76, .75);
}

.lux-home .sv-btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 22px 48px -14px rgba(201, 168, 76, .85); color: #0D0D0B; }

.lux-home .sv-btn--glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  backdrop-filter: blur(12px);
}

.lux-home .sv-btn--glass:hover { border-color: #E8C97A; color: #fff; transform: translateY(-2px); }

.lux-home .sv-btn--line { border-color: var(--hp-gold-line); color: var(--hp-heading); background: var(--sv-glass-bg); box-shadow: inset 0 1px 0 var(--sv-glass-hi); }
.lux-home .sv-btn--line:hover { border-color: var(--hp-gold); color: var(--hp-gold); }

/* ══ Hero ═════════════════════════════════════════════════════════════ */
.sv-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(560px, 86vh, 820px);
  padding-top: clamp(90px, 12vh, 140px);
  overflow: hidden;
  background: #0D0D0B;
  color: #fff;
}

.sv-hero__media { position: absolute; inset: 0; z-index: -2; }
.sv-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: sv-kenburns 18s ease-out forwards; }
@keyframes sv-kenburns { to { transform: scale(1); } }

.sv-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 8, .9) 0%, rgba(10, 10, 8, .6) 45%, rgba(10, 10, 8, .25) 100%),
    linear-gradient(180deg, rgba(10, 10, 8, .3) 0%, transparent 30%, rgba(10, 10, 8, .85) 100%),
    radial-gradient(700px 500px at 85% 20%, rgba(201, 168, 76, .18), transparent 70%);
}

.sv-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: end;
  gap: 48px;
  width: min(100%, 1240px);
  padding-bottom: 40px;
}

.sv-hero .hp-eyebrow { color: #E8C97A; }

.lux-home .sv-hero h1 {
  margin: 18px 0 18px;
  font-family: var(--hp-serif);
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 30%, #E9DDC2 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.sv-hero__copy p { max-width: 560px; margin: 0; color: rgba(245, 240, 232, .8); font-size: clamp(15px, 1.25vw, 18px); font-weight: 300; line-height: 1.75; }
.sv-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.sv-hero__copy > * { animation: sv-rise .9s var(--hp-ease) both; }
.sv-hero__copy > :nth-child(2) { animation-delay: .08s; }
.sv-hero__copy > :nth-child(3) { animation-delay: .16s; }
.sv-hero__copy > :nth-child(4) { animation-delay: .24s; }
.sv-hero__copy > :nth-child(5) { animation-delay: .32s; }
.sv-hero__facts { animation: sv-rise 1s var(--hp-ease) .45s both; }
.sv-switch { animation: sv-rise 1s var(--hp-ease) .6s both; }
@keyframes sv-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* hero glass always sits on a photo: fixed dark glass in both themes */
.sv-hero .sv-glass {
  --sv-glass-bg: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  --sv-glass-line: rgba(255, 255, 255, .16);
  --sv-glass-hi: rgba(255, 255, 255, .26);
  --sv-glass-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --sv-edge: rgba(232, 201, 122, .7);
  color: #fff;
}

.sv-hero__facts { padding: 26px 26px 22px; }
.sv-hero__facts-label { color: #E8C97A; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; }

.sv-hero__facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 20px; }
.sv-hero__facts dl > div { padding-right: 10px; }
.sv-hero__facts dl > div + div { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.sv-hero__facts dt { font-family: var(--hp-serif); font-size: 34px; font-weight: 500; line-height: 1; color: #fff; }
.sv-hero__facts dd { margin: 6px 0 0; color: rgba(255, 255, 255, .62); font-size: 10.5px; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }

.sv-hero__call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.sv-hero__call svg { width: 38px; height: 38px; padding: 10px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #E8C97A, #B8902F); fill: none; stroke: #0D0D0B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.sv-hero__call small { display: block; color: rgba(255, 255, 255, .6); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.sv-hero__call:hover { color: #E8C97A; }

/* service switcher */
.sv-switch { width: min(100%, 1240px); padding-bottom: 28px; }

.sv-switch__bar {
  display: flex;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sv-switch__bar::-webkit-scrollbar { display: none; }

.sv-switch__item {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}

.sv-switch__item small { color: #E8C97A; font-size: 10px; letter-spacing: .18em; }
.sv-switch__item:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.sv-switch__item.is-current {
  background: linear-gradient(180deg, #E8C97A 0%, #C9A84C 55%, #A8862F 100%);
  color: #0D0D0B;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 26px -12px rgba(201, 168, 76, .9);
}

.sv-switch__item.is-current small { color: rgba(13, 13, 11, .65); }

/* ══ Overview ═════════════════════════════════════════════════════════ */
.sv-overview__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.sv-overview__copy .hp-lead { margin: 22px 0 0; }

.sv-checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }

.sv-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  color: var(--hp-heading);
  font-size: 16px;
  transition: transform .35s var(--hp-ease);
}

.sv-checks li:hover { transform: translateX(6px); }

.sv-checks__icon,
.sv-tile__icon {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F6E3A8, #C9A84C 55%, #8B6E2E 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), 0 8px 18px -8px rgba(201, 168, 76, .9);
}

.sv-checks__icon { width: 30px; height: 30px; }
.sv-checks__icon svg,
.sv-tile__icon svg { width: 15px; height: 15px; fill: none; stroke: #1A1408; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sv-overview__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.sv-tile { padding: 28px 24px 26px; transition: transform .45s var(--hp-ease); }
.lux-home .sv-tile.visible:hover { transform: translateY(-6px); }
.sv-overview__tiles .sv-tile:nth-child(2),
.sv-overview__tiles .sv-tile:nth-child(4) { margin-top: 28px; }

.sv-tile__icon { width: 48px; height: 48px; }
.sv-tile__icon svg { width: 21px; height: 21px; stroke-width: 1.6; }

.sv-tile strong { display: block; margin: 20px 0 8px; font-family: var(--hp-serif); font-size: 22px; font-weight: 600; color: var(--hp-heading); }
.sv-tile p { margin: 0; color: var(--hp-muted); font-size: 14px; line-height: 1.65; }

/* ══ Process ══════════════════════════════════════════════════════════ */
.sv-steps {
  --fill: 0;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* rail + glowing progress fill */
.sv-steps::before,
.sv-steps::after {
  content: '';
  position: absolute;
  top: 31px;
  left: 32px;
  right: 32px;
  height: 2px;
  border-radius: 2px;
}

.sv-steps::before { background: var(--hp-line-strong); }

.sv-steps::after {
  background: linear-gradient(90deg, #8B6E2E, #E8C97A, #C9A84C);
  box-shadow: 0 0 14px rgba(232, 201, 122, .6);
  transform: scaleX(var(--fill));
  transform-origin: left;
  transition: transform .2s linear;
}

.sv-step { position: relative; z-index: 1; display: flex; flex-direction: column; }

.sv-step__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 0 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F8E7B4, #C9A84C 52%, #7E6224 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .65), inset 0 -6px 12px rgba(0, 0, 0, .25), 0 14px 30px -12px rgba(201, 168, 76, .9);
}

.sv-step__node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--hp-gold-line);
}

.sv-step__node span { font-family: var(--hp-serif); font-size: 22px; font-weight: 600; color: #1A1408; }

.sv-step__card { flex: 1; padding: 22px 20px 24px; transition: transform .45s var(--hp-ease); }
.sv-step__card:hover { transform: translateY(-5px); }
.lux-home .sv-step__card h3 { margin: 0 0 8px; font-family: var(--hp-serif); font-size: 22px; font-weight: 600; color: var(--hp-heading); }
.sv-step__card p { margin: 0; color: var(--hp-muted); font-size: 14px; line-height: 1.65; }

/* steps cascade in */
.pp-motion .sv-steps .sv-step { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s var(--hp-ease); }
.pp-motion .sv-steps.visible .sv-step { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 120ms); }
.lux-home .sv-steps.lux-reveal { transform: none; }

/* ══ Projects ═════════════════════════════════════════════════════════ */
.sv-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 20px; }
.sv-projects__grid--1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.sv-projects__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 420px; }
.sv-projects__grid:not(.sv-projects__grid--1):not(.sv-projects__grid--2) .sv-project:first-child { grid-column: span 2; grid-row: span 2; }

.sv-project,
.sv-more__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #0D0D0B;
  box-shadow: var(--hp-shadow-sm);
}

.sv-project figure,
.sv-more__card figure { position: absolute; inset: 0; z-index: -2; margin: 0; }
.sv-project img,
.sv-more__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--hp-ease); }
.sv-project:hover img,
.sv-more__card:hover img { transform: scale(1.06); }

.sv-project::before,
.sv-more__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 120%), rgba(232, 201, 122, .22), transparent 60%),
    linear-gradient(180deg, transparent 40%, rgba(10, 10, 8, .55) 100%);
}

/* light sweep across the photo on hover */
.sv-project::after,
.sv-more__card::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -50%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-16deg) translateX(-160%);
  transition: transform 1.1s var(--hp-ease);
  pointer-events: none;
}

.sv-project:hover::after,
.sv-more__card:hover::after { transform: skewX(-16deg) translateX(520%); }

.sv-project__caption,
.sv-more__caption {
  --sv-glass-bg: linear-gradient(145deg, rgba(20, 20, 16, .62), rgba(20, 20, 16, .38));
  --sv-glass-line: rgba(255, 255, 255, .14);
  --sv-glass-hi: rgba(255, 255, 255, .18);
  --sv-glass-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8);
  --sv-edge: rgba(232, 201, 122, .6);
  padding: 18px 20px 20px;
  max-width: 560px;
}

.sv-project__caption .hp-chip { position: static; margin-bottom: 12px; background: rgba(255, 255, 255, .1); }
.lux-home .sv-project h3,
.lux-home .sv-more__card h3 { margin: 0; font-family: var(--hp-serif); font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.12; color: #fff; }
.sv-project p { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-size: 13px; }
.sv-project p svg { width: 15px; height: 15px; fill: none; stroke: #E8C97A; stroke-width: 1.5; }

.sv-project__go {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #E8C97A, #B8902F);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px -10px rgba(201, 168, 76, .9);
  opacity: 0;
  transform: scale(.7) rotate(-45deg);
  transition: opacity .35s ease, transform .45s var(--hp-ease);
}

.sv-project__go svg { width: 18px; height: 18px; fill: none; stroke: #0D0D0B; stroke-width: 1.7; stroke-linecap: round; }
.sv-project:hover .sv-project__go { opacity: 1; transform: none; }

/* ══ Team ═════════════════════════════════════════════════════════════ */
.sv-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.sv-person { display: flex; align-items: center; gap: 16px; padding: 16px; transition: transform .4s var(--hp-ease); }
.lux-home .sv-person.visible:hover { transform: translateY(-4px); }

.sv-person figure {
  width: 76px;
  height: 76px;
  flex: none;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--hp-bg-alt), 0 0 0 3px var(--hp-gold-line);
}

.sv-person img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sv-person .pp-monogram { font-size: 32px; }
.lux-home .sv-person h3 { margin: 0 0 4px; font-family: var(--hp-serif); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--hp-heading); }
.sv-person__line { display: inline-block; margin-top: 6px; color: var(--hp-muted); font-size: 13px; text-decoration: none; }
.sv-person__line:hover { color: var(--hp-gold); }

/* ══ FAQ ══════════════════════════════════════════════════════════════ */
.sv-faq__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.sv-faq__intro { position: sticky; top: calc(var(--nav-h, 60px) + 40px); }
.sv-faq__intro .hp-intro { margin: 20px 0 30px; }

.sv-faq__list { display: grid; gap: 12px; }

.sv-qa { transition: box-shadow .3s ease; }
.sv-qa[open]::after { opacity: 1; }

.sv-qa summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--hp-heading);
  font-family: var(--hp-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.sv-qa summary::-webkit-details-marker { display: none; }

.sv-qa__icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F6E3A8, #C9A84C 55%, #8B6E2E 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7);
  transition: transform .4s var(--hp-ease);
}

.sv-qa__icon::before,
.sv-qa__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  background: #1A1408;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--hp-ease);
}

.sv-qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.sv-qa[open] .sv-qa__icon { transform: rotate(180deg); }
.sv-qa[open] .sv-qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.sv-qa p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--hp-muted);
  font-size: 15.5px;
  line-height: 1.8;
  animation: sv-qa-open .45s var(--hp-ease);
}

@keyframes sv-qa-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ══ Other services ═══════════════════════════════════════════════════ */
.sv-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-more__card { min-height: 380px; }
.sv-more__caption p { margin: 8px 0 0; color: rgba(255, 255, 255, .72); font-size: 13.5px; line-height: 1.55; }

.sv-more__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #E8C97A;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sv-more__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--hp-ease); }
.sv-more__card:hover .sv-more__go svg { transform: translateX(5px); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sv-steps { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .sv-steps::before, .sv-steps::after { display: none; }
  .sv-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .sv-hero__inner,
  .sv-overview__layout,
  .sv-faq__layout { grid-template-columns: 1fr; }
  .sv-hero__facts { max-width: 460px; }
  .sv-faq__intro { position: static; }
  .sv-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; }
}

@media (max-width: 900px) {
  /* vertical process with a rail on the left */
  .sv-steps { grid-template-columns: 1fr; row-gap: 18px; padding-left: 0; }
  .sv-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
  .sv-step__node { margin: 0; }
  .sv-steps::before, .sv-steps::after { display: block; top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .sv-steps::after { transform: scaleY(var(--fill)); transform-origin: top; }
}

@media (max-width: 600px) {
  .sv-hero { min-height: 0; }
  .sv-hero__actions { flex-direction: column; }
  .sv-hero__actions .sv-btn { width: 100%; }
  .sv-hero__facts dt { font-size: 28px; }
  .sv-switch__item { flex: 0 0 auto; }
  .sv-overview__tiles { grid-template-columns: 1fr; }
  .sv-overview__tiles .sv-tile:nth-child(2),
  .sv-overview__tiles .sv-tile:nth-child(4) { margin-top: 0; }
  .sv-projects__grid,
  .sv-projects__grid--2,
  .sv-projects__grid--1 { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .sv-projects__grid .sv-project:first-child { grid-column: auto !important; grid-row: auto !important; }
  .sv-more__grid { grid-template-columns: 1fr; }
  .sv-more__card { min-height: 320px; }
  .sv-qa summary { font-size: 18px; padding: 18px 18px; }
  .sv-qa p { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-hero__media img, .sv-hero__copy > *, .sv-hero__facts, .sv-switch { animation: none; transform: none; }
  .pp-motion .sv-steps .sv-step { opacity: 1; transform: none; transition: none; }
  .sv-btn::after, .sv-project::after, .sv-more__card::after { display: none; }
}
