:root {
  --white: #f7fbff;
  --ink-soft: rgba(233, 244, 255, 0.9);
  --ink-faint: rgba(215, 232, 252, 0.76);
  --primary: #7bbfff;
  --primary-strong: #58a9ff;
  --accent: #c2e2ff;
  --transition: 240ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 22% -12%, rgba(70, 137, 228, 0.42), transparent 46%),
    linear-gradient(180deg, #0f2d5f 0%, #0b234a 40%, #081a38 100%);
}

body.content-pending .site-header,
body.content-pending main,
body.content-pending .chat-fab,
body.content-pending .chat-drawer,
body.content-pending .chat-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: none !important;
}

body:not(.content-pending) .site-header,
body:not(.content-pending) main,
body:not(.content-pending) .chat-fab {
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 52px);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(0);
  transition: transform 260ms ease, opacity 260ms ease;
}

.site-header::before {
  display: none;
}

.site-header.is-hidden {
  transform: translateY(-115%);
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-domain {
  position: relative;
  display: inline-block;
  font-family: "Noto Sans JP", "Manrope", sans-serif;
  font-size: clamp(1.42rem, 2.03vw, 1.54rem);
  font-weight: 730;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(222, 241, 255, 0.55),
    0 0 26px rgba(156, 212, 255, 0.38),
    0 0 44px rgba(124, 195, 255, 0.23);
  isolation: isolate;
}

.brand-domain::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    108deg,
    rgba(255, 255, 255, 0) 43.5%,
    rgba(255, 255, 255, 0.24) 47.7%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.24) 52.3%,
    rgba(255, 255, 255, 0) 56.5%
  );
  background-size: 220% 100%;
  background-position: 122% 0;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  animation: domain-shimmer 2.8s cubic-bezier(0.38, 0.1, 0.22, 1) infinite;
  pointer-events: none;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  color: rgba(231, 244, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.site-nav a.is-active {
  color: #f4faff;
}

.nav-icon {
  display: none;
  width: 16px;
  height: 16px;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-label {
  display: inline-block;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(186, 224, 255, 0.32);
  background: linear-gradient(135deg, rgba(33, 107, 214, 0.6), rgba(63, 143, 247, 0.42));
  color: #eef7ff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  box-shadow: 0 10px 22px rgba(20, 74, 158, 0.2);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.header-phone::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #d1ebff;
  animation: soft-dot-pulse 5.4s ease-in-out infinite, soft-dot-wave 5.4s ease-out infinite;
}

.header-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(219, 240, 255, 0.28);
  filter: blur(1.6px);
  opacity: 0.7;
  pointer-events: none;
}

.header-phone:hover,
.header-phone:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(38, 112, 214, 0.28);
}

