/* TYN Digital: service pages and homepage service links (loaded after style.css). */
.sx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.sx-more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; color: var(--blue-2); text-decoration: none; padding: 0.4rem 0; }
.sx-more svg { transition: transform .25s var(--ease); }
.sx-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.sx-more:hover svg { transform: translateX(3px); }

.svc-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(4rem, 9vw, 7rem); }
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 25%, transparent 75%);
  opacity: .45;
}
.svc-hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 99, 255, 0.2), transparent 62%); pointer-events: none; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--gold); }
.svc-h1 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 100, "opsz" 96; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
.svc-lead { margin: 1.5rem 0 2.25rem; max-width: 38rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); text-wrap: pretty; }
.svc-card { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.svc-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 111, 94, .5), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.svc-card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 111, 94, .12); color: var(--gold); flex: none; }
.svc-facts { display: grid; gap: 0.9rem; margin: 1.5rem 0; }
.svc-facts li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; line-height: 1.45; }
.svc-facts svg { color: var(--ok); margin-top: 0.15rem; }
.svc-based { display: flex; align-items: center; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.svc-based svg { color: var(--gold); flex: none; }

.svc-h2 { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 18ch; }

/* What you get: icons with short explanations */
.svc-perks { background: var(--paper); color: var(--ink-text); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.perk-icon { color: var(--gold-ink); padding-top: 0.2rem; }
.perk h3 { font-weight: 560; font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.45rem; }
.perk p { color: var(--ink-muted); max-width: 30rem; }

/* Who it's for: navy band with a glowing panel */
.svc-who {
  background:
    radial-gradient(50% 70% at var(--gx, 12%) var(--gy, 20%), rgba(61, 99, 255, .45), transparent 70%),
    radial-gradient(45% 60% at 90% 90%, rgba(255, 111, 94, .25), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E"),
    #08112a;
}
.svc-who-panel {
  max-width: 52rem; margin-inline: auto; text-align: center;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 3.5rem); border-radius: 20px;
  background: rgba(17, 29, 64, .62); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.svc-who-panel .svc-h2 { margin-inline: auto; max-width: none; margin-bottom: 2.25rem; font-size: clamp(2rem, 4vw, 3rem); }
.svc-who-grid { display: grid; gap: 1.75rem; }
.svc-who-grid h3 { font-weight: 560; font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.35rem; }
.svc-who-grid p { color: var(--muted); max-width: 34rem; margin-inline: auto; }

/* Other services on white */
.svc-other { background: var(--paper); color: var(--ink-text); }
.svc-other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.svc-other-card { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.25rem; align-items: start; padding: 1.6rem; border-radius: 20px; border: 1px solid transparent; background: var(--fog); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.svc-other-card:hover { border-color: var(--blue); }
.svc-other-text { display: grid; gap: 0.35rem; }
.svc-other-text strong { font-family: var(--display); font-size: 1.35rem; font-weight: 650; }
.svc-other-text span { color: var(--ink-muted); }
.svc-other .svc-card-icon { background: var(--ink); }
.svc-other-go { grid-column: 2; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue-2); font-weight: 600; font-size: 0.95rem; }
.svc-other-card:hover .svc-other-go svg { transform: translateX(3px); }
.svc-other-go svg { transition: transform .25s var(--ease); }

@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .svc-other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .perk { grid-template-columns: 1fr; gap: 0.75rem; }
  .svc-other-card { grid-template-columns: 1fr; }
  .svc-other-go { grid-column: 1; }
}
