/* ==========================================================================
   MORGANOS — Agnieszka Sitkiewicz-Morganos
   Interim CFO & Controlling
   ========================================================================== */

/* --- 1. Tokeny ----------------------------------------------------------- */

:root {
  /* Granat */
  --navy-900: #0b1524;
  --navy-800: #121f35;
  --navy-700: #1a2c48;
  --navy-600: #24395a;
  --navy-500: #35507a;

  /* Zloto */
  --gold-700: #8f6a35;
  --gold-600: #a87e42;
  --gold-500: #c0954f;
  --gold-400: #d3ae74;
  --gold-200: #ecd9b6;
  --gold-050: #f6efe1;

  /* Papier i tekst */
  --cream: #fbf9f5;
  --cream-2: #f4efe7;
  --paper: #ffffff;
  --ink: #15202e;
  --body: #4a5a6e;
  --muted: #5f6e80;

  --line: rgba(18, 31, 53, 0.12);
  --line-soft: rgba(18, 31, 53, 0.07);
  --line-gold: rgba(192, 149, 79, 0.32);
  --line-on-dark: rgba(236, 217, 182, 0.18);

  /* Typografia */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.14rem + 0.55vw, 1.625rem);
  --step-3: clamp(1.65rem, 1.4rem + 1.25vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.65rem + 2.2vw, 3.5rem);
  --step-5: clamp(2.6rem, 1.85rem + 3.6vw, 4.75rem);

  /* Rytm */
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 36, 0.05), 0 8px 24px -18px rgba(11, 21, 36, 0.35);
  --shadow-md: 0 2px 4px rgba(11, 21, 36, 0.05), 0 24px 56px -32px rgba(11, 21, 36, 0.45);
  --shadow-lg: 0 40px 90px -50px rgba(11, 21, 36, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* --- 2. Reset ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

p,
figure,
figcaption,
blockquote {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

::selection {
  background: var(--gold-200);
  color: var(--navy-800);
}

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy-800);
  color: var(--gold-200);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

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

/* --- 3. Uklad ------------------------------------------------------------ */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide {
  max-width: 1440px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--paper {
  background: var(--paper);
}

.section--cream {
  background: var(--cream-2);
}

.section--dark {
  background: var(--navy-800);
  color: rgba(233, 238, 245, 0.78);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cream);
}

.rule {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* --- 4. Elementy typograficzne ------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--plain::before {
  display: none;
}

.section--dark .eyebrow {
  color: var(--gold-400);
}

.display {
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.h2 {
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.1;
}

.h3 {
  font-size: var(--step-2);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.68;
  color: var(--body);
  max-width: 58ch;
}

.section--dark .lead {
  color: rgba(226, 233, 242, 0.8);
}

.dot {
  color: var(--gold-500);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

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

.section-head .lead {
  margin-top: 1.35rem;
}

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

/* --- 5. Przyciski -------------------------------------------------------- */

.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--gold-050);
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.9rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  --btn-bg: var(--navy-700);
  --btn-bd: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn__arrow {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-bd: var(--gold-500);
  --btn-fg: #1a1206;
}

.btn--gold:hover {
  --btn-bg: var(--gold-400);
  --btn-bd: var(--gold-400);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: var(--line);
  --btn-fg: var(--ink);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-bd: var(--gold-500);
  --btn-fg: var(--gold-700);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-bd: var(--line-on-dark);
  --btn-fg: var(--cream);
}

.btn--ghost-light:hover {
  --btn-bg: transparent;
  --btn-bd: var(--gold-400);
  --btn-fg: var(--gold-200);
  box-shadow: none;
}

.btn--sm {
  padding: 0.75rem 1.35rem;
  font-size: 0.72rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
}

.link-arrow:hover {
  gap: 0.95rem;
  color: var(--gold-600);
}

.section--dark .link-arrow {
  color: var(--gold-400);
}

/* --- 6. Naglowek --------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 5.25rem;
  transition: min-height 0.4s var(--ease);
}

.header.is-stuck {
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 40px -32px rgba(11, 21, 36, 0.5);
}

.header.is-stuck .header__inner {
  min-height: 4.5rem;
}

/* Logo */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border: 1px solid var(--line-gold);
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  padding-top: 0.15rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.brand:hover .brand__mark {
  border-color: var(--gold-500);
  background: rgba(192, 149, 79, 0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1;
  color: var(--ink);
}

.brand__tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

/* Nawigacja */

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link[aria-current="page"] {
  color: var(--gold-700);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.lang:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
}

.lang__current {
  color: var(--ink);
}

.lang__sep {
  opacity: 0.4;
}

.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.burger__bars {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--ink);
  transition: background-color 0.2s var(--ease);
}

.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.burger__bars::before {
  top: -6px;
}

.burger__bars::after {
  top: 6px;
}

.burger[aria-expanded="true"] .burger__bars {
  background: transparent;
}

.burger[aria-expanded="true"] .burger__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Naglowek nad otwartym menu — jasne elementy na granacie */

.is-menu-open .header,
.is-menu-open .header.is-stuck {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.is-menu-open .brand__name {
  color: var(--cream);
}

.is-menu-open .brand__tagline {
  color: rgba(226, 233, 242, 0.55);
}

.is-menu-open .lang {
  border-color: var(--line-on-dark);
  color: rgba(226, 233, 242, 0.6);
}

.is-menu-open .lang__current {
  color: var(--cream);
}

.is-menu-open .burger {
  border-color: var(--line-on-dark);
}

.is-menu-open .burger__bars,
.is-menu-open .burger__bars::before,
.is-menu-open .burger__bars::after {
  background: var(--cream);
}

.is-menu-open .burger[aria-expanded="true"] .burger__bars {
  background: transparent;
}

.is-menu-open .floating {
  opacity: 0;
  pointer-events: none;
}

/* Menu mobilne */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: center;
  padding: 6rem var(--gutter) 3rem;
  background: var(--navy-800);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.25rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__list {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--line-on-dark);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-menu__link:hover {
  color: var(--gold-400);
  padding-left: 0.5rem;
}

.mobile-menu__num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-500);
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.mobile-menu__meta {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.4rem;
  font-size: var(--step--1);
  color: rgba(226, 233, 242, 0.65);
}

.mobile-menu__meta a:hover {
  color: var(--gold-400);
}

/* --- 7. Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(120% 90% at 78% 12%, #ffffff 0%, var(--cream) 46%, var(--cream-2) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -14rem;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 149, 79, 0.13) 0%, rgba(192, 149, 79, 0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content {
  max-width: 40rem;
}

.hero__title {
  margin-bottom: 1.75rem;
}

.hero__title > span {
  display: block;
}

.hero__lead {
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: var(--muted);
}

.hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__fact::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold-500);
  transform: rotate(45deg);
}

/* Rama zdjecia */

.figure {
  position: relative;
  isolation: isolate;
}

.figure::before {
  content: "";
  position: absolute;
  inset: 1.5rem 1.5rem -1.5rem -1.5rem;
  border: 1px solid var(--line-gold);
  z-index: -1;
}

.figure__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}

.figure__img--square {
  aspect-ratio: 1 / 1;
  object-position: 58% 30%;
}

.figure__plate {
  position: absolute;
  left: -1px;
  bottom: -1px;
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.6rem;
  background: rgba(18, 31, 53, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid var(--line-on-dark);
  border-right: 1px solid var(--line-on-dark);
  max-width: 88%;
}

.figure__plate strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-400);
}

.figure__plate span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(226, 233, 242, 0.62);
}