@media (min-width: 981px) {
  body.has-side-nav .site-header {
    top: 50%;
    left: 20px;
    right: auto;
    width: auto;
    padding: 10px;
    gap: 0;
    border-radius: 22px;
    border: 1px solid rgba(191, 228, 255, 0.3);
    background: rgba(11, 43, 97, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    isolation: isolate;
    transform: translateY(-50%);
  }

  body.has-side-nav .site-header::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(208, 233, 255, 0.16);
    border-radius: inherit;
    border-color: rgba(211, 237, 255, 0.34);
    filter: blur(2.2px);
    opacity: 0.76;
    pointer-events: none;
  }

  body.has-side-nav .site-header.is-hidden {
    transform: translateY(-50%);
    opacity: 1;
  }

  body.has-side-nav .brand,
  body.has-side-nav .header-phone {
    display: none;
  }

  body.has-side-nav .site-nav {
    flex-direction: column;
    gap: 10px;
  }

  body.has-side-nav .site-nav a {
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(186, 224, 255, 0.26);
    background: linear-gradient(145deg, rgba(34, 103, 197, 0.52), rgba(20, 69, 145, 0.48));
    box-shadow: 0 10px 22px rgba(3, 19, 46, 0.3);
    transition: transform 260ms ease, border-color var(--transition), background-color var(--transition);
  }

  body.has-side-nav .site-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(214, 238, 255, 0.32);
    filter: blur(1.8px);
    opacity: 0.68;
    pointer-events: none;
  }

  body.has-side-nav .site-nav a:hover,
  body.has-side-nav .site-nav a:focus-visible {
    transform: translateY(-1px);
  }

  body.has-side-nav .site-nav a::after {
    display: none;
  }

  body.has-side-nav .site-nav a.is-active {
    border-color: rgba(198, 231, 255, 0.52);
    background: linear-gradient(145deg, rgba(73, 152, 255, 0.82), rgba(39, 113, 222, 0.72));
  }

  body.has-side-nav .nav-icon {
    display: grid;
    width: 17px;
    height: 17px;
  }

  body.has-side-nav .nav-label {
    position: absolute;
    top: 50%;
    left: 54px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(203, 236, 255, 0.42);
    background: linear-gradient(145deg, rgba(68, 149, 249, 0.88), rgba(41, 112, 219, 0.84));
    color: #f4f9ff;
    font-size: 0.81rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translate3d(-14px, -50%, 0) scale(0.95);
    transform-origin: left center;
    filter: blur(6px);
    will-change: transform, opacity, filter;
    box-shadow: 0 12px 24px rgba(15, 49, 104, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    transition:
      opacity 280ms cubic-bezier(0.22, 0.8, 0.2, 1),
      transform 360ms cubic-bezier(0.2, 0.86, 0.24, 1.04),
      filter 320ms cubic-bezier(0.2, 0.86, 0.24, 1.04);
  }

  body.has-side-nav .nav-label::before {
    content: "";
    position: absolute;
    inset: -7px -8px;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 50%, rgba(176, 228, 255, 0.42), transparent 58%);
    filter: blur(9px);
    opacity: 0.62;
  }

  body.has-side-nav .nav-label::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.03));
    opacity: 0;
    transform: translateX(-26%) scale(0.96);
    transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.86, 0.24, 1.04);
  }

  body.has-side-nav .site-nav a:hover .nav-label,
  body.has-side-nav .site-nav a:focus-visible .nav-label,
  body.has-side-nav .site-nav a.is-label-visible .nav-label {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1);
    filter: blur(0);
  }

  body.has-side-nav .site-nav a:hover .nav-label::after,
  body.has-side-nav .site-nav a:focus-visible .nav-label::after,
  body.has-side-nav .site-nav a.is-label-visible .nav-label::after {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #f3f9ff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.button-secondary {
  position: relative;
  color: #eaf5ff;
  border: 1px solid rgba(188, 225, 255, 0.28);
  background: rgba(11, 41, 94, 0.25);
}

.button-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(219, 241, 255, 0.24);
  filter: blur(1.8px);
  opacity: 0.7;
  pointer-events: none;
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}

main {
  scroll-snap-type: y mandatory;
}

.slide {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  margin: 0;
  border: 0;
  isolation: isolate;
  scroll-snap-align: start;
}

.slide::before {
  content: "";
  position: absolute;
  inset: -2px -2% auto;
  height: clamp(170px, 22vh, 290px);
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 111, 188, 0.42) 0%, rgba(60, 133, 207, 0.24) 52%, rgba(112, 180, 245, 0) 100%);
  filter: blur(11px);
  pointer-events: none;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto -2% -2px;
  height: clamp(180px, 24vh, 310px);
  z-index: 1;
  background: linear-gradient(0deg, rgba(45, 109, 186, 0.44) 0%, rgba(64, 136, 209, 0.26) 48%, rgba(112, 180, 245, 0) 100%);
  filter: blur(12px);
  pointer-events: none;
}

.image-slide {
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  animation: slow-pan 26s ease-in-out infinite alternate;
}

.soft-focus-slide {
  background-image: none;
  animation: none;
}

.slide-photo-soft {
  position: absolute;
  inset: -2%;
  z-index: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(4px) saturate(0.82) brightness(0.72);
  transform: scale(1.06);
  opacity: 0.38;
}

.slide-media,
.slide-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  animation: hero-breath 20s ease-in-out infinite alternate;
}

.contact-media {
  filter: blur(3.4px) saturate(0.92) brightness(0.63);
  transform: scale(1.05);
}

.slide-shade {
  background:
    radial-gradient(circle at 15% 18%, rgba(183, 226, 255, 0.14), transparent 40%),
    linear-gradient(108deg, rgba(28, 92, 170, 0.56) 0%, rgba(75, 153, 225, 0.34) 44%, rgba(134, 198, 245, 0.18) 100%);
  filter: saturate(0.94);
}

.slide-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.9) 0.45px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.9) 0.45px, transparent 0.7px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1.5px 1.5px;
}

.hero-slide .slide-shade {
  background:
    radial-gradient(circle at 15% 18%, rgba(178, 221, 252, 0.13), transparent 40%),
    linear-gradient(108deg, rgba(24, 82, 154, 0.62) 0%, rgba(68, 146, 217, 0.32) 44%, rgba(129, 193, 239, 0.17) 100%);
}

