:root {
  --bg: #07080c;
  --bg-soft: #10121a;
  --card: #151824;
  --text: #f4f6fb;
  --muted: #a7adbd;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c5cff;
  --accent-2: #00e0ff;
  --danger: #ff5a5a;
  --radius: 24px;
  --max-width: 1180px;
  --radius-lg: 28px;
  --section-space: 110px;
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.25), transparent 35%),
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button {
  border: none;
  cursor: pointer;
}

section {
  padding: 110px 24px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  position: relative;
  max-width: var(--max-width);
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-list a {
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: 0.25s ease;
}

/* BUTTONS */

.nav-cta,
.primary-button,
.secondary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.nav-cta,
.primary-button {
  background:
    linear-gradient(135deg, #ffffff 0%, #eefcff 58%, #e9e5ff 100%);
  color: var(--bg);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 224, 255, 0.06),
    0 0 26px rgba(124, 92, 255, 0.1);
}

.nav-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, #ffffff 0%, #ddfaff 52%, #ded8ff 100%);
  color: var(--bg);
  border-color: rgba(0, 224, 255, 0.42);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(0, 224, 255, 0.1),
    0 0 34px rgba(0, 224, 255, 0.13);
}

.nav-cta {
  min-height: 42px;
  padding: 0 19px;
  gap: 9px;
  font-size: 0.86rem;
}

a.nav-cta::after,
a.primary-button::after,
a.secondary-button::after {
  content: "→";
  flex: 0 0 auto;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.22s ease;
}

a.nav-cta:hover::after,
a.primary-button:hover::after,
a.secondary-button:hover::after {
  transform: translateX(4px);
}

.secondary-button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 26px rgba(0, 0, 0, 0.12);
}

.secondary-button:hover {
  background:
    linear-gradient(135deg, rgba(0, 224, 255, 0.09), rgba(124, 92, 255, 0.06));
  color: #ffffff;
  border-color: rgba(0, 224, 255, 0.32);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(0, 224, 255, 0.07);
}

.primary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  background: #4a4d57;
  color: #aeb4c0;
}

.primary-button:disabled:hover {
  background: #4a4d57;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.nav-cta:focus-visible,
.menu-toggle:focus-visible,
.close-modal:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7cf0ff;
  outline-offset: 3px;
}

.pricing-card .primary-button,
.pricing-card .secondary-button {
  width: 100%;
  margin-top: 26px;
  min-height: 52px;
}