/* --- 8. Filary ----------------------------------------------------------- */

.pillars {
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
}

.pillars__grid {
  display: grid;
  gap: 0;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.pillar {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  text-align: center;
  padding: 1.35rem clamp(0.75rem, 2vw, 1.75rem);
}

.pillar__icon {
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.4rem;
  color: var(--gold-600);
  transition: transform 0.45s var(--ease), color 0.45s var(--ease);
}

.pillar:hover .pillar__icon {
  transform: translateY(-3px);
  color: var(--gold-500);
}

.pillar__title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.pillar__text {
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--muted);
  max-width: 21ch;
}

/* --- 9. Uslugi ----------------------------------------------------------- */

.services__grid {
  display: grid;
  gap: 0;
}

.service {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service:hover {
  background: var(--paper);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.service__icon {
  width: 3rem;
  height: 3rem;
  color: var(--gold-600);
  transition: transform 0.45s var(--ease);
}

.service:hover .service__icon {
  transform: translateY(-2px) scale(1.04);
}

.service__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.service__text {
  font-size: var(--step--1);
  line-height: 1.68;
  color: var(--body);
}

.services__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

/* --- 10. Segmenty (ciemna sekcja) ---------------------------------------- */

.segments__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.segment {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 1px solid var(--line-on-dark);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.segment:hover {
  border-color: rgba(211, 174, 116, 0.4);
  transform: translateY(-4px);
}

.segment__kicker {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  color: rgba(211, 174, 116, 0.42);
}

.segment__title {
  margin: 0.85rem 0 0.85rem;
  font-size: var(--step-2);
}

.segment__text {
  color: rgba(226, 233, 242, 0.72);
  font-size: var(--step--1);
  line-height: 1.7;
}

.segment__list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-on-dark);
}

.segment__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: rgba(233, 238, 245, 0.86);
}

.segment__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 1px;
  background: var(--gold-500);
}

.segments__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