#dla-kogo .slide-shade {
  background:
    radial-gradient(circle at 16% 30%, rgba(185, 228, 255, 0.16), transparent 46%),
    linear-gradient(112deg, rgba(32, 99, 176, 0.58) 0%, rgba(82, 156, 227, 0.36) 50%, rgba(133, 198, 244, 0.2) 100%);
}

#proces .slide-shade {
  background:
    radial-gradient(circle at 78% 24%, rgba(178, 222, 255, 0.18), transparent 44%),
    linear-gradient(118deg, rgba(28, 94, 173, 0.58) 0%, rgba(74, 150, 223, 0.36) 50%, rgba(127, 193, 240, 0.2) 100%);
}

#portfolio .slide-shade {
  background:
    radial-gradient(circle at 20% 18%, rgba(188, 230, 255, 0.16), transparent 42%),
    linear-gradient(104deg, rgba(28, 93, 171, 0.56) 0%, rgba(80, 154, 224, 0.34) 54%, rgba(134, 198, 244, 0.2) 100%);
}

#kontakt .slide-shade {
  background:
    radial-gradient(circle at 22% 20%, rgba(176, 225, 255, 0.16), transparent 42%),
    linear-gradient(104deg, rgba(24, 84, 160, 0.6) 0%, rgba(70, 145, 217, 0.38) 48%, rgba(124, 189, 237, 0.22) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - clamp(36px, 8vw, 144px)));
  min-height: 100%;
  margin: 0 auto;
  display: grid;
  align-content: end;
  gap: 20px;
  padding: clamp(118px, 20vh, 188px) 0 clamp(48px, 9vh, 90px);
}

.hero-content {
  max-width: 780px;
  align-content: center;
}

.slide:not(.hero-slide) .slide-content {
  align-content: start;
  padding-top: clamp(138px, 18vh, 182px);
  padding-bottom: clamp(52px, 10vh, 104px);
}

#dla-kogo,
#portfolio {
  background: #ffffff;
  background-image: none !important;
  animation: none;
}

#dla-kogo::before,
#dla-kogo::after,
#portfolio::before,
#portfolio::after {
  display: none;
}

#dla-kogo .slide-shade,
#portfolio .slide-shade,
#dla-kogo .slide-photo-soft,
#portfolio .slide-photo-soft {
  display: none;
}

#dla-kogo .slide-content,
#portfolio .slide-content {
  align-content: start;
  padding-top: clamp(132px, 17vh, 176px);
}

.white-panel {
  max-width: 1120px;
}

#dla-kogo .eyebrow,
#portfolio .eyebrow {
  color: #4a6a96;
}

#dla-kogo h2,
#portfolio h2 {
  color: #102f62;
  text-shadow: none;
  max-width: 16ch;
}

#dla-kogo .lead,
#portfolio .lead {
  color: #3f5e87;
  max-width: 62ch;
}

#dla-kogo .pill-grid {
  margin-top: 2px;
  max-width: 880px;
}

#dla-kogo .pill-grid div {
  color: #1d3f70;
  font-weight: 700;
}

#dla-kogo .pill-grid div::before {
  background: #3a7fd5;
  animation: soft-dot-pulse 5.4s ease-in-out infinite, soft-dot-wave 5.4s ease-out infinite;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.reference-tile {
  position: relative;
  min-height: 138px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(43, 103, 177, 0.17);
  background: linear-gradient(180deg, #edf5ff, #f7fbff);
  box-shadow: 0 10px 24px rgba(18, 61, 120, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.reference-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(66, 124, 196, 0.13);
  filter: blur(2.75px);
  opacity: 0.72;
  pointer-events: none;
}

.reference-tile.reference-clickable {
  cursor: pointer;
}

.reference-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.reference-tile.has-media {
  border-color: rgba(53, 115, 193, 0.28);
}

.reference-tile.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 20, 43, 0.08), rgba(7, 24, 50, 0.24));
  pointer-events: none;
}

.reference-tile.has-image .reference-media {
  background-image: var(--reference-image);
  background-size: cover;
  background-position: center;
}

.reference-tile.has-pdf .reference-media {
  background: #f9fbff;
}