.pricing-card .secondary-button {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card .secondary-button:hover {
  background: rgba(0, 224, 255, 0.08);
  border-color: rgba(0, 224, 255, 0.28);
  color: var(--text);
  box-shadow: 0 16px 42px rgba(0, 224, 255, 0.08);
}

.pricing-card .primary-button:hover {
  background: var(--text);
  color: var(--bg);
  box-shadow:
    0 18px 48px rgba(0, 224, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.primary-button:active,
.secondary-button:active,
.nav-cta:active {
  transform: translateY(0) scale(0.985);
}


/* TYPOGRAPHY */

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 4.4vw, 5.2rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
/* HERO */

.hero {
  max-width: var(--max-width);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.hero-description,
.approach-content p,
.message p,
.cta-content p,
.partnership-content > p {
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-description {
  max-width: 660px;
  margin-top: 28px;
}

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

.hero-panel {
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    var(--bg-soft);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}

.hero-panel::after {
  content: "system komunikacji marki";
  position: absolute;
  top: 34px;
  left: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 224, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 224, 255, 0.06);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-panel p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.page-hero .hero-panel p {

  font-size: clamp(1.35rem, 1.8vw, 1.6rem);

}

@media (max-width: 640px) {
  .hero-panel {
    min-height: 260px;
    padding: 24px;
    border-radius: 22px;
  }

  .hero-panel::before {
    inset: 18px;
    background-size: 28px 28px;
  }

  .hero-panel::after {
    top: 24px;
    left: 24px;
    font-size: 0.62rem;
    padding: 7px 10px;
    max-width: calc(100% - 48px);
  }

  .hero-panel p {
    font-size: 1.35rem;
  }
}

/* LAYOUT */

.section-header,
.problem-grid,
.approach-content,
.process-list,
.services-grid,
.education-list,
.cases-grid,
.paths-grid,
.pricing-grid,
.partnership-content,
.cta-content{
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 46px;
}

.problem-grid,
.services-grid,
.education-list,
.cases-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.approach-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

/* CARDS */

article,
.process-list li,
.case-card,
.pricing-card,
.partnership-benefits > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

article p,
.process-list p,
.case-card li,
.pricing-card li,
.partnership-benefits li,
.partnership-benefits p {
  color: var(--muted);
}

article a{
  font-weight: 800;
  transition: color 0.2s ease;
}

article a:hover{
  color: #aeb4c0;
  transition: color 0.2s ease;
}

/* MESSAGE */

.message {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 224, 255, 0.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.message h2 {
  max-width: var(--max-width);
  margin: 0 auto;
}

.message p {
  max-width: 780px;
  margin-top: 28px;
  margin-left: max(0px, calc((100% - var(--max-width)) / 2));
  color: var(--muted);
  font-size: 1.15rem;
}

@media (max-width: 1180px) {
  .message p {
    margin-left: 0;
  }
}

/* PROCESS */

.process-list {
  list-style: none;
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* BEFORE / AFTER */

.before,
.after {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.before {
  background: rgba(255, 255, 255, 0.035);
}

.after {
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.18),
    rgba(0, 224, 255, 0.1)
  );
}

.before span,
.after span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.case-card ul,
.pricing-card ul,
.partnership-benefits ul {
  margin-top: 24px;
  list-style: none;
}

.case-card li,
.pricing-card li,
.partnership-benefits li {
  margin-top: 10px;
}

/* SITE PATHS */

.paths-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.path-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.path-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.path-card p {
  margin-bottom: 28px;
}

.path-card a {
  margin-top: auto;
  color: var(--text);
  font-weight: 800;
  transition: color 0.2s ease;
}

.path-card a:hover {
  color: var(--accent-2);
}

@media (max-width: 1180px) {
  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-card {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .paths-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: auto;
  }

  .path-card span {
    margin-bottom: 28px;
  }
}

/* PARTNERSHIP */

.partnership-content > p {
  max-width: 760px;
}

.partnership-benefits {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* PRICING */

.pricing-list {
  margin-top: 26px;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 28px;
  margin-top: 14px;
  color: var(--muted);
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 900;
}

.price {
  margin: 24px 0;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.pricing-card.featured {
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(124, 92, 255, 0.2), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-12px);
}

.single-pricing {
  grid-template-columns: minmax(280px, 520px);
  justify-content: start;
}

/* CTA */

.section-cta {
  max-width: var(--max-width);
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
}

.cta-section {
  padding-bottom: 130px;
}

.cta-content {
  padding: 64px;
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  border: 1px solid var(--line);
}

.cta-content p {
  max-width: 680px;
  margin-top: 24px;
}

.cta-content .primary-button {
  margin-top: 34px;
}

/* MODAL / FORM */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
    var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.28s ease forwards;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content h2 {
  max-width: 430px;
  padding-right: 44px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.modal-content > p {
  margin-top: 10px;
  color: var(--muted);
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.close-modal:hover {
  background: rgba(240, 0, 0, 0.331);
}

.form-group {
  margin-top: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-group label a{
  color: #00e0ff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #10121a;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:not([type="checkbox"]),
.form-group select {
  height: 48px;
  padding: 0 16px;
}

.checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;

  accent-color: var(--accent-2);
  cursor: pointer;
}

.form-group textarea {
  min-height: 96px;
  padding: 16px;
  resize: vertical;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-2);
  background: #0d0f16;
  box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.08);
  outline: none;
}

.checkbox {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox label {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.modal form .primary-button {
  width: 100%;
  margin-top: 18px;
}

.field-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(255, 90, 90, 0.12) !important;
}

.checkbox-error {
  border: 1px solid var(--danger);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .menu-toggle {
    position: relative;
    z-index: 103;
    display: inline-flex;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    z-index: 101;

    min-height: 100dvh;
    padding:
      calc(104px + env(safe-area-inset-top))
      24px
      calc(34px + env(safe-area-inset-bottom));

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;

    overflow-y: auto;

    background:
      radial-gradient(
        circle at 85% 15%,
        rgba(0, 224, 255, 0.12),
        transparent 34%
      ),
      radial-gradient(
        circle at 10% 90%,
        rgba(124, 92, 255, 0.14),
        transparent 38%
      ),
      rgba(7, 8, 12, 0.98);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);

    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease;
  }

  .nav-list.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .nav-list li:first-child {
    border-top: 1px solid var(--line);
  }

  .nav-list li a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 18px 4px;

    color: var(--muted);
    font-size: clamp(1.25rem, 4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: left;

    transition:
      color 0.2s ease,
      padding-left 0.2s ease;
  }

  .nav-list li a::after {
    content: "↗";
    color: rgba(255, 255, 255, 0.22);
    font-size: 1rem;

    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }

  .nav-list li a:hover,
  .nav-list li a.active {
    padding-left: 10px;
    color: var(--text);
  }

  .nav-list li a:hover::after,
  .nav-list li a.active::after {
    color: var(--accent-2);
    transform: translate(3px, -3px);
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle.active {
    background: rgba(0, 224, 255, 0.08);
    border-color: rgba(0, 224, 255, 0.25);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 980px) {

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    gap: 42px;
  }

  .hero-panel {
    min-height: 320px;
  }

  .problem-grid,
  .services-grid,
  .education-list,
  .cases-grid,
  .pricing-grid,
  .paths-grid,
  .approach-content,
  .process-list,
  .partnership-benefits {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 78px 18px;
  }

  .navbar {
    height: 68px;
    padding: 0 18px;
    gap: 12px;
  }

  .nav-list {
    top: 68px;
    bottom: 0;
    left: 18px;
    right: 18px;
    min-height: 0;
    height: calc(100dvh - 68px);
    padding:
      28px
      18px
      calc(24px + env(safe-area-inset-bottom));
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(2.25rem, 9vw, 2.9rem);
    line-height: 1;
  }
  
  h2 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.05;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-description {
    font-size: 1.05rem;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  article,
  .process-list li,
  .case-card,
  .pricing-card,
  .partnership-benefits > div {
    padding: 24px;
  }

  .cta-content {
    padding: 34px 24px;
  }

  .section-cta .primary-button {
    width: 100%;
  }

  .modal.active {
    align-items: flex-start;
    padding: 12px;
  }

  .modal-content {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 26px 18px;
    border-radius: 20px;
  }

  .modal-content h2 {
    font-size: 1.75rem;
  }

  .form-group {
    margin-top: 12px;
  }

  .form-group textarea {
    min-height: 84px;
  }
  .lab-case,
  .timeline-step {
    padding: 24px;
  }
}

.page-hero {
  min-height: 72vh;
}

.page-hero .hero-panel p {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
}

.nav-list a.active {
  color: var(--text);
}

.pricing-description {
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.lab-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.lab-case {
  padding: 34px;
}

.lab-case-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.lab-case-header span {
  color: var(--accent-2);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.lab-columns {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 18px;
}

.lab-box,
.lab-analysis {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.lab-analysis {
  background: rgba(255, 255, 255, 0.035);
}

.lab-analysis h4 {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.lab-analysis ul {
  padding-left: 18px;
  color: var(--muted);
}

.lab-analysis li {
  margin-top: 8px;
}

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

.section-intro {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-left: 20px;
  border-left: 2px solid rgba(0, 224, 255, 0.35);
}

.process-timeline {
  padding: var(--section-space) 24px;
}

.timeline {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
}

.timeline-step span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: .12em;
}

.timeline-step h3 {
  margin-bottom: 12px;
}

.timeline-step p {
  color: var(--muted);
  line-height: 1.7;
}

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

.article-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.article-note {
  max-width: var(--max-width);
  margin: 28px auto 0;
  padding: 22px 24px;
  border-left: 2px solid rgba(0, 224, 255, 0.35);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.article-note a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(0, 224, 255, 0.5);
  text-underline-offset: 4px;
}

.article-meta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.success-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 16px 20px;

  background: #0f2a1a;
  border: 1px solid #2ecc71;
  border-radius: 14px;

  color: #fff;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);

  transition: all 0.25s ease;
}

.success-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.success-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #2ecc71;
  color: #08110b;
  font-weight: 900;
}

@media (max-width: 640px) {
  .success-toast {
    left: 16px;
    right: 16px;
    top: 16px;
  }
}

/* METHOD PAGE + FLOATING TOC */

.method-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.method-steps {
  max-width: 900px;
  display: grid;
  gap: 34px;
}

.toc {
  position: fixed;
  top: 120px;
  right: 32px;
  z-index: 50;

  width: 250px;
  padding: 20px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;

  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.12), transparent 45%),
    rgba(16, 18, 26, 0.58);

  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.toc-title {
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.toc a {
  position: relative;
  display: block;
  padding: 11px 0 11px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.toc a:hover,
.toc a.active {
  color: var(--text);
  transform: translateX(4px);
}

.toc a.active::before {
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(0, 224, 255, 0.7);
}

.method-step {
  position: relative;
  padding: 70px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34px;

  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 44px;
  overflow: hidden;
}

.method-step::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.step-number {
  position: relative;
  z-index: 1;
  color: var(--accent-2);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 0 32px rgba(0, 224, 255, 0.35);
}

.step-content {
  position: relative;
  z-index: 1;
}

.step-content p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.step-list {
  margin-top: 30px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.step-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.step-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--accent-2);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .toc {
    display: none;
  }

  .method-steps {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .method-step {
    grid-template-columns: 1fr;
    padding: 46px;
  }

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

@media (max-width: 640px) {
  .method-layout {
    padding: 0 18px;
  }

  .method-step {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .method-step::before {
    inset: 14px;
  }

  .step-number {
    font-size: 2.4rem;
  }
}

/* METHOD STEP MINI CARD */

.step-link {
  margin-top: 36px;
}

.step-link-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.step-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.03);
  transition: 0.25s ease;
}

.step-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 224, 255, 0.25);
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.12), transparent 34%),
    rgba(0, 224, 255, 0.045);
}

.step-link-content h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.step-link-content p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-link-arrow {
  flex-shrink: 0;
  color: var(--accent-2);
  font-size: 1.6rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.step-link-card:hover .step-link-arrow {
  transform: translateX(6px);
}

@media (max-width: 640px) {
  .step-link-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-link-arrow {
    align-self: flex-end;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 20px;

  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;

  transition: gap .2s ease, opacity .2s ease;
}

.text-link:hover {
  gap: 14px;
  opacity: .9;
}

.method-preview {
  padding: 56px 24px 0;
}

.method-preview .section-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.method-preview h2 {
  max-width: 620px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.method-preview .section-intro {
  max-width: 620px;
  margin-top: 18px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease, opacity .2s ease;
}

.text-link:hover {
  gap: 12px;
  opacity: .85;
}

/* ==========================
   PROCESS
========================== */

.process {
  position: relative;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 56px;
  list-style: none;
}

/* subtelna linia łącząca etapy */

.process-list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.12),
    transparent
  );
}

.process-card {
  position: relative;
  padding: 42px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right,
      rgba(0,224,255,.08),
      transparent 45%),
    rgba(255,255,255,.03);

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,224,255,.24);

  background:
    radial-gradient(circle at top right,
      rgba(0,224,255,.14),
      transparent 45%),
    rgba(255,255,255,.05);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  margin-bottom: 22px;

  border-radius: 50%;

  background: rgba(0,224,255,.08);
  border: 1px solid rgba(0,224,255,.18);

  color: var(--accent-2);

  font-size: .9rem;
  font-weight: 800;
}

.process-card h3 {
  margin-bottom: 12px;
}

.process-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.process-note {
  margin-bottom: 18px;
  color: var(--muted);
  text-align: center;
}

.process .section-cta {
  margin-top: 52px;
}

@media (max-width:1100px){

  .process-list{
    grid-template-columns:1fr;
    gap:18px;
  }

  .process-list::before{
    display:none;
  }

  .process-card{
    padding:32px;
  }

}

.process .section-cta {
  margin-top: 56px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.process-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
}

.process-list li{
  text-align: center;

}

.process-icon{
  width:40px;
  height:40px;
}

/* ANIMACJE */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

.process-card,
.case-card,
.path-card,
.pricing-card {
  will-change: transform;
}

.process-card.is-visible,
.case-card.is-visible,
.path-card.is-visible,
.pricing-card.is-visible {
  transition-delay: var(--delay, 0s);
}

.hero-panel {
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.process-icon {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.process-card:hover .process-icon {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 14px rgba(0, 224, 255, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-panel,
  .process-icon {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* =========================================
   CONTACT LANDING
========================================= */

/* =========================================
   PROJECTS
========================================= */

/* =========================================
   EXTERNAL REDIRECT
========================================= */

.external-redirect-page {
  min-height: 100svh;
}

.external-redirect-main {
  min-height: 100svh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.external-redirect-card {
  width: min(100%, 720px);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.11), transparent 34%),
    radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.12), transparent 38%),
    rgba(15, 17, 25, 0.94);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
}

.external-redirect-logo {
  display: inline-block;
  margin-bottom: clamp(42px, 8vh, 76px);
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.external-redirect-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 224, 255, 0.24);
  border-radius: 15px;
  background: rgba(0, 224, 255, 0.07);
  color: var(--accent-2);
  font-size: 1.35rem;
}

.external-redirect-card h1 {
  max-width: 620px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.external-redirect-description {
  max-width: 580px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.external-redirect-domain {
  margin-top: 30px;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 8, 12, 0.55);
}

.external-redirect-domain span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.external-redirect-domain strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.92rem;
}

.external-redirect-countdown {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.external-redirect-countdown strong { color: var(--accent-2); }

.external-redirect-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 561px) and (max-height: 800px) {
  .external-redirect-card { padding: 26px 48px 30px; }
  .external-redirect-logo { margin-bottom: 24px; }
  .external-redirect-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .external-redirect-card h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); }
  .external-redirect-description { margin-top: 14px; line-height: 1.6; }
  .external-redirect-domain { margin-top: 18px; padding: 13px 16px; }
  .external-redirect-countdown { margin-top: 11px; }
  .external-redirect-actions { margin-top: 18px; }
}

@media (max-width: 560px) {
  .external-redirect-main { padding: 14px; }
  .external-redirect-card { padding: 28px 22px; border-radius: 24px; }
  .external-redirect-logo { margin-bottom: 38px; }
  .external-redirect-actions { display: grid; }
  .external-redirect-actions .primary-button,
  .external-redirect-actions .secondary-button { width: 100%; }
}

.projects {
  max-width: var(--max-width);
  margin: 0 auto;
}

.projects .section-header {
  max-width: 820px;
  margin-bottom: 46px;
}

.project-showcase {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at bottom right, rgba(0, 224, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.project-showcase + .project-showcase { margin-top: 26px; }
.project-showcase-reverse .project-visual { order: 2; }
.project-showcase-reverse .project-content { order: 1; }

.project-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  overflow: hidden;
  background: #ecebe7;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 12, 0.65));
  pointer-events: none;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-visual:hover img { transform: none; }

.project-visual > span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-content {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.project-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(0, 224, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 224, 255, 0.045);
  color: var(--accent-2);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}

.project-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.project-features {
  margin: 26px 0 32px;
  padding: 24px 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.project-features li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.project-features li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.project-content .primary-button { align-self: flex-start; }

@media (max-width: 920px) {
  .project-showcase { grid-template-columns: 1fr; }
  .project-visual { min-height: 420px; }
}

@media (max-width: 640px) {
  .projects { padding: 78px 18px; }
  .projects .section-header { margin-bottom: 30px; }
  .project-showcase { border-radius: 22px; }
  .project-visual { min-height: 290px; }
  .project-content { padding: 28px 22px 30px; }
  .project-content .primary-button { width: 100%; }
}

/* =========================================
   PORTFOLIO INDEX
========================================= */

.section-text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease;
}

.section-text-link:hover { color: var(--text); transform: translateX(5px); }

.portfolio-hero {
  max-width: var(--max-width);
  min-height: 0;
  margin: 0 auto;
  padding-top: clamp(64px, 7vw, 88px);
  padding-bottom: clamp(48px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.portfolio-hero h1 { max-width: 900px; }

.portfolio-hero-lead {
  padding: 24px 0 5px 26px;
  border-left: 1px solid rgba(0, 224, 255, 0.35);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.portfolio-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 44px;
}

.portfolio-list-heading { max-width: 780px; margin-bottom: 48px; }

.portfolio-card {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  overflow: hidden;
  border-radius: 28px;
}

.portfolio-card + .portfolio-card { margin-top: 28px; }
.portfolio-card-reverse { grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr); }
.portfolio-card-reverse .portfolio-card-image { order: 2; }
.portfolio-card-reverse .portfolio-card-body { order: 1; }

.portfolio-card-image {
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  overflow: hidden;
  background: #ecebe7;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.portfolio-card-image:hover img { transform: none; }

.portfolio-card-body {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at bottom right, rgba(0, 224, 255, 0.08), transparent 38%),
    var(--card);
}

.portfolio-card-number {
  position: absolute;
  top: 34px;
  right: 38px;
  color: rgba(255, 255, 255, 0.09) !important;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
}

.portfolio-card-body h3 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.95;
}

.portfolio-card-body > p:not(.portfolio-card-number) {
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-card-highlights {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.portfolio-card-highlights > strong {
  display: block;
  margin-bottom: 13px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portfolio-card-highlights ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.portfolio-card-highlights li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.portfolio-card-highlights li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.portfolio-card-focus {
  margin: 28px 0 32px;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-card-focus strong { width: 100%; margin-bottom: 5px; font-size: 0.78rem; }

.portfolio-card-focus span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.portfolio-card-body .primary-button { align-self: flex-start; margin-top: 28px; }

.portfolio-next {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 50px;
  border-top: 1px solid var(--line);
}

.portfolio-next .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.portfolio-next > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* =========================================
   CASE STUDY
========================================= */

.case-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 80px;
}

.case-back {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  transition: color 0.2s ease, transform 0.2s ease;
}

.case-back:hover { color: var(--text); transform: translateX(-4px); }

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.case-hero-lead {
  max-width: 700px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.case-facts { border-top: 1px solid var(--line); }

.case-facts > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.case-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-facts dd { color: var(--text); font-size: 0.88rem; font-weight: 700; }

.case-cover {
  width: min(calc(100% - 48px), 1400px);
  height: min(70vw, 760px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ecebe7;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
}

.case-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-cover-dark { background: #05070a; }

.trip-product-visual {
  position: relative;
  min-height: 680px;
  padding: clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 90px minmax(320px, .72fr);
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 28% 50%, rgba(0, 224, 255, .14), transparent 31%),
    radial-gradient(circle at 78% 25%, rgba(124, 92, 255, .17), transparent 35%),
    #080a10;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.trip-visual-glow {
  position: absolute;
  inset: 14% 32% 12% 7%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 224, 255, .08);
  filter: blur(70px);
}

.trip-source-copy {
  position: absolute;
  top: clamp(34px, 5vw, 72px);
  left: clamp(34px, 5vw, 72px);
  z-index: 4;
  display: grid;
  pointer-events: none;
}

.trip-source-copy span {
  margin-bottom: 12px;
  color: #d3a56b;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.trip-source-copy strong {
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.trip-source-counter {
  position: absolute;
  top: clamp(34px, 5vw, 72px);
  right: clamp(34px, 5vw, 72px);
  z-index: 4;
  color: rgba(255,255,255,.42);
  font-size: .52rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trip-globe-scene {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.trip-globe {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(108, 236, 255, .42);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.1) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(255,255,255,.1) 50%, transparent 50.5%),
    repeating-radial-gradient(ellipse at center, transparent 0 15%, rgba(255,255,255,.065) 15.5% 16%, transparent 16.5% 29%),
    radial-gradient(circle at 35% 28%, #214c68 0, #102b42 31%, #091725 66%, #050b12 100%);
  box-shadow:
    inset -38px -28px 65px rgba(0, 0, 0, .58),
    inset 18px 15px 40px rgba(89, 225, 255, .13),
    0 0 0 12px rgba(0, 224, 255, .025),
    0 38px 90px rgba(0, 0, 0, .55);
  animation: trip-globe-float 7s ease-in-out infinite;
}

.trip-globe::before,
.trip-globe::after {
  content: "";
  position: absolute;
  inset: 8% 28%;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.trip-globe::after { inset: 28% 8%; }

.trip-land {
  position: absolute;
  display: block;
  background: linear-gradient(145deg, rgba(90, 226, 183, .72), rgba(29, 116, 107, .68));
  box-shadow: inset -8px -8px 18px rgba(5, 35, 39, .28);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.22));
}

.trip-land-europe {
  top: 27%;
  left: 43%;
  width: 24%;
  height: 19%;
  border-radius: 55% 40% 62% 38%;
  clip-path: polygon(3% 30%, 26% 8%, 48% 23%, 66% 5%, 96% 28%, 78% 52%, 91% 73%, 57% 91%, 38% 69%, 15% 80%, 23% 51%);
}

.trip-land-africa {
  top: 43%;
  left: 47%;
  width: 22%;
  height: 34%;
  border-radius: 48% 55% 66% 38%;
  clip-path: polygon(10% 3%, 78% 8%, 96% 35%, 65% 80%, 43% 100%, 20% 68%, 2% 31%);
}

.trip-land-asia {
  top: 25%;
  left: 63%;
  width: 31%;
  height: 27%;
  border-radius: 42% 60% 52% 70%;
  opacity: .74;
  clip-path: polygon(0 20%, 34% 0, 74% 12%, 100% 40%, 79% 69%, 93% 91%, 46% 81%, 19% 57%);
}

.trip-orbit {
  position: absolute;
  width: 84%;
  height: 44%;
  border: 1px solid rgba(0, 224, 255, .14);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.trip-orbit-two { width: 89%; height: 54%; transform: rotate(58deg); border-color: rgba(124, 92, 255, .12); }

.trip-pin {
  position: absolute;
  z-index: 3;
  padding: 9px 12px 9px 28px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background: rgba(9, 12, 19, .82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
}

.trip-pin i {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f36f56;
  box-shadow: 0 0 0 5px rgba(243, 111, 86, .12), 0 0 18px rgba(243, 111, 86, .75);
}

.trip-pin b { font-size: .69rem; line-height: 1.15; }
.trip-pin small { margin-top: 3px; color: var(--muted); font-size: .52rem; }
.trip-pin-lisbon { top: 35%; left: 7%; }
.trip-pin-tirana { top: 25%; right: 2%; }
.trip-pin-morocco { bottom: 22%; left: 13%; }

.trip-search-preview {
  position: absolute;
  bottom: 2%;
  left: 50%;
  z-index: 4;
  width: min(74%, 300px);
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  background: rgba(13,17,21,.78);
  color: rgba(255,255,255,.46);
  font-size: .58rem;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.trip-search-preview > i {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
}

.trip-search-preview > i::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 5px;
  border-top: 1px solid rgba(255,255,255,.68);
  transform: rotate(45deg);
}

.trip-search-preview span { flex: 1; }
.trip-search-preview kbd { padding: 2px 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; color: rgba(255,255,255,.35); font-size: .48rem; }

.trip-visual-bridge {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.trip-visual-bridge::before {
  content: "";
  width: 78px;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}

.trip-visual-bridge::after { content: "→"; margin-top: 8px; color: var(--accent-2); font-size: 1.15rem; }

.trip-album-preview {
  width: min(100%, 390px);
  padding: 18px;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 10%, rgba(211, 165, 107, .16), transparent 30%),
    #f4f1eb;
  color: #161819;
  box-shadow: 0 34px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotate(1.5deg);
}

.trip-album-topbar { display: flex; align-items: center; justify-content: space-between; }
.trip-album-mark { color: #161819; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.trip-album-actions { display: flex; gap: 5px; }
.trip-album-actions i { width: 5px; height: 5px; border-radius: 50%; background: rgba(22,24,25,.28); }
.trip-album-heading { padding: 28px 0 22px; display: grid; }
.trip-album-heading span { color: #b58148; font-size: .55rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trip-album-heading strong { margin-top: 6px; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1; }
.trip-album-heading strong em { color: #f36f56; font-style: normal; }
.trip-album-heading small { max-width: 245px; margin-top: 8px; color: #77756f; font-size: .56rem; line-height: 1.45; }
.trip-album-section-label { padding: 8px 0 10px; display: flex; align-items: baseline; gap: 8px; border-top: 1px solid rgba(22,24,25,.12); }
.trip-album-section-label b { font-size: .66rem; }
.trip-album-section-label span { color: #77756f; font-size: .48rem; }
.trip-album-kadry { margin-top: 3px; justify-content: space-between; border-bottom: 1px solid rgba(22,24,25,.12); }
.trip-album-kadry span { font-size: .64rem; }
.trip-stories { padding-bottom: 16px; display: flex; gap: 9px; }
.trip-stories i { width: 35px; height: 35px; border: 2px solid rgba(243,111,86,.7); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f5c6a2, #835a70 48%, #172039 50%); }
.trip-stories i:nth-child(2) { background: radial-gradient(circle at 45% 35%, #f5df88, #a36842 47%, #172039 49%); }
.trip-stories i:nth-child(3) { background: radial-gradient(circle at 55% 35%, #9de5dd, #287778 47%, #172039 49%); }
.trip-stories i:nth-child(4) { background: radial-gradient(circle at 40% 40%, #ded4ef, #6a6591 47%, #172039 49%); }
.trip-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.trip-media-grid i { aspect-ratio: 1; border-radius: 2px; background: linear-gradient(145deg, #e9b98a, #805e66 52%, #263856); }
.trip-media-grid i:nth-child(2) { background: linear-gradient(160deg, #7bc7df, #375c89 42%, #d5b58a 44%, #6d4b38); }
.trip-media-grid i:nth-child(3) { background: linear-gradient(25deg, #172d42, #7cb6b0 54%, #e3c294 56%); }
.trip-media-grid i:nth-child(4) { background: linear-gradient(140deg, #d8c1a4, #9c6845 46%, #394b5b); }
.trip-media-grid i:nth-child(5) { background: linear-gradient(20deg, #1c273b, #8e705b 48%, #ead2ad 50%); }
.trip-media-grid i:nth-child(6) { background: linear-gradient(155deg, #a4d3db, #586f82 45%, #b7845d 47%); }

/* Finalna kompozycja okładki — oparta na prawdziwym interfejsie projektu. */
.trip-product-visual {
  height: auto;
  min-height: 620px;
  padding: 62px clamp(34px, 5vw, 70px) 44px;
  grid-template-columns: minmax(0, 1fr) 64px minmax(300px, 370px);
  gap: 12px;
  background:
    radial-gradient(circle at 25% 48%, rgba(44, 102, 130, .2), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(124, 92, 255, .11), transparent 35%),
    linear-gradient(145deg, #070a0e, #0c1119 58%, #090a13);
}

.trip-product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
}

.trip-visual-meta {
  position: absolute;
  top: 28px;
  left: clamp(34px, 5vw, 70px);
  right: clamp(34px, 5vw, 70px);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.42);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.trip-globe-scene {
  width: min(100%, 525px);
  margin: 12px auto 0;
}

.trip-globe {
  width: 74%;
  border-color: rgba(200, 225, 237, .32);
  background-image:
    linear-gradient(90deg, rgba(4, 10, 14, .08), rgba(4, 10, 14, .16) 55%, rgba(2, 6, 9, .58)),
    url("../img/projects/my-trip-world-earth.jpg");
  background-size: auto 100%;
  background-position: 57% center;
  box-shadow:
    inset -48px -16px 70px rgba(0,0,0,.62),
    inset 15px 10px 34px rgba(181, 224, 243, .1),
    0 0 0 10px rgba(109, 145, 168, .025),
    0 35px 85px rgba(0,0,0,.5);
}

.trip-orbit { border-color: rgba(195, 213, 223, .08); }
.trip-orbit-two { border-color: rgba(109, 145, 168, .08); }

.trip-pin {
  min-width: 82px;
  padding: 19px 0 0;
  justify-items: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
}

.trip-pin i {
  top: 2px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
}

.trip-pin b { font-size: .66rem; text-shadow: 0 2px 10px #000; }
.trip-pin small { color: rgba(255,255,255,.58); font-size: .48rem; text-shadow: 0 2px 8px #000; }
.trip-pin-lisbon { top: 41%; left: 9%; }
.trip-pin-tirana { top: 31%; right: 5%; }
.trip-pin-morocco { bottom: 26%; left: 18%; }

.trip-search-preview { bottom: 3%; width: min(68%, 280px); }

.trip-visual-bridge::before { width: 48px; }
.trip-visual-bridge::after { margin-top: 6px; }

.trip-album-preview {
  width: min(100%, 360px);
  padding: 16px;
  border-radius: 18px;
  transform: none;
  box-shadow: 0 28px 75px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.5);
}

.trip-album-heading { padding: 22px 0 17px; }
.trip-album-heading strong { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.trip-album-heading small { line-height: 1.35; }
.trip-stories { padding-bottom: 12px; }
.trip-stories i { width: 31px; height: 31px; }
.trip-media-grid i { aspect-ratio: 1.15; }

@keyframes trip-globe-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .trip-globe { animation: none; }
}

.case-proof {
  max-width: var(--max-width);
  margin: 70px auto 0;
  padding: 0;
}

.case-proof-copy {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, .55fr);
  align-items: end;
  gap: 60px;
}

.case-proof-copy .eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
.case-proof-copy h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.case-proof-copy > p:last-child { color: var(--muted); line-height: 1.75; }
.case-proof-image { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #05070a; box-shadow: 0 26px 70px rgba(0,0,0,.34); }
.case-proof-image img { width: 100%; display: block; }

.case-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 40px;
}

.case-intro > h2 { max-width: 940px; font-size: clamp(2.2rem, 4.2vw, 4.4rem); }
.case-intro > p:not(.eyebrow) { max-width: 820px; margin-top: 28px; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.case-path { margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); list-style: none; }
.case-path li { position: relative; padding: 26px 22px 0 0; color: var(--text); font-size: .9rem; font-weight: 750; }
.case-path li::after { content: "→"; position: absolute; top: 24px; right: 20px; color: var(--muted); }
.case-path li:last-child::after { display: none; }
.case-path span { display: block; margin-bottom: 18px; color: var(--accent-2); font-size: .68rem; }

.case-story {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 110px);
}

.case-story article { padding: 0; border: 0; background: none; }
.case-story article + article { padding-left: clamp(30px, 5vw, 70px); border-left: 1px solid var(--line); }
.case-story h2 { margin-bottom: 25px; font-size: clamp(2rem, 3.2vw, 3.4rem); }
.case-story article > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.8; }

.case-focus { max-width: var(--max-width); margin: 0 auto; padding-top: 60px; }
.case-focus .section-header { margin-bottom: 46px; }

.case-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-focus-grid article { min-height: 270px; display: flex; flex-direction: column; }
.case-focus-grid-five { grid-template-columns: repeat(6, 1fr); }
.case-focus-grid-five article { grid-column: span 2; }
.case-focus-grid-five article:nth-last-child(-n + 2) { grid-column: span 3; }
.case-focus-grid article > span { margin-bottom: auto; color: var(--accent-2); font-size: 0.72rem; font-weight: 900; }
.case-focus-grid h3 { margin-top: 48px; }
.case-focus-grid p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

.case-result {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(50px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.case-result > p { color: var(--muted); font-size: 1rem; line-height: 1.8; }

.case-launch {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto 110px;
  padding: clamp(38px, 6vw, 70px);
  border: 1px solid rgba(0, 224, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.11), transparent 36%),
    radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.025);
}

.case-launch > p:not(.eyebrow) { max-width: 620px; margin-top: 20px; color: var(--muted); }
.case-launch .primary-button { margin-top: 30px; }

.case-detail,
.case-tech,
.case-notes,
.case-next,
.case-lesson {
  max-width: var(--max-width);
  margin: 0 auto;
}

.case-detail { padding: 120px 0 40px; }
.case-detail-heading { max-width: 820px; margin-bottom: 48px; }
.case-detail-heading h2,
.case-tech h2,
.case-notes h2,
.case-next h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }

.case-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.case-detail-grid-four { grid-template-columns: repeat(2, 1fr); }
.case-detail-grid article { padding: 38px; background: var(--bg); }
.case-detail-grid span { color: var(--accent-2); font-size: .72rem; font-weight: 900; }
.case-detail-grid h3 { margin: 42px 0 14px; font-size: 1.3rem; }
.case-detail-grid p,
.case-tech p,
.case-notes p,
.case-next p { color: var(--muted); line-height: 1.75; }

.case-tech { margin-top: 100px; padding: 58px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.018); }
.case-tech p { margin-top: 22px; }
.case-tech pre { margin: 0; padding: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #090b10; color: #d9e3e8; font-size: .8rem; line-height: 1.9; }

.case-notes { padding-top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); }
.case-notes article + article { padding-left: clamp(30px, 5vw, 70px); border-left: 1px solid var(--line); }
.case-list { margin: 26px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.case-list li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.65; }
.case-list li::before { content: ""; position: absolute; top: .68em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.case-next { padding: 110px 0 20px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.case-next-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.case-next-columns h3 { margin-bottom: 15px; }

.case-lesson { margin-top: 110px; padding: 60px; border-left: 3px solid var(--accent-2); background: linear-gradient(100deg, rgba(0,224,255,.08), transparent 70%); }
.case-lesson p { max-width: 900px; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.25; }
.case-lesson footer { margin-top: 22px; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.case-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.case-footer .footer-logo,
.case-footer .footer-email { margin: 0; }
.case-footer nav { display: flex; align-items: center; gap: 18px; }
.case-footer a:hover { color: var(--text); }
.case-footer .footer-privacy-button { font-size: inherit; }

@media (max-width: 980px) {
  .portfolio-hero,
  .portfolio-card,
  .portfolio-next,
  .case-hero-grid,
  .case-result { grid-template-columns: 1fr; }
  .portfolio-hero { align-items: center; }
  .portfolio-card-image { min-height: 0; }
  .project-showcase-reverse .project-visual,
  .project-showcase-reverse .project-content,
  .portfolio-card-reverse .portfolio-card-image,
  .portfolio-card-reverse .portfolio-card-body { order: initial; }
  .case-focus-grid { grid-template-columns: 1fr 1fr; }
  .case-focus-grid-five article,
  .case-focus-grid-five article:nth-last-child(-n + 2) { grid-column: auto; }
  .case-detail-grid { grid-template-columns: 1fr 1fr; }
  .case-tech,
  .case-next { grid-template-columns: 1fr; gap: 42px; }
  .trip-product-visual {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 10px;
  }
  .trip-source-counter { top: 24px; right: 18px; font-size: .44rem; }
  .trip-source-copy { top: 24px; left: 18px; }
  .trip-source-copy span { margin-bottom: 8px; font-size: .45rem; }
  .trip-source-copy strong { font-size: 1.25rem; }
  .trip-visual-bridge { display: none; }
  .case-proof-copy { grid-template-columns: 1fr; gap: 20px; }
  .case-proof-copy .eyebrow { margin-bottom: 0; }
}

@media (max-width: 700px) {
  .portfolio-hero,
  .portfolio-list,
  .portfolio-next,
  .case-hero,
  .case-intro,
  .case-story,
  .case-focus,
  .case-result { padding-left: 18px; padding-right: 18px; }
  .case-detail,
  .case-tech,
  .case-notes,
  .case-next,
  .case-lesson { width: calc(100% - 36px); }
  .portfolio-hero { min-height: 0; padding-top: 50px; padding-bottom: 44px; }
  .portfolio-hero-lead { padding-left: 18px; }
  .portfolio-list { padding-top: 30px; }
  .portfolio-card { border-radius: 22px; }
  .portfolio-card-image { min-height: 0; }
  .portfolio-card-body { padding: 30px 22px; }
  .portfolio-card-number { top: 25px; right: 24px; font-size: 3rem; }
  .portfolio-card-body .primary-button { width: 100%; }
  .portfolio-next { gap: 26px; }
  .portfolio-next .eyebrow { margin-bottom: 0; }
  .case-hero { padding-top: 42px; padding-bottom: 46px; }
  .case-back { margin-bottom: 34px; }
  .case-hero-grid { gap: 34px; }
  .case-hero-lead { margin-top: 20px; font-size: 1rem; line-height: 1.62; }
  .case-facts > div { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .case-facts dt { white-space: nowrap; }
  .case-facts dd { font-size: .82rem; overflow-wrap: anywhere; }
  .case-cover { width: calc(100% - 24px); height: auto; aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 22px 55px rgba(0, 0, 0, .28); }
  .trip-product-visual {
    min-height: 0;
    padding: 72px 16px 24px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 4px;
    aspect-ratio: auto;
  }
  .trip-visual-meta { top: 24px; left: 18px; right: 18px; font-size: .43rem; }
  .trip-globe-scene { width: min(100%, 350px); margin: 0 auto; }
  .trip-globe { width: 72%; }
  .trip-pin { min-width: 70px; padding: 17px 0 0; }
  .trip-pin i { top: 2px; left: 50%; width: 6px; height: 6px; }
  .trip-pin b { font-size: .59rem; }
  .trip-pin small { font-size: .46rem; }
  .trip-pin-lisbon { top: 42%; left: 4%; }
  .trip-pin-tirana { top: 30%; right: 1%; }
  .trip-pin-morocco { left: 12%; bottom: 23%; }
  .trip-search-preview { bottom: 1%; width: min(72%, 250px); }
  .trip-album-preview {
    width: min(94%, 330px);
    margin: 16px auto 0;
    padding: 14px;
    justify-self: center;
    border-radius: 18px;
    transform: rotate(0);
  }
  .trip-album-heading { padding: 18px 0 14px; }
  .trip-album-heading strong { font-size: 1.45rem; }
  .trip-stories { padding-bottom: 12px; }
  .trip-stories i { width: 28px; height: 28px; }
  .trip-media-grid i { aspect-ratio: 1.2; }
  .case-intro { padding-top: 66px; padding-bottom: 66px; }
  .case-intro > h2 { font-size: clamp(1.95rem, 8vw, 2.45rem); line-height: 1.08; }
  .case-intro > p:not(.eyebrow) { margin-top: 22px; font-size: .96rem; line-height: 1.7; }
  .case-story { grid-template-columns: 1fr; gap: 46px; padding-top: 66px; padding-bottom: 66px; }
  .case-story h2 { margin-bottom: 20px; font-size: clamp(1.85rem, 7.4vw, 2.25rem); line-height: 1.08; }
  .case-story article > p:last-child { font-size: .95rem; line-height: 1.72; }
  .case-story article + article { padding-left: 0; padding-top: 44px; border-left: 0; border-top: 1px solid var(--line); }
  .case-focus { padding-top: 66px; padding-bottom: 66px; }
  .case-focus .section-header { margin-bottom: 30px; }
  .case-focus .section-header h2 { font-size: clamp(1.95rem, 7.8vw, 2.35rem); line-height: 1.08; }
  .case-focus-grid { grid-template-columns: 1fr; }
  .case-focus-grid article { min-height: 0; padding: 24px 22px; border-radius: 18px; }
  .case-focus-grid article > span { margin-bottom: 26px; }
  .case-focus-grid h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.16rem; }
  .case-focus-grid p { font-size: .9rem; line-height: 1.62; }
  .case-detail { padding-top: 66px; padding-bottom: 20px; }
  .case-detail-heading { margin-bottom: 30px; }
  .case-detail-heading h2,
  .case-tech h2,
  .case-notes h2,
  .case-next h2 { font-size: clamp(1.85rem, 7.5vw, 2.3rem); line-height: 1.08; }
  .case-detail-grid,
  .case-detail-grid-four,
  .case-notes,
  .case-next-columns { grid-template-columns: 1fr; }
  .case-detail-grid { border-radius: 18px; }
  .case-detail-grid article { padding: 25px 22px; }
  .case-detail-grid h3 { margin: 24px 0 10px; font-size: 1.15rem; }
  .case-detail-grid p { font-size: .9rem; line-height: 1.62; }
  .case-proof { width: calc(100% - 36px); margin-top: 58px; }
  .case-proof-copy { margin-bottom: 24px; gap: 16px; }
  .case-proof-copy h2 { font-size: clamp(1.85rem, 7.5vw, 2.3rem); line-height: 1.08; }
  .case-proof-copy > p:last-child { font-size: .92rem; line-height: 1.65; }
  .case-proof-image { border-radius: 17px; }
  .case-tech { margin-top: 58px; padding: 28px 22px; gap: 30px; border-radius: 20px; }
  .case-tech p { margin-top: 18px; font-size: .92rem; line-height: 1.68; }
  .case-tech pre { max-width: 100%; padding: 18px 16px; overflow-x: hidden; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 14px; font-size: .65rem; line-height: 1.72; }
  .case-notes { padding-top: 66px; gap: 44px; }
  .case-notes article + article { padding-left: 0; padding-top: 42px; border-left: 0; border-top: 1px solid var(--line); }
  .case-list { margin-top: 22px; gap: 12px; }
  .case-list li { font-size: .92rem; line-height: 1.58; }
  .case-result { padding-top: 66px; padding-bottom: 66px; gap: 26px; }
  .case-result h2 { font-size: clamp(1.95rem, 7.8vw, 2.4rem); line-height: 1.08; }
  .case-result > p { font-size: .94rem; line-height: 1.7; }
  .case-next { padding-top: 66px; padding-bottom: 10px; gap: 34px; }
  .case-next-columns { gap: 30px; }
  .case-next-columns > div { padding-top: 22px; border-top: 1px solid var(--line); }
  .case-next p { font-size: .92rem; line-height: 1.65; }
  .case-lesson { margin-top: 66px; padding: 32px 22px; border-left-width: 2px; }
  .case-lesson p { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.2; }
  .case-lesson footer { margin-top: 18px; font-size: .66rem; }
  .case-launch { width: calc(100% - 36px); margin-top: 66px; margin-bottom: 66px; padding: 30px 22px; border-radius: 20px; }
  .case-launch h2 { font-size: 1.9rem; }
  .case-launch .primary-button { width: 100%; }
  .case-footer { padding: 28px 18px; flex-direction: column; align-items: flex-start; }
  .case-footer nav { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 520px) {
  .trip-product-visual { min-height: 0; }
  .trip-globe-scene { width: 310px; max-width: 100%; }
  .trip-album-preview { margin-top: 16px; }
  .trip-pin-tirana { top: 22%; }

  .case-path {
    position: relative;
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
  }

  .case-path::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 17px;
    width: 1px;
    background: linear-gradient(var(--accent-2), rgba(124, 92, 255, .35));
  }

  .case-path li {
    min-height: 68px;
    padding: 13px 12px 13px 56px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: .92rem;
  }

  .case-path li:first-child { border-top: 1px solid var(--line); }
  .case-path li::after { display: none; }
  .case-path span {
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    margin: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 224, 255, .28);
    border-radius: 50%;
    background: var(--bg);
    font-size: .62rem;
  }
}

.website-check {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
}

.website-check-content {
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  border: 1px solid rgba(0, 224, 255, 0.17);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.09), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.website-check-content h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); }

.website-check-content > div > p:last-child {
  max-width: 570px;
  margin-top: 18px;
  color: var(--muted);
}

.website-check-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 800;
}

.website-check-row { display: flex; gap: 10px; }

.website-check-row input {
  min-width: 0;
  flex: 1;
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.website-check-row input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.08);
  outline: none;
}

.website-check-error {
  min-height: 20px;
  margin-top: 8px;
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 880px) {
  .website-check { padding: 20px 18px; }
  .website-check-content { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .website-check-row { flex-direction: column; }
  .website-check-row input { flex: none; width: 100%; }
  .website-check-row .primary-button { width: 100%; }
}

.contact-landing {
  width: min(100%, var(--max-width));
  min-height: calc(100svh - 69px);
  margin: 0 auto;
  padding-top: clamp(28px, 5vh, 64px);
  padding-bottom: clamp(28px, 5vh, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.contact-brand {
  margin-bottom: clamp(28px, 5vh, 58px);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-landing h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.contact-landing-lead {
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-expectations {
  margin-top: 42px;
  display: grid;
  gap: 0;
}

.contact-expectations > div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-expectations span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.contact-expectations p { color: var(--text); }

.contact-assurance {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form-card {
  padding: clamp(24px, 3vw, 36px);
  scroll-margin-top: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 224, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    var(--card);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.36);
}

.contact-form-card h2 { font-size: clamp(2rem, 3vw, 3rem); }
.contact-form-card > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.contact-form-card form { margin-top: 18px; }
.contact-form-card form .form-group { margin-top: 10px; }
.contact-form-card form .checkbox { margin-top: 12px; padding: 11px 12px; }
.contact-form-card form .primary-button { width: 100%; margin-top: 14px; }
.contact-form-card .form-group input:not([type="checkbox"]),
.contact-form-card .form-group select { height: 44px; }
.contact-form-card .form-group textarea { min-height: 76px; padding: 12px 16px; }

.contact-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint { margin-top: 12px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.form-status { margin-top: 12px; font-size: 0.9rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-success { color: #67efb2; }
.form-status.is-error { color: var(--danger); }

.contact-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  min-height: 64px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-footer nav { display: flex; align-items: center; gap: 20px; }
.contact-footer a:hover { color: var(--text); }
.contact-footer .footer-privacy-button { font-size: inherit; }
.contact-footer .footer-email { margin-top: 0; flex-shrink: 0; }

@media (max-width: 980px) {
  .contact-landing { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .contact-landing-intro { max-width: 760px; }
  .contact-form-card { width: 100%; max-width: 680px; }
}

@media (min-width: 981px) and (max-height: 880px) {
  .contact-landing { padding-top: 8px; padding-bottom: 8px; }
  .contact-brand { margin-bottom: 20px; }
  .contact-landing h1 { font-size: clamp(2.7rem, 4.3vw, 4.5rem); }
  .contact-landing-lead { margin-top: 18px; font-size: 1rem; }
  .contact-expectations { margin-top: 24px; }
  .contact-expectations > div { padding: 12px 0; }
  .contact-assurance { margin-top: 16px; }
  .contact-form-card { padding: 18px 24px; }
  .contact-form-card h2 { font-size: 2rem; }
  .contact-form-card .eyebrow { margin-bottom: 8px; }
  .contact-form-card form { margin-top: 12px; }
  .contact-form-card form .form-group { margin-top: 7px; }
  .contact-form-card .form-group label { margin-bottom: 5px; font-size: 0.82rem; }
  .contact-form-card .form-group input:not([type="checkbox"]),
  .contact-form-card .form-group select { height: 39px; }
  .contact-form-card .form-group textarea { min-height: 58px; height: 64px; padding: 9px 14px; }
  .contact-form-card form .checkbox { margin-top: 9px; padding: 9px 11px; }
  .contact-form-card form .primary-button { min-height: 43px; margin-top: 10px; }
  .contact-form-card .form-hint { margin-top: 7px; }
  .contact-form-card .form-status { margin-top: 5px; }
}

@media (max-width: 700px) {
  .contact-landing { padding: 64px 18px; gap: 52px; }
  .contact-landing h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .contact-fields-row { grid-template-columns: 1fr; gap: 0; }
  .contact-footer { padding: 28px 18px; flex-direction: column; align-items: flex-start; }
  .contact-footer nav { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ANIMACJE  KONIEC*/

/* =========================================
   COOPERATION MODELS
========================================= */

.roadmap {
  position: relative;
  max-width: 1100px;
  margin: 64px auto 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 34px;
  height: 1px;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(255,255,255,.12),
      transparent
    );

  z-index: 0;
}

.roadmap-item {
  position: relative;
  z-index: 1;

  flex: 1;

  padding: 34px 24px;

  border-radius: 26px;
  border: 1px solid var(--line);

  background:
    radial-gradient(circle at top right,
      rgba(0,224,255,.08),
      transparent 45%),
    rgba(255,255,255,.03);

  text-align: center;

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.roadmap-item:hover{

    transform:translateY(-6px);

    border-color:rgba(0,224,255,.22);

    background:
    radial-gradient(circle at top right,
    rgba(0,224,255,.15),
    transparent 45%),
    rgba(255,255,255,.05);

}

.roadmap-item span{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:52px;
    height:52px;

    margin-bottom:22px;

    border-radius:50%;

    background:rgba(0,224,255,.08);

    border:1px solid rgba(0,224,255,.18);

    color:var(--accent-2);

    font-size:.82rem;
    font-weight:800;
    letter-spacing:.08em;

}

.roadmap-item h3{

    margin-bottom:12px;

}

.roadmap-item p{

    color:var(--muted);

    font-size:.95rem;

}

.roadmap-item.featured{

    transform:scale(1.05);

    border-color:rgba(0,224,255,.28);

    background:
    radial-gradient(circle at top right,
    rgba(0,224,255,.18),
    transparent 45%),
    rgba(255,255,255,.05);

    box-shadow:
    0 24px 80px rgba(0,0,0,.25);

}

.roadmap-item.featured::after{

    content:"Najczęściej wybierane";

    position:absolute;

    top:-14px;
    left:50%;

    transform:translateX(-50%);

    padding:8px 14px;

    border-radius:999px;

    background:var(--accent-2);

    color:#081016;

    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;

}

.roadmap-arrow{

    flex-shrink:0;

    color:rgba(255,255,255,.25);

    font-size:1.5rem;
    font-weight:300;

}

@media(max-width:1100px){

.roadmap{

    flex-direction:column;

}

.roadmap::before{

    display:none;

}

.roadmap-arrow{

    transform:rotate(90deg);

}

.roadmap-item{

    width:100%;

}

.roadmap-item.featured{

    transform:none;

}

}

/* =========================================
   LEGAL PAGES
========================================= */

.legal-hero {
  padding-bottom: 80px;
}

.legal-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.legal-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  margin: 12px 0 24px;
  max-width: 720px;
}

.legal-section p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.legal-section a {
  color: var(--accent-2);
  text-decoration: none;
  transition: opacity .2s ease;
}

.legal-section a:hover {
  opacity: .8;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding-left: 22px;
}

.legal-list li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.legal-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
      radial-gradient(
          circle at top right,
          rgba(0,224,255,.06),
          transparent 45%
      ),
      rgba(255,255,255,.025);
}

.legal-card h3 {
  margin-bottom: 14px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-box {
  margin: 28px 0;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0,224,255,.15);
  background: rgba(255,255,255,.03);
}

.legal-box p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--text);
}

.legal-content .eyebrow {
  margin-bottom: 0;
}

.legal-section:first-child {
  padding-top: 20px;
}

.legal-section:last-child {
  padding-bottom: 0;
}

/* CTA */

.legal-content + .cta-section {
  padding-top: 80px;
}

/* Responsive */

@media (max-width: 900px) {

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

  .legal-box,
  .legal-card {
      padding: 24px;
  }

}

@media (max-width: 640px) {

  .legal-content {
      padding: 0 20px 80px;
  }

  .legal-section {
      padding: 40px 0;
  }

  .legal-list {
      gap: 10px;
  }

}
/* =========================================
   404 PAGE
========================================= */

.error-main {
  min-height: calc(100vh - 90px);
}

.error-section {
  max-width: var(--max-width);
  min-height: 72vh;
  margin: 0 auto;
  padding: clamp(110px, 14vw, 180px) 24px 90px;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.error-content {
  position: relative;
}

.error-code {
  margin-bottom: -34px;

  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.1em;

  user-select: none;
}

.error-content h1 {
  max-width: 780px;
}

.error-description {
  max-width: 650px;
  margin-top: 24px;

  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.error-panel {
  position: relative;

  min-height: 440px;
  padding: 44px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 34px;

  background:
    radial-gradient(
      circle at center,
      rgba(0, 224, 255, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(124, 92, 255, 0.12),
      transparent 40%
    ),
    rgba(255, 255, 255, 0.035);

  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.error-zero {
  position: relative;
  z-index: 2;

  color: var(--accent-2);
  font-size: clamp(7rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 1;

  text-shadow:
    0 0 34px rgba(0, 224, 255, 0.34);
}

.error-panel p {
  position: relative;
  z-index: 2;

  max-width: 360px;
  margin-top: 28px;

  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.error-orbit {
  position: absolute;
  border: 1px solid rgba(0, 224, 255, 0.18);
  border-radius: 50%;
}

.error-orbit-one {
  width: 270px;
  height: 270px;

  animation: errorOrbit 10s linear infinite;
}

.error-orbit-two {
  width: 360px;
  height: 360px;

  border-color: rgba(255, 255, 255, 0.07);

  animation: errorOrbitReverse 14s linear infinite;
}

.error-orbit::before {
  content: "";

  position: absolute;
  top: 50%;
  left: -5px;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--accent-2);

  box-shadow:
    0 0 20px rgba(0, 224, 255, 0.75);
}

.error-links {
  padding-top: 20px;
}

@keyframes errorOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes errorOrbitReverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 980px) {
  .error-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .error-panel {
    min-height: 340px;
  }

  .error-code {
    margin-bottom: -16px;
  }
}

@media (max-width: 640px) {
  .error-section {
    padding:
      110px
      18px
      70px;
  }

  .error-code {
    margin-bottom: 0;
    font-size: 7rem;
  }

  .error-panel {
    min-height: 290px;
    padding: 28px 22px;
    border-radius: 26px;
  }

  .error-orbit-one {
    width: 200px;
    height: 200px;
  }

  .error-orbit-two {
    width: 270px;
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-orbit-one,
  .error-orbit-two {
    animation: none;
  }
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  position: relative;
  padding: 84px 24px 28px;
  overflow: hidden;

  border-top: 1px solid var(--line);

  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(0, 224, 255, 0.08),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018),
      rgba(255, 255, 255, 0)
    );
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;

  width: min(760px, 80%);
  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 224, 255, 0.45),
    transparent
  );
}

.footer-grid {
  position: relative;
  z-index: 1;

  width: min(100%, var(--max-width));
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 64px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 20px;

  color: var(--text);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.footer-logo:hover {
  color: var(--accent-2);
  text-shadow: 0 0 22px rgba(0, 224, 255, 0.28);
}

.footer-brand > p {
  max-width: 300px;
  margin: 0;

  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 28px;
}

.footer-email {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-email > a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
  transition: color 0.2s ease;
}

.footer-email > a:hover { color: var(--accent-2); }

.copy-email {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.copy-email:hover {
  border-color: rgba(0, 224, 255, 0.3);
  background: rgba(0, 224, 255, 0.07);
  color: var(--text);
}

.copy-email:focus-visible {
  outline: 2px solid #7cf0ff;
  outline-offset: 3px;
}

.copy-email-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-email + .footer-social { margin-top: 16px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 16px;

  border: 1px solid var(--line);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.025);

  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--text);
  border-color: rgba(0, 224, 255, 0.3);
  background: rgba(0, 224, 255, 0.07);
  transform: translateY(-2px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 12px;

  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  position: relative;

  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--accent-2);

  opacity: 0;
  transform: translateY(-50%) scale(0.5);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--text);
  transform: translateX(8px);
}

.footer-column a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.footer-bottom {
  width: min(100%, var(--max-width));
  margin: 64px auto 0;
  padding-top: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-bottom p:last-child {
  max-width: 470px;
  text-align: right;
}

/* =========================================
   FOOTER — RESPONSIVE
========================================= */

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 768px) {

  .site-footer {
      padding: 64px 22px 28px;
  }

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

  .footer-brand,
  .footer-column {
      max-width: 100%;
  }

  .footer-brand {
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
  }

  .footer-column {
      padding-bottom: 28px;
      border-bottom: 1px solid var(--line);
  }

  .footer-column:last-child {
      border-bottom: none;
      padding-bottom: 0;
  }

  .footer-social {
      margin-top: 22px;
  }

  .footer-social a {
      flex: 1;
  }

  .footer-bottom {
      margin-top: 40px;
      padding-top: 24px;

      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }

  .footer-bottom p:last-child {
      text-align: left;
      max-width: 100%;
  }

}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-column {
    padding-top: 4px;
  }

  .footer-social {
    width: 100%;
  }

  .footer-social a {
    flex: 1;
  }
}

/* =========================================
   ARTICLES PAGE — EDITORIAL GRID
========================================= */

.articles {
  position: relative;
  overflow: hidden;
}

.articles-grid {
  position: relative;
  z-index: 1;

  max-width: var(--max-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  position: relative;

  min-height: 320px;
  padding: 32px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(0, 224, 255, 0.08),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.02)
    );

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.article-card::before {
  content: "Artykuł";

  display: inline-flex;
  align-items: center;

  width: fit-content;
  margin-bottom: 26px;
  padding: 7px 10px;

  border: 1px solid rgba(0, 224, 255, 0.16);
  border-radius: 999px;

  background: rgba(0, 224, 255, 0.06);

  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 224, 255, 0.24);

  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 224, 255, 0.04);
}

.article-card h3 {
  max-width: 520px;
  margin-bottom: 16px;

  color: var(--text);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-card p {
  max-width: 560px;
  margin-bottom: 28px;

  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.article-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  width: 100%;
  margin-top: auto;
  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.article-card a::after {
  content: "→";
  color: var(--accent-2);
  font-size: 1.2rem;
  transition: transform 0.22s ease;
}

.article-card:hover a::after {
  transform: translateX(6px);
}

/* UKŁAD EDITORIAL */

.article-card:nth-child(1) {
  grid-column: span 8;
  min-height: 410px;
  padding: 44px;

  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(0, 224, 255, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 12% 90%,
      rgba(124, 92, 255, 0.12),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
}

.article-card:nth-child(1) h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article-card:nth-child(1) p {
  font-size: 1.05rem;
}

.article-card:nth-child(2) {
  grid-column: span 4;
}

.article-card:nth-child(3),
.article-card:nth-child(4) {
  grid-column: span 6;
}

.article-card:nth-child(5) {
  grid-column: 3 / span 8;
}

/* RESPONSIVE */

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

  .article-card,
  .article-card:nth-child(1),
  .article-card:nth-child(2),
  .article-card:nth-child(3),
  .article-card:nth-child(4),
  .article-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .article-card,
  .article-card:nth-child(1) {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .article-card:nth-child(1) h3 {
    font-size: 1.35rem;
  }

  .article-card p,
  .article-card:nth-child(1) p {
    font-size: 0.94rem;
  }
}

/* =========================================
   AUDIT HIGHLIGHT — HOME
========================================= */

.audit-highlight {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px);

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);

  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 36px;

  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(0, 224, 255, 0.11),
      transparent 31%
    ),
    radial-gradient(
      circle at 8% 100%,
      rgba(124, 92, 255, 0.1),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.audit-highlight::before {
  content: "";
  position: absolute;
  inset: 24px;

  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 26px;

  pointer-events: none;
}

.audit-highlight > * {
  position: relative;
  z-index: 1;
}

/* =========================================
   AUDIT CONTENT
========================================= */

.audit-content {
  max-width: 690px;
}

.audit-content h2 {
  margin-bottom: 24px;
  max-width: 650px;
}

.audit-description {
  max-width: 620px;
  margin: 0;

  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;

  white-space: normal;
}

.audit-list {
  margin: 34px 0 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  list-style: none;
}

.audit-list li {
  position: relative;

  min-height: 52px;
  padding: 14px 16px 14px 42px;

  display: flex;
  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.025);

  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.audit-list li::before {
  content: "✓";

  position: absolute;
  left: 16px;

  color: var(--accent-2);
  font-weight: 900;
}

.audit-content .hero-actions {
  margin-top: 34px;
}

/* =========================================
   AUDIT PRODUCT CARD
========================================= */

.audit-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  padding: 34px;

  overflow: hidden;

  border: 1px solid rgba(0, 224, 255, 0.16);
  border-radius: 30px;

  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(0, 224, 255, 0.15),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(0, 224, 255, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.audit-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;

  width: 300px;
  height: 300px;

  border-radius: 50%;
  background: rgba(0, 224, 255, 0.12);
  filter: blur(74px);
}

.audit-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-2),
    transparent
  );

  opacity: 0.75;
}

.audit-card > * {
  position: relative;
  z-index: 1;
}

.audit-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.audit-badge {
  display: inline-flex;
  align-items: center;

  padding: 8px 13px;

  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 999px;

  background: rgba(0, 224, 255, 0.07);

  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.audit-card h3 {
  margin: 24px 0 9px;
  font-size: 1.2rem;
}

.audit-status {
  margin-bottom: 28px;

  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.audit-price {
  margin: 0 0 10px;

  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.audit-price span {
  margin-left: 4px;

  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.audit-duration {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.audit-divider {
  width: 100%;
  height: 1px;
  margin: 26px 0;

  background: rgba(255, 255, 255, 0.08);
}

.audit-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.audit-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.audit-feature > span {
  width: 22px;
  height: 22px;

  flex: 0 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(0, 224, 255, 0.08);

  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.audit-feature p {
  margin: 0;
  padding-top: 1px;

  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.audit-footer {
  display: grid;
  gap: 22px;
}

.audit-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-meta strong {
  color: var(--text);
  font-size: 0.95rem;
}

.audit-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.audit-footer .primary-button {
  width: 100%;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1040px) {
  .audit-highlight {
    grid-template-columns: 1fr;
  }

  .audit-content {
    max-width: 760px;
  }

  .audit-card {
    max-width: 620px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .audit-highlight {
    width: calc(100% - 36px);
    padding: 34px 24px;
    gap: 42px;

    border-radius: 28px;
  }

  .audit-highlight::before {
    inset: 14px;
    border-radius: 20px;
  }

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

  .audit-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .audit-content .hero-actions .primary-button,
  .audit-content .hero-actions .secondary-button {
    width: 100%;
  }

  .audit-card {
    padding: 26px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .audit-highlight {
    width: calc(100% - 28px);
    padding: 28px 18px;
  }

  .audit-price {
    font-size: 2.7rem;
  }
}

/* =========================================
   COOPERATION PREVIEW — HOME
========================================= */

.cooperation-preview {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px;
}

.cooperation-preview-content {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.cooperation-preview .section-header {
  max-width: 780px;
  margin: 0;
}

.cooperation-preview-options {
  margin-top: 38px;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cooperation-preview-options span {
  min-height: 88px;
  padding: 18px;

  display: flex;
  align-items: flex-end;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.025);

  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.cooperation-preview-options span:hover {
  color: var(--text);
  border-color: rgba(0, 224, 255, 0.22);
  background: rgba(0, 224, 255, 0.035);
  transform: translateY(-3px);
}

.cooperation-preview-footer {
  margin-top: 34px;
  padding-top: 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  border-top: 1px solid var(--line);
}

.cooperation-preview-footer p {
  max-width: 620px;
  margin: 0;

  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cooperation-preview-footer .primary-button {
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .cooperation-preview-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-preview-options span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .cooperation-preview {
    padding: 78px 18px;
  }

  .cooperation-preview-content {
    padding-top: 34px;
  }

  .cooperation-preview-options {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .cooperation-preview-options span,
  .cooperation-preview-options span:last-child {
    grid-column: auto;
    min-height: auto;
    padding: 16px 18px;

    align-items: center;
    justify-content: space-between;
  }

  .cooperation-preview-options span::after {
    content: "→";
    color: var(--accent-2);
    font-size: 1rem;
  }

  .cooperation-preview-footer {
    margin-top: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .cooperation-preview-footer .primary-button {
    width: 100%;
  }
}

/* =========================================
   AUDIT EXAMPLES
========================================= */

.audit-examples {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px;
}

.audit-examples .section-header {
  max-width: 820px;
  margin: 0 0 46px;
}

.audit-examples-list {
  margin-top: 52px;
  display: grid;
  gap: 24px;
}

.audit-example {
  padding: 34px;

  border: 1px solid var(--line);
  border-radius: 26px;

  background: rgba(255, 255, 255, 0.025);
}

.audit-example-header {
  margin-bottom: 26px;
  padding-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-bottom: 1px solid var(--line);
}

.audit-example-category {
  margin: 0;

  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.audit-example-header > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-example-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(230px, 0.8fr)
    minmax(0, 1fr);
  gap: 18px;
}

.audit-example-message,
.audit-example-analysis {
  min-height: 230px;
  padding: 24px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
}

.audit-example-message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audit-example-message > span {
  display: inline-flex;
  width: fit-content;

  margin-bottom: 24px;
  padding: 7px 10px;

  border-radius: 999px;

  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-example-message p {
  margin: 0;

  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.audit-example-message.is-before {
  background: rgba(255, 255, 255, 0.018);
}

.audit-example-message.is-before > span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.audit-example-message.is-after {
  border-color: rgba(0, 224, 255, 0.16);

  background:
    radial-gradient(
      circle at top right,
      rgba(0, 224, 255, 0.1),
      transparent 42%
    ),
    rgba(0, 224, 255, 0.025);
}

.audit-example-message.is-after > span {
  border: 1px solid rgba(0, 224, 255, 0.18);
  color: var(--accent-2);
  background: rgba(0, 224, 255, 0.07);
}

.audit-example-analysis {
  background: rgba(255, 255, 255, 0.018);
}

.audit-example-analysis h3 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.audit-example-analysis ul {
  margin: 0;
  padding: 0;

  display: grid;
  gap: 12px;

  list-style: none;
}

.audit-example-analysis li {
  position: relative;
  padding-left: 18px;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.audit-example-analysis li::before {
  content: "";

  position: absolute;
  top: 0.62em;
  left: 0;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--accent-2);
}

.audit-examples-note {
  margin-top: 28px;
  padding-top: 24px;

  border-top: 1px solid var(--line);
}

.audit-examples-note p {
  max-width: 680px;
  margin: 0;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

  .audit-example-message,
  .audit-example-analysis {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .audit-examples {
    padding: 78px 18px;
  }

  .audit-example {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .audit-example-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .audit-example-message,
  .audit-example-analysis {
    padding: 20px;
    border-radius: 17px;
  }

  .audit-example-message p {
    font-size: 0.98rem;
  }
}

/* =========================================
   CONSENT BANNER
========================================= */

.consent-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;

  padding: 24px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  background: rgba(4, 5, 8, 0.66);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-visible {
  opacity: 1;
  visibility: visible;
}

.consent-card {
  width: min(100%, 980px);
  padding: 28px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at top right,
      rgba(0, 224, 255, 0.1),
      transparent 35%
    ),
    rgba(16, 18, 26, 0.97);

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transform: translateY(18px);

  transition: transform 0.25s ease;
}

.consent-banner.is-visible .consent-card {
  transform: translateY(0);
}

.consent-label {
  margin-bottom: 10px;

  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consent-content h2 {
  margin-bottom: 14px;

  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.consent-content > p:not(.consent-label) {
  max-width: 650px;

  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.consent-note {
  margin-top: 10px;
  font-size: 0.82rem !important;
}

.consent-actions {
  min-width: 210px;

  display: grid;
  gap: 10px;
}

.consent-actions .primary-button,
.consent-actions .secondary-button {
  width: 100%;
}

.footer-privacy-button {
  position: relative;

  padding: 0;
  background: none;

  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  text-align: left;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-privacy-button:hover {
  color: var(--text);
  transform: translateX(8px);
}

@media (max-width: 760px) {
  .consent-banner {
    padding:
      14px
      14px
      calc(14px + env(safe-area-inset-bottom));
  }

  .consent-card {
    max-height: calc(100dvh - 28px);
    overflow-y: auto;

    grid-template-columns: 1fr;
    gap: 24px;

    padding: 24px 20px;
    border-radius: 22px;
  }

  .consent-actions {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner,
  .consent-card {
    transition: none;
  }
}