/* --- 11. Cytat ----------------------------------------------------------- */

.quote {
  background: var(--cream-2);
  text-align: center;
}

.quote__inner {
  max-width: 46rem;
  margin-inline: auto;
}

.quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.quote__text {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  line-height: 1.32;
  color: var(--ink);
}

.quote__author {
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.quote__role {
  margin-top: 0.35rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* --- 12. Wartosci -------------------------------------------------------- */

.values__grid {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  align-items: start;
}

.value__icon {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--gold-600);
  grid-row: span 2;
}

.value__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.value__text {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--body);
  grid-column: 2;
}

/* --- 13. Blok "o mnie" --------------------------------------------------- */

.about-split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-split__body p + p {
  margin-top: 1.15rem;
}

.about-split__role {
  margin: 0.6rem 0 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.about-split__cta {
  margin-top: 2rem;
}

/* --- 14. CTA ------------------------------------------------------------- */

.cta {
  position: relative;
  background: var(--navy-800);
  color: rgba(233, 238, 245, 0.8);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -40%;
  width: 52rem;
  height: 52rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(192, 149, 79, 0.16) 0%, rgba(192, 149, 79, 0) 62%);
  pointer-events: none;
}

.cta h2,
.cta h3 {
  color: var(--cream);
}

.cta .eyebrow {
  color: var(--gold-400);
}

.cta__inner {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.cta__text {
  margin-top: 1.35rem;
  color: rgba(226, 233, 242, 0.78);
  font-size: var(--step-1);
  line-height: 1.65;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

/* --- 15. Strona uslug ---------------------------------------------------- */

.page-hero {
  position: relative;
  padding-top: clamp(8.5rem, 13vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: radial-gradient(110% 100% at 20% 0%, #ffffff 0%, var(--cream) 55%, var(--cream-2) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero__inner {
  max-width: 44rem;
}

.page-hero__lead {
  margin-top: 1.5rem;
}

.detail-list {
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 4rem);
}

.detail {
  display: grid;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}

.detail:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail__head {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.detail__icon {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--gold-600);
}

.detail__title {
  font-size: var(--step-2);
}

.detail__text {
  color: var(--body);
  line-height: 1.7;
}

.detail__points {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.detail__points li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--body);
}

.detail__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--gold-500);
  transform: rotate(45deg);
}

/* Proces */

.steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.step__n {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.step__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--body);
}

/* Formy wspolpracy */

.formats {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.format {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.format:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.format__title {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}

.format__text {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--body);
}

/* --- 16. Strona "doswiadczenie" ------------------------------------------ */

.bio {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.bio__body p + p {
  margin-top: 1.2rem;
}

.bio__aside {
  position: relative;
}

.cards {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.card {
  padding: clamp(1.6rem, 2.6vw, 2.15rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.card__title::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold-500);
  margin-bottom: 1rem;
}

.card__text {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--body);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-on-dark);
}

.section--dark .card:hover {
  border-color: rgba(211, 174, 116, 0.4);
}

.section--dark .card__title {
  color: var(--cream);
}

.section--dark .card__text {
  color: rgba(226, 233, 242, 0.72);
}

/* --- 17. Kontakt --------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.form__row {
  display: grid;
  gap: 1.35rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__label .req {
  color: var(--gold-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%237c8a9b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(192, 149, 79, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b4453d;
  background: #fdf6f5;
}

.field__error {
  font-size: 0.75rem;
  color: #b4453d;
  min-height: 1em;
}

.field__error:empty {
  display: none;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.32rem;
  accent-color: var(--gold-600);
}

.consent label {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--body);
}

.form__note {
  font-size: 0.78rem;
  color: var(--muted);
}

.form__status {
  display: none;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--gold-500);
  background: var(--gold-050);
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--navy-700);
}

.form__status.is-visible {
  display: block;
}

.form__status.is-error {
  border-left-color: #b4453d;
  background: #fdf1f0;
  color: #7d2f29;
}

/* Panel kontaktowy */

.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--navy-800);
  color: rgba(226, 233, 242, 0.78);
}

.contact-panel__title {
  font-size: var(--step-2);
  color: var(--cream);
}

.contact-list {
  display: grid;
  gap: 1.35rem;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.9rem;
  align-items: start;
}

.contact-item__icon {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.35rem;
  color: var(--gold-400);
  grid-row: span 2;
}

.contact-item__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(211, 174, 116, 0.8);
}

.contact-item__value {
  grid-column: 2;
  font-size: var(--step-0);
  color: var(--cream);
  line-height: 1.5;
  word-break: break-word;
}

a.contact-item__value:hover {
  color: var(--gold-400);
}

.locations {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
}

.location {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(236, 217, 182, 0.1);
}

.location:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.location__city {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}