.reference-pdf-preview {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.reference-tile:not(.has-media)::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(214, 230, 248, 0.36), rgba(244, 249, 255, 0.62)),
    repeating-linear-gradient(45deg, rgba(53, 116, 193, 0.07) 0 10px, rgba(255, 255, 255, 0.62) 10px 20px);
  z-index: 1;
  pointer-events: none;
}

.book-cover-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.book-slot {
  margin: 0;
  display: grid;
  gap: 10px;
}

.book-cover-placeholder {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  border: 1px dashed rgba(50, 109, 179, 0.26);
  background:
    linear-gradient(160deg, rgba(222, 236, 252, 0.92), rgba(243, 248, 255, 0.98)),
    repeating-linear-gradient(45deg, rgba(56, 120, 192, 0.09) 0 10px, rgba(255, 255, 255, 0.5) 10px 20px);
  box-shadow:
    0 12px 26px rgba(18, 57, 108, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  isolation: isolate;
}

.book-cover-placeholder.has-image {
  border: 1px solid rgba(50, 109, 179, 0.22);
  background: #dce9fa;
}

.book-cover-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(70, 128, 198, 0.2);
  filter: blur(2.75px);
  opacity: 0.72;
  pointer-events: none;
}

.book-cover-placeholder.has-image::before {
  display: none;
}

.book-cover-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.book-slot figcaption {
  margin: 0;
  color: #3a5d88;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.content-panel,
.contact-copy,
.contact-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  padding: 0;
}

.content-panel {
  max-width: 860px;
}

.eyebrow {
  margin: 0;
  color: rgba(192, 222, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5.9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #f4f9ff;
  max-width: 11.5ch;
  text-wrap: balance;
  text-shadow: 0 18px 42px rgba(3, 19, 53, 0.38);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f5faff;
  max-width: 15ch;
  text-wrap: balance;
}

h3 {
  font-size: 1rem;
  line-height: 1.3;
  color: #f2f8ff;
}

.lead {
  margin: 0;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.62;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}

.kpi-row article {
  display: grid;
  gap: 6px;
  min-width: 170px;
  padding-left: 14px;
  border-left: 1px solid rgba(201, 230, 255, 0.44);
}

.kpi-row strong {
  color: #f3f9ff;
  font-size: 1.03rem;
}

.kpi-row span {
  color: var(--ink-faint);
  font-size: 0.89rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  max-width: 700px;
}

.pill-grid div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(233, 245, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 600;
}

.pill-grid div::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: soft-dot-pulse 5.4s ease-in-out infinite, soft-dot-wave 5.4s ease-out infinite;
}

.process-timeline {
  position: relative;
  max-width: 980px;
  min-height: 520px;
  margin-top: 16px;
}

.process-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.process-path path {
  fill: none;
  stroke: rgba(168, 215, 255, 0.7);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 9;
  filter: drop-shadow(0 0 14px rgba(141, 200, 255, 0.28));
}

.step-card {
  position: relative;
  z-index: 1;
  width: min(300px, 38vw);
  padding: 12px 14px 13px;
  border: 1px solid rgba(190, 225, 255, 0.38);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 45, 98, 0.6), rgba(21, 66, 130, 0.35));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 14px 28px rgba(2, 18, 45, 0.24);
}

.timeline-step {
  position: absolute;
}

.timeline-step.step-1 {
  top: 24px;
  left: 18px;
}

.timeline-step.step-2 {
  top: 102px;
  right: 8px;
}

.timeline-step.step-3 {
  top: 258px;
  left: 120px;
}

.timeline-step.step-4 {
  top: 352px;
  right: 40px;
}

.step-card span {
  display: block;
  margin-bottom: 8px;
  color: #93ccff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-card p {
  margin: 6px 0 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
  line-height: 1.5;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
  max-width: 980px;
}

.proof-grid article {
  padding-left: 14px;
  border-left: 1px solid rgba(195, 227, 255, 0.43);
}

.proof-grid strong {
  display: block;
  color: #eef7ff;
  font-size: 0.97rem;
}

.proof-grid p {
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
  line-height: 1.56;
}

.contact-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(20px, 2.6vw, 30px);
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(194, 226, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(22, 56, 120, 0.3), rgba(14, 41, 94, 0.18));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 58px rgba(3, 18, 49, 0.28);
  isolation: isolate;
}

.contact-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(222, 242, 255, 0.23);
  filter: blur(2.75px);
  opacity: 0.7;
  pointer-events: none;
}

.contact-line {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.62;
  text-align: center;
}

.contact-line a {
  color: #a7d6ff;
  font-weight: 700;
}

