
/* Blue7Flow - production stylesheet */
:root {
  --sos-color-primary: #072dc1;
  --sos-color-primary-dark: #041f8c;
  --sos-color-accent: #72dc17;
  --sos-color-secondary: #2fa6de;
  --sos-color-silver: #bec0c2;
  --sos-color-ink: #07112f;
  --sos-color-muted: #4c5878;
  --sos-color-soft: #f1f7ff;
  --sos-color-white: #ffffff;
  --sos-color-line: #d9e4f4;
  --sos-color-success: #237c15;
  --sos-font-heading: "Montserrat", "Arial Nova", "Segoe UI", Arial, sans-serif;
  --sos-font-body: "Montserrat", "Arial Nova", "Segoe UI", Arial, sans-serif;
  --sos-text-base: 18px;
  --sos-text-small: 0.875rem;
  --sos-text-h1: clamp(3.05rem, 7.2vw, 6.8rem);
  --sos-text-h2: clamp(2.15rem, 4.3vw, 4.15rem);
  --sos-text-h3: clamp(1.35rem, 2vw, 1.8rem);
  --container: 1240px;
  --container-wide: 1420px;
  --header-height: 96px;
  --section-space: clamp(5.5rem, 9vw, 9.5rem);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --shadow-sm: 0 12px 38px rgba(7, 45, 193, 0.08);
  --shadow-md: 0 26px 74px rgba(4, 31, 140, 0.15);
  --focus: 0 0 0 4px rgba(114, 220, 23, 0.48);
  --transition: 240ms cubic-bezier(.2,.75,.2,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--sos-color-white);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--sos-color-ink);
  background: var(--sos-color-white);
  font-family: var(--sos-font-body);
  font-size: var(--sos-text-base);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--sos-color-accent);
  outline-offset: 4px;
  box-shadow: var(--focus);
}

::selection {
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  color: inherit;
  font-family: var(--sos-font-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: var(--sos-text-h1);
}

h2 {
  font-size: var(--sos-text-h2);
}

h3 {
  font-size: var(--sos-text-h3);
}

h4 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 860px);
  margin-inline: auto;
}