.location__note {
  font-size: 0.75rem;
  color: rgba(226, 233, 242, 0.55);
  text-align: right;
}

/* --- 18. Stopka --------------------------------------------------------- */

.footer {
  background: var(--navy-900);
  color: rgba(226, 233, 242, 0.68);
  padding-block: clamp(3.25rem, 6vw, 5rem) 2rem;
}

.footer__grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
}

.footer__title {
  margin-bottom: 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.footer__list {
  display: grid;
  gap: 0.85rem;
  font-size: var(--step--1);
}

.footer__list a,
.footer__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(226, 233, 242, 0.72);
  transition: color 0.3s var(--ease);
  word-break: break-word;
}

.footer__list a:hover {
  color: var(--gold-400);
}

.footer__list svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--gold-500);
}

.footer__brand {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.footer__mark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid rgba(211, 174, 116, 0.35);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  padding-top: 0.25rem;
  color: var(--gold-400);
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.22em;
  color: var(--gold-400);
}

.footer__person {
  font-size: var(--step--1);
  color: rgba(226, 233, 242, 0.82);
}

.footer__role {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(226, 233, 242, 0.5);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(236, 217, 182, 0.12);
  font-size: 0.78rem;
  color: rgba(226, 233, 242, 0.45);
}

.footer__bottom a:hover {
  color: var(--gold-400);
}

/* --- 19. Pasek akcji (mobile) i przycisk do gory ------------------------- */

.floating {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  gap: 0.6rem;
  transition: opacity 0.3s var(--ease);
}

.floating__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(0.75rem) scale(0.9);
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    background-color 0.35s var(--ease), visibility 0.35s;
}

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

.floating__btn:hover {
  background: var(--navy-700);
  color: var(--gold-200);
}

.floating__btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.floating__btn--call {
  opacity: 1;
  transform: none;
  visibility: visible;
  background: var(--gold-500);
  color: #1a1206;
  border-color: var(--gold-500);
}

.floating__btn--call:hover {
  background: var(--gold-400);
  color: #1a1206;
}

/* --- 20. 404 ------------------------------------------------------------- */

.notfound {
  min-height: 78vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 9rem var(--gutter) 5rem;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  color: var(--gold-400);
}

.notfound__text {
  max-width: 34rem;
  margin: 1.25rem auto 0;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2.25rem;
}

/* --- 21. Animacje -------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Sekcje nad zagieciem animujemy czystym CSS-em — nie zaleza od JS. */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.anim-up {
  animation: fade-up 0.9s var(--ease) both;
}

.anim-up--late {
  animation-delay: 0.15s;
}

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

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

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

  .anim-up {
    animation: none;
  }
}

/* --- 22. Breakpointy ----------------------------------------------------- */

@media (min-width: 40rem) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }

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

  .pillar {
    border-left: 1px solid var(--line-soft);
  }

  .pillar:nth-child(2n + 1) {
    border-left: 0;
  }

  .pillar:nth-child(n + 3) {
    padding-top: 2.25rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--line-soft);
  }

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

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

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

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

  .locations {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem 2rem;
  }
}

@media (min-width: 52rem) {
  .segments__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formats {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service {
    border-left: 1px solid var(--line-soft);
  }

  .service:nth-child(3n + 1) {
    border-left: 0;
  }

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

  .bio {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

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

@media (min-width: 62rem) {
  .header__inner {
    min-height: 6rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .hero__figure {
    order: -1;
  }

  .pillars__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pillar:nth-child(n) {
    border-left: 1px solid var(--line-soft);
    border-top: 0;
    margin-top: 0;
    padding-top: 1.35rem;
  }

  .pillar:first-child {
    border-left: 0;
  }

  .values__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-split {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  }

  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 75rem) {
  .services__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .service:nth-child(3n + 1) {
    border-left: 1px solid var(--line-soft);
  }

  .service:first-child {
    border-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1.1fr 1fr 0.8fr auto;
    align-items: start;
  }

  .footer__brand {
    justify-items: end;
    text-align: right;
  }
}

@media (max-width: 61.99rem) {
  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: grid;
  }

  .figure::before {
    inset: 1rem 1rem -1rem -1rem;
  }
}

@media (max-width: 47.99rem) {
  .brand__tagline {
    display: none;
  }

  .brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand__name {
    font-size: 1.05rem;
    letter-spacing: 0.13em;
  }

  .header__actions {
    gap: 0.5rem;
  }

  .lang {
    padding: 0.45rem 0.55rem;
    font-size: 0.65rem;
  }

  .burger {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 39.99rem) {

  .btn {
    width: 100%;
  }

  .hero__actions .btn,
  .cta__actions .btn,
  .notfound__actions .btn {
    width: 100%;
  }
}