.contact-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  width: min(640px, 100%);
  margin: 0 auto;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-copy .lead {
  max-width: 44ch;
}

.contact-microcopy {
  margin: 0;
  color: rgba(204, 231, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.contact-form {
  width: min(640px, 100%);
  margin: 0 auto;
}

.form-intro {
  margin: 0 0 6px;
  color: rgba(209, 233, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-main-fields {
  margin-bottom: 2px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(214, 236, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(175, 219, 255, 0.38);
  border-radius: 14px;
  background: rgba(9, 34, 79, 0.34);
  color: #f2f8ff;
  font-size: 1rem;
  line-height: 1.2;
  outline: 0;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(194, 224, 255, 0.62);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8ec8ff;
  background: rgba(12, 45, 101, 0.42);
}

.field-full {
  margin-top: 8px;
}

.contact-form textarea {
  min-height: 128px;
  padding: 12px 14px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: rgba(205, 230, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.cta-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.cta-reassurance span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 229, 255, 0.34);
  background: linear-gradient(135deg, rgba(52, 126, 229, 0.26), rgba(35, 94, 186, 0.2));
  color: #ebf6ff;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.contact-form-actions .contact-submit-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 62px;
  padding: 0 28px;
  border: 1px solid rgba(214, 255, 223, 0.62);
  color: #f8fff9;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #58e981 0%, #37d767 42%, #2ac45a 100%);
  box-shadow:
    0 18px 34px rgba(27, 113, 52, 0.3),
    0 0 0 1px rgba(205, 255, 217, 0.24) inset;
  transition:
    transform 240ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    border-color 220ms ease;
}

.contact-form-actions .contact-submit-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 46%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.contact-form-actions .contact-submit-cta::after {
  content: "";
  position: absolute;
  top: -15%;
  bottom: -15%;
  width: 42%;
  left: -50%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.64) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.58;
  filter: blur(2px);
  transform: skewX(-18deg);
  animation: cta-gloss-sweep 2.8s cubic-bezier(0.32, 0.08, 0.18, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

.contact-form-actions .contact-submit-cta:hover,
.contact-form-actions .contact-submit-cta:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #63ee8b 0%, #41dd70 42%, #30ca5f 100%);
  box-shadow:
    0 22px 40px rgba(31, 122, 57, 0.35),
    0 0 0 1px rgba(214, 255, 224, 0.34) inset;
}

.contact-form-actions .contact-submit-cta:focus-visible {
  outline: 2px solid rgba(231, 255, 238, 0.9);
  outline-offset: 2px;
}

.contact-form-actions .contact-submit-cta:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.contact-form-actions .button-secondary {
  width: 100%;
  min-height: 44px;
}

.form-note {
  margin: 12px 0 0;
  color: rgba(204, 230, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  display: none !important;
}

.site-footer p {
  margin: 0;
}

.photo-credits a {
  color: #8fcbff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 160;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(180, 220, 255, 0.4);
  background: linear-gradient(135deg, rgba(39, 117, 224, 0.96), rgba(27, 88, 186, 0.92));
  color: #f4faff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(8, 36, 82, 0.45);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.chat-fab:hover,
.chat-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(9, 40, 88, 0.5);
}

.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(2, 10, 22, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.chat-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.chat-drawer {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 170;
  width: min(380px, calc(100vw - 24px));
  border-radius: 20px;
  border: 1px solid rgba(187, 226, 255, 0.34);
  background: linear-gradient(180deg, rgba(10, 37, 82, 0.96), rgba(8, 30, 67, 0.95));
  box-shadow: 0 24px 54px rgba(4, 16, 40, 0.58);
  padding: 12px;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 220ms ease;
}

.chat-drawer.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #f2f8ff;
}

.chat-drawer-header strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(191, 229, 255, 0.35);
  background: rgba(14, 45, 95, 0.9);
  color: #edf7ff;
  font-size: 1.3rem;
  line-height: 1;
}

.chat-drawer-copy {
  margin: 8px 0 10px;
  color: rgba(210, 234, 255, 0.9);
  font-size: 0.85rem;
  line-height: 1.45;
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 280px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(177, 219, 255, 0.28);
  background: rgba(8, 31, 69, 0.58);
  overflow-y: auto;
}

.chat-bubble {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #eaf5ff;
}

.chat-bubble.chat-user {
  justify-self: end;
  border: 1px solid rgba(166, 225, 255, 0.4);
  background: linear-gradient(135deg, rgba(53, 138, 242, 0.7), rgba(34, 102, 207, 0.66));
}

.chat-bubble.chat-admin {
  justify-self: start;
  border: 1px solid rgba(171, 221, 179, 0.42);
  background: linear-gradient(135deg, rgba(37, 126, 74, 0.68), rgba(23, 98, 56, 0.62));
}

.chat-bubble-meta {
  display: block;
  margin-top: 4px;
  color: rgba(226, 243, 255, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}

.chat-inline-note {
  margin: 8px 2px 10px;
  color: rgba(206, 233, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.4;
}

.chat-form {
  display: grid;
  gap: 8px;
}

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

.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid rgba(172, 216, 255, 0.36);
  border-radius: 10px;
  background: rgba(10, 37, 80, 0.64);
  color: #edf8ff;
  padding: 9px 10px;
  font-size: 0.82rem;
}

.chat-form textarea {
  min-height: 76px;
  resize: vertical;
}

.chat-send-button {
  width: 100%;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(3, 10, 22, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-img {
  width: min(1100px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(182, 222, 255, 0.34);
  box-shadow: 0 20px 52px rgba(0, 8, 20, 0.62);
}

.image-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(191, 229, 255, 0.35);
  background: rgba(12, 37, 78, 0.84);
  color: #eff8ff;
  font-size: 1.6rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes domain-shimmer {
  0%,
  24% {
    background-position: 122% 0;
    opacity: 0;
  }

  34% {
    opacity: 0.34;
  }

  46% {
    opacity: 0.78;
  }

  58% {
    background-position: -22% 0;
    opacity: 0.24;
  }

  59%,
  100% {
    background-position: -22% 0;
    opacity: 0;
  }
}

@keyframes cta-gloss-sweep {
  0%,
  16% {
    left: -50%;
    opacity: 0;
  }

  28% {
    opacity: 0.62;
  }

  52% {
    left: 112%;
    opacity: 0.48;
  }

  64%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes soft-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.94;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes soft-dot-wave {
  0% {
    box-shadow:
      0 0 0 0 rgba(120, 192, 255, 0.42),
      0 0 0 0 rgba(120, 192, 255, 0.22);
  }

  55% {
    box-shadow:
      0 0 0 10px rgba(120, 192, 255, 0),
      0 0 0 18px rgba(120, 192, 255, 0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(120, 192, 255, 0),
      0 0 0 0 rgba(120, 192, 255, 0);
  }
}

@keyframes hero-breath {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

@keyframes slow-pan {
  0% {
    background-position: 50% 50%;
  }

  100% {
    background-position: 55% 46%;
  }
}

@media (max-width: 1120px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-grid,
  .book-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    gap: 10px;
  }
}

@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header-phone {
    order: 2;
  }

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

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

  .brand-domain {
    font-size: 1.48rem;
  }
}

@media (max-width: 720px) {
  main {
    scroll-snap-type: none;
  }

  .slide-content {
    width: calc(100% - 34px);
    padding-top: clamp(106px, 18vh, 140px);
    padding-bottom: 34px;
  }

  .slide:not(.hero-slide) .slide-content {
    padding-top: clamp(116px, 14vh, 148px);
    padding-bottom: 34px;
  }

  .contact-content {
    padding: 18px;
    border-radius: 22px;
  }

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

  .contact-form-actions {
    grid-template-columns: 1fr;
  }

  .contact-form-actions .contact-submit-cta {
    grid-column: auto;
    min-height: 58px;
    font-size: 1.03rem;
  }

  .cta-reassurance {
    gap: 7px;
  }

  .cta-reassurance span {
    min-height: 30px;
    font-size: 0.76rem;
  }

  .contact-form label {
    font-size: 0.93rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 56px;
    font-size: 1rem;
  }

  .field-grid,
  .kpi-row,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    min-height: auto;
    display: grid;
    gap: 10px;
  }

  .process-path {
    display: none;
  }

  .timeline-step {
    position: static;
    width: 100%;
  }

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

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

  .chat-fab {
    right: 12px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .chat-drawer {
    right: 12px;
    bottom: 70px;
    width: calc(100vw - 24px);
  }

  .chat-identity-grid {
    grid-template-columns: 1fr;
  }

  .chat-log {
    max-height: 220px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.74rem, 9.5vw, 2.46rem);
  }

  .lead {
    font-size: 0.95rem;
  }

  .brand-domain {
    font-size: 1.38rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 520px) {
  .book-cover-grid {
    grid-template-columns: 1fr;
  }
}