.narrow-wide {
  width: min(calc(100% - 48px), 980px);
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.icon {
  flex: 0 0 auto;
  overflow: visible;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 13px 18px;
  color: var(--sos-color-white);
  background: var(--sos-color-ink);
  border: 2px solid var(--sos-color-accent);
  border-radius: var(--radius-sm);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  color: var(--sos-color-ink);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 45, 193, 0.12);
  box-shadow: 0 6px 24px rgba(4, 31, 140, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 100%;
  gap: 26px;
}

.site-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  width: clamp(160px, 15vw, 225px);
  max-height: 67px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.25vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a:not(.button) {
  position: relative;
  display: block;
  padding: 12px 0;
  color: var(--sos-color-ink);
  font-size: 0.89rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list > li > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--sos-color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-list > li > a:hover::after,
.nav-list > li > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-list > li > a[aria-current="page"] {
  color: var(--sos-color-primary);
}

.nav-mobile-action {
  display: none;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.header-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--sos-color-primary);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 800;
}

.header-tool span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header-tool:hover {
  background: var(--sos-color-soft);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.menu-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close {
  display: block;
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

.button-primary {
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border-color: var(--sos-color-primary);
  box-shadow: 0 10px 30px rgba(7, 45, 193, 0.2);
}

.button-primary:hover {
  color: var(--sos-color-white);
  background: var(--sos-color-primary-dark);
  border-color: var(--sos-color-primary-dark);
  box-shadow: 0 18px 36px rgba(7, 45, 193, 0.28);
}

.button-secondary {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-color: var(--sos-color-accent);
}

.button-secondary:hover {
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border-color: var(--sos-color-primary);
}

.button-outline {
  color: var(--sos-color-primary);
  background: transparent;
  border-color: var(--sos-color-primary);
}

.button-outline:hover {
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border-color: var(--sos-color-primary);
}

.button-light {
  color: var(--sos-color-primary);
  background: var(--sos-color-white);
  border-color: var(--sos-color-white);
}

.button-light:hover {
  color: var(--sos-color-white);
  background: var(--sos-color-primary-dark);
  border-color: var(--sos-color-primary-dark);
}

.button-ghost-light {
  color: var(--sos-color-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.button-ghost-light:hover {
  color: var(--sos-color-primary);
  background: var(--sos-color-white);
  border-color: var(--sos-color-white);
}

.button-large {
  min-height: 58px;
  padding: 16px 25px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sos-color-primary);
  font-weight: 800;
  text-decoration: none;
}

.text-link .icon {
  transition: transform var(--transition);
}

.text-link:hover .icon {
  transform: translateX(5px);
}

.text-link-large {
  font-size: 1.08rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Accessibility controls */
.accessibility-panel {
  position: sticky;
  top: var(--header-height);
  z-index: 990;
  color: var(--sos-color-white);
  background: var(--sos-color-ink);
  border-bottom: 4px solid var(--sos-color-accent);
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 18px;
}

.accessibility-inner p {
  margin: 2px 0 0;
  color: #dce6ff;
  font-size: 0.9rem;
}

.accessibility-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.accessibility-controls button {
  min-height: 44px;
  padding: 9px 13px;
  color: var(--sos-color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.accessibility-controls button:hover,
.accessibility-controls button[aria-pressed="true"] {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-color: var(--sos-color-accent);
}

/* Home hero */
.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 22% 20%, rgba(47, 166, 222, 0.58), transparent 34%),
    linear-gradient(145deg, #041f8c 0%, #072dc1 50%, #03145a 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("/assets/img/hero-water.svg") center / cover no-repeat;
  opacity: 0.62;
}

.hero-background::before,
.hero-background::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: ripple 9s ease-in-out infinite;
}

.hero-background::before {
  width: 780px;
  height: 780px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-background::after {
  width: 540px;
  height: 540px;
  right: -130px;
  bottom: -280px;
  animation-delay: -3s;
}

.hero-section::after {
  position: absolute;
  right: -8vw;
  bottom: -23vw;
  z-index: -2;
  width: min(64vw, 940px);
  aspect-ratio: 1.3;
  content: "";
  background: var(--sos-color-accent);
  border-radius: 47% 53% 57% 43% / 46% 33% 67% 54%;
  opacity: 0.15;
  transform: rotate(-13deg);
}

.hero-content {
  align-self: center;
  width: min(calc(100% - 48px), 1100px);
  padding-block: clamp(7rem, 13vh, 11rem);
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  position: relative;
  margin-bottom: 26px;
  padding-bottom: 13px;
  color: var(--sos-color-accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.3;
}

.hero-kicker::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 64px;
  height: 3px;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
}

.hero-content h1 {
  max-width: 1060px;
  margin-inline: auto;
  font-size: clamp(3.3rem, 7.6vw, 7.5rem);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.hero-lead {
  max-width: 820px;
  margin: 30px auto 0;
  color: #eef5ff;
  font-size: clamp(1.12rem, 1.8vw, 1.43rem);
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 44px;
  color: #ffffff;
  font-size: 0.91rem;
  font-weight: 700;
}

.hero-principles span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-principles span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--sos-color-accent);
  border-radius: 50%;
}

.hero-symbol {
  position: absolute;
  top: 12%;
  right: clamp(-110px, -4vw, -35px);
  z-index: -1;
  width: clamp(260px, 32vw, 540px);
  opacity: 0.12;
  filter: brightness(0) invert(1);
  animation: floatSymbol 10s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--sos-color-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 2px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-cue span::after {
  display: block;
  width: 100%;
  height: 14px;
  content: "";
  background: var(--sos-color-accent);
  animation: scrollCue 1.8s ease-in-out infinite;
}

/* Inner page heroes */
.inner-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(610px, 78vh, 820px);
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 82% 20%, rgba(47, 166, 222, 0.65), transparent 30%),
    linear-gradient(135deg, #03145a, #072dc1 55%, #041f8c);
}

.inner-hero-wave {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("/assets/img/hero-water.svg") center / cover no-repeat,
    linear-gradient(transparent, rgba(0, 0, 0, 0.08));
  opacity: 0.52;
}

.inner-hero::after {
  position: absolute;
  right: -15%;
  bottom: -58%;
  z-index: -1;
  width: min(76vw, 1050px);
  aspect-ratio: 1;
  content: "";
  background: var(--sos-color-accent);
  border-radius: 45% 55% 62% 38% / 42% 41% 59% 58%;
  opacity: 0.14;
  transform: rotate(14deg);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  min-height: inherit;
  padding-block: clamp(6rem, 10vw, 9rem);
}

.inner-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.inner-hero-copy .hero-kicker::after {
  left: 0;
  transform: none;
}

.inner-hero-copy h1 {
  font-size: clamp(3rem, 6.3vw, 6.4rem);
}

.inner-hero-copy .hero-lead {
  margin: 25px 0 0;
}

.inner-hero-copy .hero-actions {
  justify-content: flex-start;
}

.inner-hero-copy .button-outline {
  color: var(--sos-color-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.inner-hero-copy .button-outline:hover {
  color: var(--sos-color-primary);
  background: var(--sos-color-white);
  border-color: var(--sos-color-white);
}

.inner-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  animation: floatSymbol 9s ease-in-out infinite;
}

.inner-hero-visual::before {
  position: absolute;
  inset: 8%;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 44% 56% 39% 61% / 50% 37% 63% 50%;
  backdrop-filter: blur(10px);
  transform: rotate(-6deg);
}

.inner-hero-visual img {
  width: min(100%, 560px);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.16));
}

.inner-hero-center .inner-hero-grid,
.inner-hero-documents .inner-hero-grid,
.inner-hero-legal .inner-hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}

.inner-hero-center .inner-hero-copy,
.inner-hero-documents .inner-hero-copy,
.inner-hero-legal .inner-hero-copy {
  margin-inline: auto;
}

.inner-hero-center .inner-hero-copy .hero-kicker::after,
.inner-hero-documents .inner-hero-copy .hero-kicker::after,
.inner-hero-legal .inner-hero-copy .hero-kicker::after {
  left: 50%;
  transform: translateX(-50%);
}

.inner-hero-center .inner-hero-copy .hero-lead,
.inner-hero-documents .inner-hero-copy .hero-lead,
.inner-hero-legal .inner-hero-copy .hero-lead {
  margin-inline: auto;
}

.inner-hero-center .inner-hero-copy .hero-actions,
.inner-hero-documents .inner-hero-copy .hero-actions,
.inner-hero-legal .inner-hero-copy .hero-actions {
  justify-content: center;
}

.inner-hero-soft {
  background:
    radial-gradient(circle at 82% 20%, rgba(114, 220, 23, 0.34), transparent 32%),
    linear-gradient(135deg, #07112f, #072dc1 62%, #2fa6de);
}

.inner-hero-price::before,
.inner-hero-gallery::before,
.inner-hero-documents::before {
  position: absolute;
  top: 12%;
  left: -12%;
  width: 420px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* Sections and content */
.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-light,
.section-white {
  color: var(--sos-color-ink);
  background: var(--sos-color-white);
}

.section-soft {
  color: var(--sos-color-ink);
  background:
    linear-gradient(180deg, rgba(47, 166, 222, 0.04), transparent 35%),
    var(--sos-color-soft);
}

.section-navy {
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 18% 30%, rgba(47, 166, 222, 0.19), transparent 34%),
    linear-gradient(145deg, #07112f, #041f8c);
}

.section-header {
  max-width: 940px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-header-center {
  margin-inline: auto;
  text-align: center;
}

.section-header-left {
  text-align: left;
}

.section-kicker {
  position: relative;
  margin: 0 0 18px;
  padding-left: 50px;
  color: var(--sos-color-primary);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-kicker::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 36px;
  height: 3px;
  content: "";
  background: var(--sos-color-accent);
}

.section-header-center .section-kicker {
  display: inline-block;
  padding-left: 0;
  padding-bottom: 13px;
}

.section-header-center .section-kicker::before {
  top: auto;
  bottom: 0;
  left: 50%;
  width: 58px;
  transform: translateX(-50%);
}

.section-navy .section-kicker,
.section-cta .section-kicker {
  color: var(--sos-color-accent);
}

.section-lead {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--sos-color-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.section-header-center .section-lead {
  margin-inline: auto;
}

.section-navy .section-lead {
  color: #dce6ff;
}

.rich-content {
  color: var(--sos-color-muted);
}

.rich-content-large {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.rich-content > :last-child {
  margin-bottom: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--sos-color-ink);
}

.rich-content h2 {
  margin-top: 1.7em;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.rich-content h3 {
  margin-top: 1.55em;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.35em;
}

.rich-content li + li {
  margin-top: 0.55em;
}

.rich-content li::marker {
  color: var(--sos-color-primary);
  font-weight: 800;
}

.rich-content-light {
  color: #dce6ff;
}

.rich-content-light h2,
.rich-content-light h3,
.rich-content-light h4 {
  color: var(--sos-color-white);
}

.rich-content-light li::marker {
  color: var(--sos-color-accent);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 8vw, 120px);
}

.content-split-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(44px, 8vw, 120px);
}

.story-visual,
.profile-visual {
  position: relative;
  padding: clamp(26px, 4vw, 56px);
}

.story-visual::before,
.profile-visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(145deg, rgba(47, 166, 222, 0.16), rgba(114, 220, 23, 0.18));
  border-radius: 36% 64% 48% 52% / 45% 42% 58% 55%;
  transform: rotate(-4deg);
}

.story-visual img,
.profile-visual img {
  position: relative;
  z-index: 1;
}

/* Cards and repeaters */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.path-card {
  position: relative;
  min-height: 430px;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  background: var(--sos-color-soft);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.path-card:nth-child(2n),
.path-card:last-child:first-child {
  background:
    radial-gradient(circle at 90% 10%, rgba(114, 220, 23, 0.18), transparent 38%),
    var(--sos-color-white);
}

.path-card::after {
  position: absolute;
  right: -110px;
  bottom: -145px;
  width: 310px;
  aspect-ratio: 1;
  content: "";
  background: var(--sos-color-primary);
  border-radius: 50%;
  opacity: 0.06;
  transition: transform 500ms ease;
}

.path-card:hover {
  border-color: rgba(7, 45, 193, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.path-card:hover::after {
  transform: scale(1.18);
}

.path-number {
  display: block;
  margin-bottom: 66px;
  color: var(--sos-color-primary);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.path-card h3 {
  max-width: 560px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.path-card p {
  max-width: 580px;
  color: var(--sos-color-muted);
}

.path-card .text-link {
  margin-top: 18px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card {
  min-height: 255px;
  padding: 30px;
  color: var(--sos-color-white);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
}

.audience-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(114, 220, 23, 0.55);
  transform: translateY(-6px);
}

.audience-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-radius: 15px 9px 16px 10px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.audience-card h3 {
  font-size: 1.35rem;
}

.audience-card p {
  margin-bottom: 0;
  color: #dce6ff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 340px;
  padding: 30px;
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.value-number {
  display: block;
  margin-bottom: 72px;
  color: var(--sos-color-secondary);
  font-size: 1rem;
  font-weight: 800;
}

.value-card h3 {
  font-size: 1.4rem;
}

.value-card p {
  color: var(--sos-color-muted);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.step-card {
  position: relative;
  min-height: 300px;
  padding: 30px 26px 28px;
  border-top: 4px solid var(--sos-color-primary);
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--sos-color-accent);
  border: 3px solid var(--sos-color-white);
  border-radius: 50%;
}

.step-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border-radius: 18px 10px 18px 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.step-card p {
  color: var(--sos-color-muted);
}

/* Profile and pricing teaser on home */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.profile-image-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, rgba(114, 220, 23, 0.3), transparent 28%),
    linear-gradient(145deg, #dcecff, #f7fbff);
  border-radius: var(--radius-lg);
}

.profile-caption {
  padding: 24px 28px 28px;
  color: var(--sos-color-ink);
  background: var(--sos-color-white);
  border-top: 1px solid var(--sos-color-line);
}

.profile-caption strong {
  display: block;
  font-size: 1.1rem;
}

.profile-caption span {
  color: var(--sos-color-muted);
  font-size: 0.9rem;
}

.brand-quote {
  margin: 30px 0;
  padding: 27px 0 27px 28px;
  color: var(--sos-color-primary);
  border-left: 5px solid var(--sos-color-accent);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.5;
}

.section-pricing-teaser {
  background:
    radial-gradient(circle at 50% 0, rgba(47, 166, 222, 0.08), transparent 35%),
    var(--sos-color-soft);
}

.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pricing-teaser-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pricing-teaser-card.featured {
  color: var(--sos-color-white);
  background: linear-gradient(145deg, #072dc1, #041f8c);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.pricing-duration {
  color: var(--sos-color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pricing-teaser-card.featured .pricing-duration {
  color: var(--sos-color-accent);
}

.pricing-teaser-card h3 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.pricing-teaser-card p {
  color: var(--sos-color-muted);
}

.pricing-teaser-card.featured p {
  color: #dce6ff;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(7, 45, 193, 0.05);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--sos-color-primary);
}

.faq-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-item[open] {
  border-color: rgba(7, 45, 193, 0.3);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--sos-color-muted);
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

/* Contact band */
.contact-band {
  padding-block: clamp(4.6rem, 7vw, 7.2rem);
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 80% 30%, rgba(114, 220, 23, 0.2), transparent 30%),
    linear-gradient(140deg, #072dc1, #041f8c);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.contact-band h2 {
  max-width: 850px;
  margin-bottom: 18px;
}

.contact-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: #dce6ff;
  font-size: 1.08rem;
}

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

/* Service detail */
.service-detail {
  overflow: hidden;
}

.service-detail-blue {
  background: var(--sos-color-white);
}

.service-detail-lime {
  background:
    radial-gradient(circle at 90% 8%, rgba(114, 220, 23, 0.15), transparent 28%),
    var(--sos-color-soft);
}

.service-detail-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
}

.service-detail-grid-reverse > :nth-child(2) {
  grid-column: 2;
}

.service-detail-grid-reverse > :nth-child(3) {
  grid-column: 1;
  grid-row: 1;
}

.service-detail-number {
  position: absolute;
  top: -75px;
  left: -25px;
  z-index: 0;
  color: rgba(7, 45, 193, 0.055);
  font-size: clamp(9rem, 20vw, 19rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.service-detail-grid > :not(.service-detail-number) {
  position: relative;
  z-index: 1;
}

.service-detail-visual {
  padding: clamp(24px, 4vw, 52px);
  background: linear-gradient(145deg, rgba(47, 166, 222, 0.12), rgba(114, 220, 23, 0.14));
  border: 1px solid rgba(7, 45, 193, 0.12);
  border-radius: 38% 62% 43% 57% / 48% 38% 62% 52%;
}

.service-detail .rich-content {
  margin-bottom: 30px;
}

/* Price page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  overflow: hidden;
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
  border-color: rgba(7, 45, 193, 0.4);
  box-shadow: var(--shadow-md);
}

.pricing-card-head {
  padding: clamp(32px, 4vw, 50px);
  background: var(--sos-color-soft);
  border-bottom: 1px solid var(--sos-color-line);
}

.pricing-card-featured .pricing-card-head {
  color: var(--sos-color-white);
  background: linear-gradient(145deg, #072dc1, #041f8c);
}

.pricing-card-featured .pricing-card-head p:not(.section-kicker) {
  color: #dce6ff;
}

.pricing-card-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.price-table th,
.price-table td {
  padding: 20px clamp(24px, 4vw, 48px);
  text-align: left;
  border-bottom: 1px solid var(--sos-color-line);
}

.price-table th {
  color: var(--sos-color-muted);
  background: #fbfdff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
}

.price-table td:last-child {
  color: var(--sos-color-primary);
  font-size: 1.25rem;
  font-weight: 900;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

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

.info-card {
  min-height: 100%;
  padding: clamp(32px, 4vw, 52px);
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.info-card-dark {
  color: var(--sos-color-white);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* First class detail rows */
.detail-stack {
  display: grid;
  gap: 20px;
}

.detail-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(30px, 4vw, 52px);
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-index {
  color: var(--sos-color-primary);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.detail-row h2 {
  font-size: clamp(1.7rem, 3vw, 2.75rem);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  overflow: hidden;
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.gallery-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(114, 220, 23, 0.18), transparent 28%),
    linear-gradient(145deg, #e6f2ff, #f7fbff);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(.2,.75,.2,1);
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.045) rotate(-1deg);
}

.gallery-card h3 {
  margin: 0;
  padding: 26px 28px 10px;
}

.gallery-card p {
  padding: 0 28px 28px;
  color: var(--sos-color-muted);
}

/* Documents and empty state */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.document-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.document-card:hover {
  border-color: rgba(7, 45, 193, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.document-icon,
.empty-state-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  color: var(--sos-color-primary);
  background: var(--sos-color-soft);
  border-radius: 18px 11px 18px 11px;
}

.document-card p {
  color: var(--sos-color-muted);
}

.document-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.empty-state {
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 80% 0, rgba(114, 220, 23, 0.14), transparent 32%),
    var(--sos-color-soft);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  margin-inline: auto;
}

.empty-state h2 {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.empty-state p {
  max-width: 720px;
  margin: 0 auto 30px;
  color: var(--sos-color-muted);
  font-size: 1.08rem;
}

.question-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(36px, 5vw, 64px);
  background: var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.question-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.question-panel > p {
  margin-bottom: 0;
  color: var(--sos-color-muted);
  font-size: 1.08rem;
}

/* CTA */
.section-cta {
  color: var(--sos-color-white);
  background: var(--sos-color-white);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 46px;
  padding: clamp(42px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(114, 220, 23, 0.2), transparent 28%),
    linear-gradient(135deg, #072dc1, #041f8c);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cta-panel h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
}

.cta-panel p:not(.section-kicker) {
  max-width: 690px;
  margin-bottom: 0;
  color: #dce6ff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  min-width: 250px;
  gap: 12px;
}

/* Legal pages */
.legal-section {
  padding-top: clamp(3.8rem, 7vw, 7rem);
}

.legal-container {
  width: min(calc(100% - 48px), 940px);
}

.legal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sos-color-line);
}

.legal-toolbar p {
  margin: 0;
  color: var(--sos-color-muted);
  font-size: 0.88rem;
}

.legal-content {
  color: #2d3857;
}

.legal-content h1 {
  margin-bottom: 1em;
  color: var(--sos-color-ink);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal-content h2 {
  margin-top: 2.1em;
  margin-bottom: 0.75em;
  color: var(--sos-color-ink);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin-top: 1.7em;
  font-size: 1.2rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.45em;
}

.legal-content li + li {
  margin-top: 0.5em;
}

.legal-content li::marker {
  color: var(--sos-color-primary);
  font-weight: 800;
}

.legal-content a {
  color: var(--sos-color-primary);
  font-weight: 700;
}

.legal-meta {
  margin-bottom: 34px;
  padding: 25px;
  background: var(--sos-color-soft);
  border-left: 5px solid var(--sos-color-primary);
}

.print-section {
  break-inside: avoid;
}

.form-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 15px;
}

.inline-line,
.signature-line,
.blank-line {
  display: inline-block;
  min-width: 240px;
  min-height: 1.25em;
  border-bottom: 1px dotted #38415c;
}

.signature-line,
.blank-line {
  width: 100%;
}

.print-check {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1.5px solid currentColor;
  vertical-align: -2px;
}

/* Plain privacy document */
body.privacy-plain {
  min-height: 100vh;
  padding: clamp(38px, 8vw, 100px) 24px;
  text-align: center;
  background: var(--sos-color-white);
}

.privacy-text {
  width: min(100%, 900px);
  margin-inline: auto;
}

.privacy-text h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.privacy-text h2 {
  margin-top: 2em;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.privacy-text ul,
.privacy-text ol {
  display: inline-block;
  max-width: 760px;
  padding-left: 1.5em;
  text-align: left;
}

.privacy-text a {
  color: var(--sos-color-primary);
  font-weight: 700;
}

/* Footer */
.site-footer {
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 12% 30%, rgba(47, 166, 222, 0.16), transparent 30%),
    #07112f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(4.8rem, 8vw, 7rem);
}

.footer-brand img {
  width: min(260px, 100%);
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 25px;
}

.footer-brand p {
  max-width: 360px;
  color: #cbd7f3;
  font-size: 0.93rem;
}

.footer-heading {
  margin-bottom: 23px;
  color: var(--sos-color-accent);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-list,
.footer-links,
.social-links {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li,
.footer-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-list a,
.footer-links a,
.social-links a {
  color: #e6edff;
  text-decoration: none;
}

.footer-list a:hover,
.footer-links a:hover,
.social-links a:hover {
  color: var(--sos-color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 78px;
  padding-block: 18px;
  color: #aebbd9;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--sos-color-white);
  font-weight: 800;
}

.footer-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Cookie choices */
.privacy-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1200;
  color: var(--sos-color-white);
}

.privacy-panel[hidden] {
  display: none;
}

.privacy-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(100%, 1000px);
  margin-left: auto;
  padding: 25px 28px;
  background: #07112f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.privacy-panel h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.privacy-panel p {
  margin-bottom: 0;
  color: #dce6ff;
  font-size: 0.88rem;
}

.privacy-panel a {
  color: var(--sos-color-accent);
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes ripple {
  0%, 100% { opacity: 0.32; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 0.08; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes floatSymbol {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}

@keyframes scrollCue {
  0% { transform: translateY(-16px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(36px); opacity: 0; }
}

/* High contrast and accessibility modes */
html[data-a11y-text="1"] {
  --sos-text-base: 21px;
}

html[data-a11y-contrast="1"] {
  --sos-color-primary: #001f9d;
  --sos-color-primary-dark: #00156b;
  --sos-color-secondary: #0074a8;
  --sos-color-accent: #b4ff00;
  --sos-color-ink: #000000;
  --sos-color-muted: #242424;
  --sos-color-soft: #ffffff;
  --sos-color-line: #202020;
}

html[data-a11y-contrast="1"] .section-soft,
html[data-a11y-contrast="1"] .path-card,
html[data-a11y-contrast="1"] .pricing-card-head,
html[data-a11y-contrast="1"] .gallery-image {
  background: #ffffff;
}

html[data-a11y-contrast="1"] .site-header,
html[data-a11y-contrast="1"] .question-panel,
html[data-a11y-contrast="1"] .info-card,
html[data-a11y-contrast="1"] .value-card,
html[data-a11y-contrast="1"] .faq-item,
html[data-a11y-contrast="1"] .document-card {
  border-width: 2px;
  box-shadow: none;
}

html[data-a11y-motion="1"] *,
html[data-a11y-motion="1"] *::before,
html[data-a11y-motion="1"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

html[data-a11y-motion="1"] .reveal {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --header-height: 84px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-phone {
    display: none;
  }

  .site-brand img {
    width: 180px;
  }

  .nav-list {
    gap: 14px;
  }

  .nav-list > li > a:not(.button) {
    font-size: 0.8rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:nth-child(2)::after {
    display: none;
  }

  .documents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 78px;
    --section-space: clamp(4.5rem, 9vw, 7rem);
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    width: 100%;
    padding-inline: 20px;
  }

  .site-brand img {
    width: 172px;
    max-height: 58px;
  }

  .header-tool {
    width: 50px;
    height: 50px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: block;
    width: 100vw;
    max-width: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--sos-color-ink);
    background: #ffffff;
    border-top: 1px solid var(--sos-color-line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 300ms cubic-bezier(.2,.75,.2,1), visibility 300ms;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-height: 100%;
    padding: 16px 20px 42px;
    background: #ffffff;
  }

  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--sos-color-line);
  }

  .nav-list > li > a:not(.button) {
    width: 100%;
    padding: 18px 4px;
    color: var(--sos-color-ink);
    font-size: 1.07rem;
    white-space: normal;
  }

  .nav-list > li > a:not(.button)::after {
    display: none;
  }

  .nav-list > li > a[aria-current="page"] {
    padding-left: 15px;
    color: var(--sos-color-primary);
    border-left: 4px solid var(--sos-color-accent);
  }

  .nav-mobile-action {
    display: block;
    order: 999;
    padding-top: 22px;
    border-bottom: 0 !important;
  }

  .nav-mobile-action .button {
    width: 100%;
  }

  .accessibility-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .accessibility-controls {
    justify-content: flex-start;
  }

  .inner-hero-grid,
  .story-grid,
  .profile-grid,
  .service-detail-grid,
  .content-split,
  .content-split-reverse,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    min-height: auto;
  }

  .inner-hero-grid {
    min-height: 680px;
  }

  .inner-hero-visual {
    display: none;
  }

  .service-detail-grid-reverse > :nth-child(2),
  .service-detail-grid-reverse > :nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .service-detail-grid-reverse > :nth-child(3) {
    order: 2;
  }

  .service-detail-number {
    top: -45px;
  }

  .audience-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band-inner,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .contact-band-actions {
    justify-content: flex-start;
  }

  .cta-actions {
    flex-direction: row;
    min-width: 0;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
    --sos-text-base: 17px;
    --sos-text-h1: clamp(2.55rem, 12.4vw, 4.4rem);
    --sos-text-h2: clamp(2rem, 9.4vw, 3.2rem);
  }

  .container,
  .narrow,
  .narrow-wide,
  .legal-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 16px;
  }

  .site-brand img {
    width: 152px;
    max-height: 52px;
  }

  .header-tool {
    display: inline-flex;
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    margin-left: auto;
  }

  .hero-section {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    width: min(calc(100% - 32px), 1100px);
    padding-block: 6.5rem 8rem;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-actions,
  .inner-hero-copy .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-principles {
    gap: 8px 16px;
    font-size: 0.82rem;
  }

  .inner-hero-grid {
    min-height: 650px;
    padding-block: 5rem;
  }

  .inner-hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .path-grid,
  .pricing-teaser-grid,
  .pricing-grid,
  .info-columns,
  .audience-grid,
  .values-grid,
  .gallery-grid,
  .documents-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 360px;
    padding: 30px;
  }

  .path-number {
    margin-bottom: 45px;
  }

  .audience-card,
  .value-card {
    min-height: auto;
  }

  .value-number {
    margin-bottom: 45px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
    padding: 28px 12px 35px 20px;
    border-top: 0;
    border-left: 4px solid var(--sos-color-primary);
  }

  .step-card:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -7px;
    left: -9px;
  }

  .profile-grid {
    gap: 35px;
  }

  .pricing-card-head,
  .info-card {
    padding: 30px 24px;
  }

  .price-table th,
  .price-table td {
    padding: 17px 22px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 27px 23px;
  }

  .gallery-card h3 {
    padding: 23px 23px 8px;
  }

  .gallery-card p {
    padding: 0 23px 24px;
  }

  .question-panel,
  .cta-panel,
  .empty-state {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }

  .legal-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-content {
    font-size: 0.98rem;
  }

  .form-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-line {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 4.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }

  .privacy-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .privacy-panel-inner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .privacy-actions {
    justify-content: stretch;
  }

  .privacy-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .scroll-cue {
    bottom: 14px;
  }
}

@media (max-width: 390px) {
  .site-brand img {
    width: 139px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .hero-content h1 {
    font-size: 2.65rem;
  }

  .button {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  :root {
    --sos-text-base: 12pt;
  }

  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .site-footer,
  .inner-hero,
  .accessibility-panel,
  .privacy-panel,
  .legal-toolbar,
  .section-cta,
  .skip-link {
    display: none !important;
  }

  .section,
  .legal-section {
    padding: 0;
  }

  .legal-container {
    width: 100%;
  }

  .legal-content {
    color: #000;
  }

  .legal-content h1 {
    font-size: 24pt;
  }

  .legal-content h2 {
    font-size: 16pt;
    break-after: avoid;
  }

  .print-section,
  .detail-row {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .inline-line,
  .signature-line,
  .blank-line {
    border-color: #000;
  }
}


/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(44px, 7vw, 100px);
}

.contact-details {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.contact-details > p:not(.section-kicker) {
  color: var(--sos-color-muted);
  font-size: 1.06rem;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 18px 20px;
  color: var(--sos-color-ink);
  background: var(--sos-color-soft);
  border: 1px solid var(--sos-color-line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

a.contact-method:hover {
  border-color: rgba(7, 45, 193, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.contact-method-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border-radius: 16px 10px 16px 10px;
}

.contact-method small {
  display: block;
  margin-bottom: 3px;
  color: var(--sos-color-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.contact-social {
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid var(--sos-color-line);
}

.contact-social h3 {
  font-size: 1.15rem;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form-card {
  padding: clamp(32px, 5vw, 58px);
  background:
    radial-gradient(circle at 100% 0, rgba(114, 220, 23, 0.1), transparent 26%),
    var(--sos-color-white);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-head {
  margin-bottom: 34px;
}

.contact-form-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-form-head > p:not(.section-kicker) {
  color: var(--sos-color-muted);
}

.contact-form {
  position: relative;
}

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

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--sos-color-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field label span,
.form-consent > span > span {
  color: #b1202a;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--sos-color-ink);
  background: var(--sos-color-white);
  border: 2px solid #cbd7e8;
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-field input,
.form-field select {
  min-height: 56px;
  padding: 12px 15px;
}

.form-field textarea {
  min-height: 170px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #91a7c7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sos-color-primary);
  box-shadow: 0 0 0 4px rgba(7, 45, 193, 0.12);
}

.form-field small {
  display: block;
  margin-top: 8px;
  color: var(--sos-color-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-consent {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 3px 0 26px;
  color: var(--sos-color-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  cursor: pointer;
}

.form-consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--sos-color-primary);
}

.form-consent a {
  color: var(--sos-color-primary);
  font-weight: 800;
}

.form-submit {
  width: 100%;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-notice {
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 2px solid;
  border-radius: 12px;
}

.form-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.form-notice p,
.form-notice ul {
  margin-bottom: 0;
}

.form-notice-success {
  color: #174d0f;
  background: #effce9;
  border-color: #59a843;
}

.form-notice-error {
  color: #7c1520;
  background: #fff1f2;
  border-color: #c6424f;
}

.form-notice a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-details {
    position: static;
  }
}

@media (max-width: 720px) {
  .contact-form-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-social-links .button {
    width: 100%;
  }
}

.error-page {
  display: grid;
  min-height: 72vh;
  place-items: center;
  color: var(--sos-color-white);
  background:
    radial-gradient(circle at 75% 25%, rgba(114, 220, 23, 0.2), transparent 30%),
    linear-gradient(145deg, #07112f, #072dc1);
  text-align: center;
}
.error-page-inner {
  padding-block: 7rem;
}
.error-page h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
}
.error-page p:not(.hero-kicker) {
  max-width: 700px;
  margin: 0 auto;
  color: #dce6ff;
  font-size: 1.12rem;
}
.error-page .hero-actions {
  margin-top: 34px;
}
.error-page .button-outline {
  color: #ffffff;
  border-color: #ffffff;
}
.error-page .button-outline:hover {
  color: var(--sos-color-primary);
  background: #ffffff;
}

/* Builder-created sections and elements */
.sos-custom-section {
  position: relative;
  padding-block: var(--section-space);
  color: var(--sos-color-ink);
  background: var(--sos-color-white);
}

.sos-custom-section:nth-of-type(even) {
  background: var(--sos-color-soft);
}

.sos-custom-section__inner {
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  gap: 22px;
}

.sos-custom-section__inner > h2,
.sos-custom-section__inner > h3,
.sos-custom-section__inner > h4,
.sos-custom-section__inner > p,
.sos-custom-section__inner > ul,
.sos-custom-section__inner > ol,
.sos-custom-section__inner > .sos-custom-richtext {
  max-width: 880px;
}

.sos-custom-section__inner > h2 {
  color: var(--sos-color-primary);
}

.sos-custom-section__inner > p,
.sos-custom-richtext p,
.sos-custom-section__inner > ul,
.sos-custom-section__inner > ol {
  color: var(--sos-color-muted);
}

.sos-custom-section figure {
  margin: 12px 0 0;
  overflow: hidden;
  background: var(--sos-color-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sos-custom-section figure img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.sos-custom-section figcaption {
  padding: 16px 20px;
  color: var(--sos-color-muted);
  font-size: var(--sos-text-small);
}

.sos-custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 14px 22px;
  color: var(--sos-color-white);
  background: var(--sos-color-primary);
  border: 2px solid var(--sos-color-primary);
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.sos-custom-button:hover {
  color: var(--sos-color-primary);
  background: var(--sos-color-white);
  transform: translateY(-3px);
}

.sos-custom-link {
  width: fit-content;
  color: var(--sos-color-primary);
  font-weight: 800;
}

.sos-custom-video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sos-color-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sos-custom-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sos-custom-section__inner > ul,
.sos-custom-richtext ul,
.sos-custom-section__inner > ol,
.sos-custom-richtext ol {
  padding-left: 1.3em;
}

.sos-custom-section__inner li + li,
.sos-custom-richtext li + li {
  margin-top: 8px;
}

.sos-custom-color-chip,
.sos-custom-data {
  width: fit-content;
  padding: 16px 18px;
  background: var(--sos-color-soft);
  border: 1px solid var(--sos-color-line);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.sos-custom-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sos-custom-color-chip span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 17, 47, 0.16);
  border-radius: 50%;
}

.sos-custom-json {
  max-width: 100%;
  margin: 0;
  padding: 22px;
  overflow: auto;
  color: var(--sos-color-white);
  background: var(--sos-color-ink);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .sos-custom-section__inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .sos-custom-button {
    width: 100%;
  }
}



/* Revision 2026-07-31: typography, image safety and document access */
:root {
  --sos-text-base: 17px;
  --sos-text-h1: clamp(2.65rem, 5.2vw, 5.25rem);
  --sos-text-h2: clamp(1.9rem, 3.25vw, 3.2rem);
  --sos-text-h3: clamp(1.25rem, 1.7vw, 1.62rem);
  --section-space: clamp(4.8rem, 8vw, 8rem);
}

.hero-background,
.inner-hero-wave {
  background-image: url("/assets/img/hero-waves.svg");
  background-position: center;
  background-size: cover;
}

.hero-background {
  opacity: 0.5;
}

.inner-hero-wave {
  opacity: 0.42;
}

.inner-hero-wave::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 20, 90, 0.66) 0%, rgba(3, 20, 90, 0.32) 48%, rgba(3, 20, 90, 0.04) 78%);
}

.inner-hero-center .inner-hero-wave::after,
.inner-hero-documents .inner-hero-wave::after,
.inner-hero-legal .inner-hero-wave::after {
  background: radial-gradient(circle at 50% 45%, rgba(3, 20, 90, 0.22), rgba(3, 20, 90, 0.5) 76%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1020px;
  padding-block: clamp(6rem, 11vh, 9rem);
}

.hero-content h1 {
  max-width: 930px;
  font-size: clamp(2.85rem, 5.7vw, 5.75rem);
  line-height: 1.04;
}

.hero-lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(1.03rem, 1.35vw, 1.25rem);
}

.hero-actions {
  margin-top: 32px;
}

.hero-principles {
  margin-top: 34px;
}

.hero-symbol {
  top: 15%;
  right: clamp(-150px, -8vw, -70px);
  width: clamp(220px, 25vw, 410px);
  opacity: 0.055;
}

.inner-hero {
  min-height: clamp(540px, 68vh, 720px);
}

.inner-hero-grid {
  gap: clamp(34px, 5vw, 74px);
  padding-block: clamp(5rem, 8vw, 7.2rem);
}

.inner-hero-copy {
  z-index: 4;
  min-width: 0;
  max-width: 760px;
}

.inner-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 4.65vw, 4.85rem);
  line-height: 1.045;
}

.inner-hero-copy .hero-lead {
  max-width: 700px;
}

.inner-hero-visual {
  z-index: 2;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.inner-hero-visual img {
  width: min(92%, 500px);
  max-height: 430px;
  object-fit: contain;
}

.section-header {
  max-width: 860px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-lead {
  max-width: 740px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.path-card h3 {
  font-size: clamp(1.45rem, 2.25vw, 2.15rem);
}

.pricing-teaser-card h3 {
  font-size: clamp(1.55rem, 2.25vw, 2.2rem);
}

.pricing-card-head h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

.info-card h2,
.detail-row h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.3rem);
}

.empty-state h2,
.question-panel h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
}

.story-grid > *,
.profile-grid > *,
.service-detail-grid > *,
.content-split > *,
.two-column-layout > *,
.split-heading > * {
  min-width: 0;
}

.story-visual,
.profile-visual,
.service-detail-visual {
  overflow: hidden;
  isolation: isolate;
}

.story-visual img,
.profile-visual img,
.service-detail-visual img,
.profile-image-frame img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.section-header,
.rich-content,
.rich-copy,
.service-detail .rich-content {
  position: relative;
  z-index: 2;
}



.footer-links a[href="/dokumenty/"],
.footer-links a[href="/karta-uczestnika/"] {
  color: var(--sos-color-accent);
  font-weight: 800;
}

.section-documents-access {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(114, 220, 23, 0.16), transparent 30%),
    linear-gradient(145deg, #f3f8ff, #ffffff 58%, #edf7ff);
  border-block: 1px solid rgba(7, 45, 193, 0.1);
}

.documents-access-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  margin-bottom: 38px;
}

.documents-access-heading .section-header {
  margin-bottom: 0;
}

.documents-access-heading .button {
  margin-bottom: 6px;
}

.document-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.document-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  color: var(--sos-color-ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--sos-color-line);
  border-top: 5px solid var(--sos-color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.document-shortcut::after {
  position: absolute;
  right: -56px;
  bottom: -72px;
  width: 170px;
  aspect-ratio: 1;
  content: "";
  background: var(--sos-color-secondary);
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.document-shortcut:hover {
  border-color: rgba(7, 45, 193, 0.36);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.document-shortcut-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  color: var(--sos-color-primary);
}

.document-shortcut-type {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--sos-color-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.document-shortcut h3,
.document-shortcut p,
.document-shortcut .text-link {
  position: relative;
  z-index: 1;
}

.document-shortcut h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.75vw, 1.7rem);
}

.document-shortcut p {
  color: var(--sos-color-muted);
}

.document-shortcut .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.documents-list-heading {
  max-width: 820px;
}

.document-card {
  min-height: 286px;
  color: var(--sos-color-ink);
  text-decoration: none;
}

.document-card .document-icon {
  margin-bottom: 26px;
}

.document-card h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.62rem);
}

.document-card .text-link {
  color: var(--sos-color-primary);
}

.document-card:hover .text-link,
.document-shortcut:hover .text-link {
  gap: 14px;
}

@media (max-width: 1180px) {
  .nav-list {
    gap: 11px;
  }

  .nav-list > li > a:not(.button) {
    font-size: 0.77rem;
  }
}

@media (max-width: 980px) {
  .inner-hero-grid {
    min-height: 600px;
  }

  .documents-access-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .documents-access-heading .button {
    width: fit-content;
    margin-bottom: 0;
  }

  .document-shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  :root {
    --sos-text-base: 16px;
    --sos-text-h1: clamp(2.2rem, 10.5vw, 3.6rem);
    --sos-text-h2: clamp(1.75rem, 8vw, 2.7rem);
    --sos-text-h3: clamp(1.2rem, 5vw, 1.5rem);
  }

  .hero-content {
    padding-block: 5.4rem 7.2rem;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 10.9vw, 3.85rem);
  }

  .hero-symbol {
    display: none;
  }

  .inner-hero-grid {
    min-height: 560px;
    padding-block: 4.4rem;
  }

  .inner-hero-copy h1 {
    font-size: clamp(2.25rem, 10.4vw, 3.6rem);
  }

  .document-shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .documents-access-heading .button {
    width: 100%;
  }

  .document-shortcut,
  .document-card {
    min-height: auto;
    padding: 26px 24px;
  }

  .document-shortcut-top {
    margin-bottom: 24px;
  }
}

@media (max-width: 390px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
}

/* Revision 2026-08-13: stronger Blue7Flow brand identity, key navigation and accessibility */
:root {
  --sos-color-silver: #bec0c2;
  --sos-color-silver-light: #eef1f4;
  --sos-color-azure-light: #dff4ff;
  --sos-color-cobalt-soft: #e9efff;
  --container: 1320px;
  --header-height: 112px;
  --sos-text-h1: clamp(2.75rem, 4.6vw, 5.15rem);
  --sos-text-h2: clamp(1.95rem, 3.15vw, 3.45rem);
  --shadow-brand: 0 26px 70px rgba(7, 45, 193, 0.22);
}

body {
  background:
    linear-gradient(90deg, rgba(47, 166, 222, 0.025), transparent 24%, transparent 76%, rgba(114, 220, 23, 0.025)),
    var(--sos-color-white);
}

.section {
  overflow: clip;
}

.section-light {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 166, 222, 0.09), transparent 30%),
    #ffffff;
}

.section-soft {
  background:
    radial-gradient(circle at 0% 100%, rgba(114, 220, 23, 0.1), transparent 32%),
    linear-gradient(145deg, #f1f7ff, #ffffff 58%, #eaf8ff);
}

.section-navy {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(114, 220, 23, 0.24), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(47, 166, 222, 0.34), transparent 34%),
    linear-gradient(135deg, #072dc1 0%, #0b58d0 58%, #2fa6de 100%);
}

.section-navy .section-kicker,
.section-navy .section-lead,
.section-navy .rich-content,
.section-navy .rich-content p,
.section-navy .rich-content li {
  color: #ffffff;
}

/* Header */
.site-header {
  height: var(--header-height);
  overflow: visible;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid rgba(7, 45, 193, 0.14);
  box-shadow: 0 10px 34px rgba(4, 31, 140, 0.08);
}

.header-brand-line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #072dc1 0 35%, #2fa6de 35% 70%, #72dc17 70% 88%, #bec0c2 88% 100%);
}

.header-inner {
  min-height: var(--header-height);
  padding-top: 5px;
  gap: clamp(18px, 2vw, 30px);
}

.site-brand {
  width: clamp(226px, 20vw, 290px);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.site-brand img {
  width: 100%;
  max-height: 82px;
  margin-block: -14px -18px;
  object-fit: contain;
  object-position: left center;
}

.site-brand-owner {
  position: relative;
  z-index: 2;
  margin-left: 23px;
  color: var(--sos-color-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand-owner::before {
  display: inline-block;
  width: 22px;
  height: 4px;
  margin-right: 8px;
  content: "";
  vertical-align: middle;
  background: var(--sos-color-accent);
  border-radius: 99px;
}

.nav-list {
  gap: clamp(9px, 0.95vw, 18px);
}

.nav-list > li > a:not(.button) {
  min-height: 44px;
  padding: 13px 0;
  font-size: clamp(0.72rem, 0.73vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-list > li > a:not(.button)::after {
  height: 4px;
  background: linear-gradient(90deg, var(--sos-color-secondary), var(--sos-color-accent));
  border-radius: 99px;
}

.header-tool {
  min-width: 54px;
  min-height: 52px;
  color: var(--sos-color-primary);
  background: var(--sos-color-cobalt-soft);
  border: 1px solid rgba(7, 45, 193, 0.14);
}

.header-tool:hover {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
}

.header-phone {
  min-height: 52px;
  background: linear-gradient(135deg, var(--sos-color-primary), #155bd7);
  border-color: var(--sos-color-primary);
}

.accessibility-panel {
  top: var(--header-height);
  color: var(--sos-color-ink);
  background: #ffffff;
  border-top: 4px solid var(--sos-color-accent);
  border-bottom: 1px solid rgba(7, 45, 193, 0.14);
  box-shadow: 0 20px 50px rgba(4, 31, 140, 0.14);
}

.accessibility-controls button {
  min-height: 48px;
  color: var(--sos-color-primary);
  background: var(--sos-color-soft);
  border: 2px solid rgba(7, 45, 193, 0.18);
}

.accessibility-controls button[aria-pressed="true"] {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-color: var(--sos-color-ink);
}

/* Branded home hero */
.brand-hero {
  position: relative;
  min-height: min(830px, calc(100svh - var(--header-height)));
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(105deg, #072dc1 0%, #072dc1 46%, #145fd4 46%, #2fa6de 70%, #eaf7ff 70%, #ffffff 100%);
  isolation: isolate;
}

.brand-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(125deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 44% 48%, transparent 48% 100%),
    radial-gradient(circle at 12% 82%, rgba(114, 220, 23, 0.24), transparent 24%);
  pointer-events: none;
}

.brand-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 74px;
  content: "";
  background: #ffffff;
  clip-path: polygon(0 76%, 28% 26%, 52% 62%, 77% 16%, 100% 56%, 100% 100%, 0 100%);
  pointer-events: none;
}

.brand-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  min-height: inherit;
  padding-block: clamp(4.8rem, 8vw, 7.2rem) clamp(7.6rem, 10vw, 9rem);
}

.brand-hero-copy {
  min-width: 0;
  max-width: 780px;
}


.hero-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 10px 0 22px;
  color: #ffffff;
  font-size: clamp(0.94rem, 1.1vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-owner::before {
  width: 46px;
  height: 6px;
  content: "";
  background: var(--sos-color-accent);
  border-radius: 99px;
  box-shadow: 0 0 24px rgba(114, 220, 23, 0.62);
}

.brand-hero .hero-kicker {
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.brand-hero-copy h1 {
  max-width: 770px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(2.9rem, 4.55vw, 5.35rem);
  line-height: 1.01;
  text-shadow: 0 5px 22px rgba(2, 20, 82, 0.24);
}

.brand-hero-copy .hero-lead {
  max-width: 690px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.66;
}

.brand-hero-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.brand-hero-copy .button-light {
  color: var(--sos-color-primary);
  border-color: #ffffff;
}

.brand-hero-copy .button-light:hover {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-color: var(--sos-color-accent);
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-credentials li {
  position: relative;
  padding-left: 22px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-credentials li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--sos-color-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  transform: translateY(-50%);
}

.brand-hero-media {
  position: relative;
  min-width: 0;
  padding: 12px 12px 0;
  color: var(--sos-color-ink);
}

.brand-hero-media::before {
  position: absolute;
  top: -28px;
  right: -30px;
  width: 58%;
  aspect-ratio: 1;
  content: "";
  background: rgba(114, 220, 23, 0.82);
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.7;
}

.brand-hero-media-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 43vw, 590px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 241, 247, 0.98)),
    #ffffff;
  border: 8px solid transparent;
  border-radius: 46px 14px 46px 14px;
  box-shadow: 0 34px 80px rgba(3, 22, 92, 0.3);
}

.brand-hero-media-frame::before {
  position: absolute;
  inset: -8px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, #ffffff, #bec0c2 28%, #ffffff 48%, #8c96a3 72%, #ffffff);
}

.brand-hero-media-frame::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 2px solid rgba(47, 166, 222, 0.34);
  border-radius: 30px 8px 30px 8px;
  pointer-events: none;
}

.brand-hero-media-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-height: 560px;
  padding: clamp(34px, 5vw, 72px);
  object-fit: contain;
  object-position: center;
}

.media-fluo-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 116px;
  height: 116px;
  background: linear-gradient(135deg, var(--sos-color-accent), #a2ff4a);
  clip-path: polygon(34% 0, 100% 0, 100% 66%);
}

.brand-hero-media-caption {
  position: relative;
  z-index: 3;
  width: calc(100% - 34px);
  margin: -29px auto 0;
  padding: 15px 20px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--sos-color-primary), var(--sos-color-secondary));
  border: 2px solid #ffffff;
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(4, 31, 140, 0.24);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.brand-hero .scroll-cue {
  z-index: 4;
  bottom: 36px;
  color: var(--sos-color-primary);
}

.brand-hero .scroll-cue span {
  border-color: var(--sos-color-primary);
}

/* Key navigation */
.brand-keys-section {
  position: relative;
  padding-top: clamp(4.6rem, 7vw, 7.2rem);
  background:
    radial-gradient(circle at 96% 4%, rgba(114, 220, 23, 0.17), transparent 27%),
    radial-gradient(circle at 4% 96%, rgba(47, 166, 222, 0.15), transparent 30%),
    linear-gradient(145deg, #ffffff, #f1f7ff 56%, #edf9ff);
  border-bottom: 1px solid rgba(7, 45, 193, 0.11);
}

.brand-keys-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-bottom: 42px;
}

.brand-keys-heading .section-header {
  margin-bottom: 0;
}

.brand-keys-symbol {
  width: clamp(110px, 12vw, 176px);
  opacity: 0.13;
}

.brand-keys-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 24px;
  padding: 10px 4px 16px;
}

.brand-key {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 94px;
  color: #ffffff;
  text-decoration: none;
  filter: drop-shadow(0 14px 22px rgba(7, 45, 193, 0.17));
  transition: transform var(--transition), filter var(--transition);
}

.brand-key:hover {
  text-decoration: none;
  transform: translateY(-6px) scale(1.012);
  filter: drop-shadow(0 20px 30px rgba(7, 45, 193, 0.28));
}

.brand-key:focus-visible {
  outline: 4px solid var(--sos-color-accent);
  outline-offset: 6px;
  border-radius: 50px 15px 15px 50px;
}

.brand-key-orbit {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  background: linear-gradient(145deg, #ffffff 0%, #bec0c2 30%, #f9fbfd 51%, #8f99a5 74%, #ffffff 100%);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(7, 17, 47, 0.12), 0 12px 25px rgba(4, 31, 140, 0.2);
}

.brand-key-orbit::before {
  position: absolute;
  inset: 9px;
  content: "";
  background: linear-gradient(145deg, var(--sos-color-primary), #0a64d9 52%, var(--sos-color-secondary));
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(3, 20, 90, 0.22);
}

.brand-key-orbit::after {
  position: absolute;
  right: -11px;
  width: 24px;
  height: 42px;
  content: "";
  background: var(--sos-color-primary);
  border-block: 3px solid #dfe4ea;
}

.brand-key-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
}

.brand-key-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-key-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 70px;
  margin-left: -15px;
  padding: 12px 16px 12px 32px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(135deg, #0529ad, #075cd1 56%, #2fa6de);
  border: 3px solid #d8dde2;
  border-left: 0;
  border-radius: 0 15px 15px 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.17);
}

.brand-key-body::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--sos-color-secondary), var(--sos-color-accent));
}

.brand-key-label {
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.15;
}

.brand-key-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  transition: transform var(--transition);
}

.brand-key:hover .brand-key-arrow {
  transform: translateX(3px);
}

/* Offer navigation and new service areas */
.service-jump-section {
  position: relative;
  z-index: 4;
  padding: 24px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 45, 193, 0.12);
  box-shadow: 0 16px 40px rgba(7, 45, 193, 0.07);
}

.service-jump-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-jump-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  color: var(--sos-color-primary);
  background: linear-gradient(145deg, #ffffff, var(--sos-color-silver-light));
  border: 2px solid var(--sos-color-silver);
  border-left: 7px solid var(--sos-color-accent);
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}

.service-jump-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sos-color-primary), var(--sos-color-secondary));
  border-color: var(--sos-color-primary);
}

.service-detail-azure {
  background:
    radial-gradient(circle at 92% 12%, rgba(114, 220, 23, 0.17), transparent 28%),
    linear-gradient(145deg, #e6f7ff, #ffffff 55%, #dff4ff);
}

.service-detail-silver {
  background:
    radial-gradient(circle at 5% 88%, rgba(47, 166, 222, 0.16), transparent 28%),
    linear-gradient(145deg, #edf0f3, #ffffff 52%, #e5e8ec);
  border-block: 1px solid rgba(7, 45, 193, 0.11);
}

.service-detail-silver .service-detail-number {
  color: var(--sos-color-primary);
  -webkit-text-stroke-color: rgba(7, 45, 193, 0.22);
}

/* New information pages */
.news-hero,
.schedule-hero,
.signup-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(114, 220, 23, 0.25), transparent 24%),
    linear-gradient(125deg, #072dc1 0%, #0b57d0 54%, #2fa6de 100%);
}

.brand-news-visual,
.signup-symbol-visual {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #edf2f6);
  border: 7px solid transparent;
  box-shadow: var(--shadow-brand);
}

.brand-news-visual img,
.signup-symbol-visual img {
  width: min(78%, 360px);
  max-height: 390px;
  object-fit: contain;
}

.news-main-heading {
  max-width: 930px;
}

.news-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 34px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(7, 45, 193, 0.14);
  border-top: 6px solid var(--sos-color-secondary);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.news-info-card:nth-child(2) {
  border-top-color: var(--sos-color-accent);
}

.news-info-card:nth-child(3) {
  border-top-color: var(--sos-color-silver);
}

.news-info-card::after {
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 190px;
  aspect-ratio: 1;
  content: "";
  background: var(--sos-color-secondary);
  border-radius: 50%;
  opacity: 0.08;
}

.news-card-index {
  position: relative;
  z-index: 1;
  color: var(--sos-color-primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.news-info-card h3,
.news-info-card p,
.news-info-card .text-link {
  position: relative;
  z-index: 1;
}

.news-info-card h3 {
  margin-top: 22px;
}

.news-info-card p {
  color: var(--sos-color-muted);
}

.news-info-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.schedule-calendar-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(114, 220, 23, 0.28), transparent 24%),
    linear-gradient(145deg, #ffffff, #e9eef4);
  border: 7px solid transparent;
  box-shadow: var(--shadow-brand);
}

.calendar-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82%, 390px);
  aspect-ratio: 1;
  color: #ffffff;
  background: linear-gradient(145deg, var(--sos-color-primary), var(--sos-color-secondary));
  border: 14px solid var(--sos-color-silver-light);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.32), 0 22px 48px rgba(4, 31, 140, 0.24);
  text-align: center;
}

.calendar-mark::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 3px solid var(--sos-color-accent);
  border-radius: 50%;
}

.calendar-mark span,
.calendar-mark strong,
.calendar-mark small {
  position: relative;
  z-index: 1;
  display: block;
}

.calendar-mark span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.calendar-mark strong {
  color: var(--sos-color-accent);
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  line-height: 0.98;
}

.calendar-mark small {
  font-size: 0.96rem;
  font-weight: 800;
}

.schedule-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-step-card {
  position: relative;
  min-height: 280px;
  padding: 34px 30px;
  background: #ffffff;
  border: 1px solid rgba(7, 45, 193, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.schedule-step-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--sos-color-primary);
  font-weight: 900;
}

.schedule-step-card p {
  color: var(--sos-color-muted);
}

.schedule-contact-section {
  background:
    radial-gradient(circle at 8% 88%, rgba(114, 220, 23, 0.24), transparent 28%),
    linear-gradient(135deg, var(--sos-color-primary), #0b5fd1 58%, var(--sos-color-secondary));
}

.schedule-contact-panel,
.signup-actions-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  color: #ffffff;
}

.schedule-contact-panel h2,
.schedule-contact-panel p {
  color: #ffffff;
}

.schedule-contact-actions {
  display: grid;
  gap: 12px;
}

.schedule-contact-actions .button {
  width: 100%;
}

.schedule-contact-actions .button-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.schedule-contact-actions .button-outline:hover {
  color: var(--sos-color-primary);
  background: #ffffff;
}

.schedule-availability-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(114, 220, 23, 0.2), transparent 30%),
    linear-gradient(135deg, #e7f7ff, #ffffff 52%, #edf2f6);
  border-block: 1px solid rgba(7, 45, 193, 0.12);
}

.schedule-availability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.signup-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.signup-process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signup-process-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(7, 45, 193, 0.14);
  border-left: 7px solid var(--sos-color-secondary);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.signup-process-list li:nth-child(2) {
  border-left-color: var(--sos-color-accent);
}

.signup-process-list li:nth-child(3) {
  border-left-color: var(--sos-color-silver);
}

.signup-step-number {
  color: var(--sos-color-primary);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.signup-process-list h3 {
  margin-bottom: 10px;
}

.signup-process-list p {
  margin-bottom: 0;
  color: var(--sos-color-muted);
}

.signup-actions-panel {
  color: var(--sos-color-ink);
}

.signup-actions-panel h2,
.signup-actions-panel p {
  color: var(--sos-color-ink);
}

.signup-action-grid {
  display: grid;
  gap: 12px;
}

.signup-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 16px;
  min-height: 92px;
  padding: 20px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sos-color-primary), var(--sos-color-secondary));
  border: 3px solid var(--sos-color-silver-light);
  border-left: 8px solid var(--sos-color-accent);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.signup-action-card:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.signup-action-card strong,
.signup-action-card span {
  grid-column: 1;
}

.signup-action-card span {
  font-size: 0.82rem;
  opacity: 0.92;
}

.signup-action-card .icon {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--sos-color-ink);
  background:
    radial-gradient(circle at 86% 0%, rgba(47, 166, 222, 0.14), transparent 27%),
    linear-gradient(145deg, #eef1f4, #ffffff 58%, #e7f6ff);
  border-top: 7px solid var(--sos-color-primary);
}

.footer-brand-wave {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--sos-color-primary), var(--sos-color-secondary), var(--sos-color-accent), var(--sos-color-silver));
}

.footer-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: clamp(34px, 5vw, 70px);
}

.footer-logo-plate {
  display: block;
  width: min(100%, 330px);
  margin: -38px 0 -24px -36px;
  padding: 0 28px;
  background: #ffffff;
  border: 1px solid rgba(190, 192, 194, 0.68);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(7, 45, 193, 0.09);
}

.footer-logo-plate img {
  width: 100%;
  max-height: 136px;
  object-fit: contain;
}

.footer-owner {
  display: block;
  margin: 2px 0 14px;
  color: var(--sos-color-primary);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-list,
.footer-list a,
.footer-links a,
.footer-link-button {
  color: var(--sos-color-ink);
}

.footer-heading {
  color: var(--sos-color-primary);
}

.footer-heading::after {
  background: linear-gradient(90deg, var(--sos-color-accent), var(--sos-color-secondary));
}

.footer-links a:hover,
.footer-list a:hover,
.footer-link-button:hover {
  color: var(--sos-color-primary);
}

.footer-links a[href="/dokumenty/"],
.footer-links a[href="/karta-uczestnika/"] {
  color: var(--sos-color-primary);
  text-decoration: underline;
  text-decoration-color: var(--sos-color-accent);
  text-decoration-thickness: 3px;
}

.social-links a {
  color: #ffffff;
  background: var(--sos-color-primary);
  border: 2px solid var(--sos-color-primary);
}

.social-links a:hover {
  color: var(--sos-color-ink);
  background: var(--sos-color-accent);
  border-color: var(--sos-color-accent);
}

.footer-bottom-wrap {
  position: relative;
  z-index: 2;
  color: #ffffff;
  background: linear-gradient(90deg, var(--sos-color-primary-dark), var(--sos-color-primary));
  border-top: 0;
}

.footer-bottom,
.footer-bottom a {
  color: #ffffff;
}

/* Accessibility states */
html[data-a11y-text="1"] {
  --sos-text-base: 20px;
  --sos-text-h1: clamp(3rem, 5vw, 5.6rem);
  --sos-text-h2: clamp(2.2rem, 3.6vw, 3.8rem);
}

html[data-a11y-text="1"] .container,
html[data-a11y-text="1"] .narrow,
html[data-a11y-text="1"] .narrow-wide {
  max-width: 1180px;
}

html[data-a11y-text="1"] .nav-list > li > a:not(.button) {
  font-size: 0.88rem;
}

html[data-a11y-links="1"] a:not(.button):not(.brand-key):not(.signup-action-card) {
  text-decoration: underline !important;
  text-decoration-thickness: 0.14em !important;
  text-underline-offset: 0.2em !important;
}

html[data-a11y-contrast="1"] body,
html[data-a11y-contrast="1"] .section,
html[data-a11y-contrast="1"] .section-light,
html[data-a11y-contrast="1"] .section-soft,
html[data-a11y-contrast="1"] .site-header,
html[data-a11y-contrast="1"] .site-nav,
html[data-a11y-contrast="1"] .nav-list,
html[data-a11y-contrast="1"] .site-footer,
html[data-a11y-contrast="1"] .accessibility-panel {
  color: #000000 !important;
  background: #ffffff !important;
  background-image: none !important;
}

html[data-a11y-contrast="1"] h1,
html[data-a11y-contrast="1"] h2,
html[data-a11y-contrast="1"] h3,
html[data-a11y-contrast="1"] p,
html[data-a11y-contrast="1"] li,
html[data-a11y-contrast="1"] a:not(.button),
html[data-a11y-contrast="1"] .hero-kicker,
html[data-a11y-contrast="1"] .section-kicker,
html[data-a11y-contrast="1"] .section-lead,
html[data-a11y-contrast="1"] .rich-content,
html[data-a11y-contrast="1"] .rich-content p,
html[data-a11y-contrast="1"] .footer-heading,
html[data-a11y-contrast="1"] .footer-owner {
  color: #000000 !important;
  text-shadow: none !important;
}

html[data-a11y-contrast="1"] .button,
html[data-a11y-contrast="1"] .accessibility-controls button,
html[data-a11y-contrast="1"] .brand-key-body,
html[data-a11y-contrast="1"] .signup-action-card {
  color: #000000 !important;
  background: #ffff00 !important;
  background-image: none !important;
  border: 3px solid #000000 !important;
  box-shadow: none !important;
}

html[data-a11y-contrast="1"] .brand-key-orbit,
html[data-a11y-contrast="1"] .brand-key-orbit::before,
html[data-a11y-contrast="1"] .brand-key-arrow,
html[data-a11y-contrast="1"] .schedule-step-card > span {
  color: #000000 !important;
  background: #ffff00 !important;
  background-image: none !important;
  border-color: #000000 !important;
}

html[data-a11y-contrast="1"] .brand-hero-media-caption,
html[data-a11y-contrast="1"] .footer-bottom-wrap {
  color: #ffffff !important;
  background: #000000 !important;
}

html[data-a11y-contrast="1"] :focus-visible {
  outline: 5px solid #ff00ff !important;
  outline-offset: 5px !important;
  box-shadow: none !important;
}

html[data-a11y-motion="1"] *,
html[data-a11y-motion="1"] *::before,
html[data-a11y-motion="1"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

html[data-a11y-motion="1"] .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsive brand system */
@media (max-width: 1260px) {
  :root {
    --header-height: 100px;
  }

  .site-brand {
    width: 232px;
  }

  .site-brand-owner {
    margin-left: 16px;
    font-size: 0.63rem;
  }

  .header-tool span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-phone span {
    font-size: 0.8rem;
  }

  .nav-list {
    gap: 10px;
  }
}

@media (max-width: 1100px) {
  .header-phone {
    display: none;
  }

  .site-brand {
    width: 218px;
  }

  .brand-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.8fr);
    gap: 42px;
  }

  .brand-keys-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 88px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    min-height: var(--header-height);
    padding-inline: 18px;
  }

  .site-brand {
    width: min(58vw, 230px);
  }

  .site-brand img {
    max-height: 70px;
    margin-block: -15px -20px;
  }

  .site-brand-owner {
    margin-left: 14px;
    font-size: 0.58rem;
  }

  .header-actions {
    gap: 8px;
  }

  .site-nav {
    top: var(--header-height);
    width: 100%;
    background: #ffffff;
    border-top: 5px solid var(--sos-color-accent);
  }

  .nav-list {
    width: 100%;
    padding: 15px 18px 44px;
    background: #ffffff;
  }

  .nav-list > li > a:not(.button) {
    min-height: 58px;
    padding: 17px 14px;
    color: var(--sos-color-ink);
    font-size: 1rem;
  }

  .nav-list > li > a:not(.button):hover,
  .nav-list > li > a[aria-current="page"] {
    color: var(--sos-color-primary);
    background: var(--sos-color-soft);
    border-left: 5px solid var(--sos-color-accent);
  }

  .menu-toggle {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--sos-color-primary);
  }

  .brand-hero {
    min-height: auto;
    background: linear-gradient(155deg, #072dc1 0%, #0b56ce 58%, #2fa6de 100%);
  }

  .brand-hero::after {
    height: 52px;
  }

  .brand-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 4.7rem 7rem;
  }

  .brand-hero-copy {
    max-width: 780px;
  }


  .brand-hero-media {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .brand-hero-media-frame {
    min-height: 440px;
  }

  .brand-hero .scroll-cue {
    display: none;
  }

  .service-jump-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-info-grid,
  .schedule-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-info-card:last-child,
  .schedule-step-card:last-child {
    grid-column: 1 / -1;
  }

  .schedule-contact-panel,
  .signup-actions-panel,
  .signup-process-grid,
  .schedule-availability-grid {
    grid-template-columns: 1fr;
  }

  .schedule-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 82px;
    --sos-text-h1: clamp(2.25rem, 10.2vw, 3.55rem);
    --sos-text-h2: clamp(1.78rem, 7.9vw, 2.75rem);
  }

  .header-inner {
    padding-inline: 14px;
  }

  .site-brand {
    width: min(54vw, 210px);
  }

  .site-brand img {
    max-height: 64px;
    margin-block: -13px -18px;
  }

  .site-brand-owner {
    margin-left: 12px;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .site-brand-owner::before {
    width: 14px;
    height: 3px;
    margin-right: 5px;
  }

  .header-tool,
  .menu-toggle {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
  }

  .accessibility-panel {
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
  }

  .accessibility-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .accessibility-controls button {
    width: 100%;
  }

  .brand-hero-grid {
    padding-block: 3.9rem 6rem;
  }


  .hero-owner {
    margin-top: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .brand-hero-copy h1 {
    font-size: clamp(2.35rem, 10.4vw, 3.7rem);
  }

  .brand-hero-copy .hero-actions,
  .schedule-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-hero-copy .button,
  .schedule-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-credentials {
    display: grid;
    gap: 10px;
  }

  .brand-hero-media-frame {
    min-height: 360px;
    border-width: 6px;
    border-radius: 34px 10px 34px 10px;
  }

  .brand-hero-media-image {
    max-height: 420px;
    padding: 40px;
  }

  .brand-hero-media-caption {
    width: calc(100% - 20px);
    margin-top: -20px;
    font-size: 0.76rem;
  }

  .brand-keys-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-keys-symbol {
    display: none;
  }

  .brand-keys-grid,
  .service-jump-nav,
  .news-info-grid,
  .schedule-steps-grid {
    grid-template-columns: 1fr;
  }

  .news-info-card:last-child,
  .schedule-step-card:last-child {
    grid-column: auto;
  }

  .brand-key {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 84px;
  }

  .brand-key-orbit {
    width: 84px;
    height: 84px;
  }

  .brand-key-body {
    min-height: 64px;
    padding-left: 27px;
  }

  .brand-key-label {
    font-size: 0.82rem;
  }

  .service-jump-nav a {
    min-height: 54px;
  }

  .news-info-card,
  .schedule-step-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .signup-process-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 22px;
  }

  .signup-step-number {
    font-size: 1.05rem;
  }

  .schedule-contact-actions .button {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo-plate {
    width: min(100%, 340px);
  }
}

@media (max-width: 390px) {
  .site-brand {
    width: 178px;
  }

  .site-brand-owner {
    font-size: 0.48rem;
  }

  .header-tool,
  .menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .brand-key {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .brand-key-orbit {
    width: 76px;
    height: 76px;
  }

  .brand-key-icon {
    width: 38px;
    height: 38px;
  }

  .brand-key-body {
    min-height: 60px;
    padding-right: 11px;
    padding-left: 24px;
  }

  .brand-key-arrow {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-key,
  .brand-key-arrow,
  .signup-action-card {
    transition: none;
  }
}

/* Exact supplied logo mark with transparent source margins trimmed for web display */
.site-brand img {
  max-height: 68px;
  margin-block: 0;
}


.footer-logo-plate {
  margin: 0 0 18px;
  padding: 18px 24px;
}

.footer-logo-plate img {
  max-height: 94px;
}

@media (max-width: 980px) {
  .site-brand img {
    max-height: 58px;
    margin-block: 0;
  }
}

@media (max-width: 720px) {
  .site-brand {
    width: min(57vw, 220px);
  }

  .site-brand img {
    max-height: 54px;
    margin-block: 0;
  }

}

@media (max-width: 390px) {
  .site-brand {
    width: 190px;
  }
}
