:root {
  --ink: #282338;
  --ink-soft: #514a60;
  --lavender-950: #352840;
  --lavender-800: #584267;
  --lavender-700: #6d527e;
  --lavender-500: #9b7fb0;
  --lavender-300: #cbb9da;
  --lavender-200: #dfd3e9;
  --lavender-100: #f1eaf5;
  --sunrise: #e99a72;
  --sunrise-deep: #bd6858;
  --sunrise-soft: #f7d7c3;
  --mint: #cfe6dc;
  --mint-deep: #477265;
  --cream: #fffaf6;
  --paper: #ffffff;
  --line: rgba(88, 66, 103, 0.16);
  --shadow-sm: 0 14px 36px rgba(67, 48, 75, 0.09);
  --shadow-lg: 0 30px 80px rgba(67, 48, 75, 0.16);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --container: 1220px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(247, 215, 195, 0.72), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(207, 230, 220, 0.62), transparent 25rem),
    var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

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

:focus-visible {
  outline: 3px solid rgba(233, 154, 114, 0.85);
  outline-offset: 4px;
}

::selection {
  color: var(--lavender-950);
  background: var(--sunrise-soft);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--lavender-800);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

.section-compact {
  padding: clamp(58px, 7vw, 90px) 0;
}

.section-tint {
  background: linear-gradient(135deg, rgba(241, 234, 245, 0.92), rgba(255, 255, 255, 0.88) 48%, rgba(247, 215, 195, 0.46));
  border-block: 1px solid var(--line);
}

.section-mint {
  background: linear-gradient(145deg, rgba(207, 230, 220, 0.65), rgba(255, 255, 255, 0.9) 55%, rgba(241, 234, 245, 0.84));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--lavender-700);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--sunrise), var(--lavender-500));
  content: "";
}

.display-title,
.section-title,
.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.display-title {
  max-width: 780px;
  font-size: clamp(3.35rem, 7vw, 6.6rem);
}

.display-title em {
  color: var(--lavender-700);
  font-style: italic;
  font-weight: 400;
}

.section-title {
  max-width: 850px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.section-lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(38px, 6vw, 70px);
}

.section-head .section-lead {
  max-width: 510px;
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lavender-700);
  font-weight: 760;
  text-decoration: none;
}

.text-link::after {
  font-size: 1.12em;
  content: "↗";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--lavender-700), #806395);
  box-shadow: 0 14px 28px rgba(109, 82, 126, 0.23);
}

.button-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #7c5f8e, #9978ad);
  box-shadow: 0 18px 34px rgba(109, 82, 126, 0.3);
}

.button-secondary {
  color: var(--lavender-950);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(88, 66, 103, 0.24);
  box-shadow: 0 8px 24px rgba(67, 48, 75, 0.08);
}

.button-secondary:hover {
  background: #fff;
  border-color: var(--lavender-300);
}

.button-sunrise {
  color: #442c35;
  background: linear-gradient(135deg, #f8d4bd, #efb38c);
  border-color: rgba(189, 104, 88, 0.12);
  box-shadow: 0 14px 28px rgba(189, 104, 88, 0.15);
}

.button-sunrise:hover {
  background: linear-gradient(135deg, #fbe3d2, #f0bd9b);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.82rem;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 246, 0.9);
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(67, 48, 75, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 214px;
  height: 58px;
  flex: none;
  overflow: hidden;
  border-radius: 8px;
}

.brand-mark img {
  position: absolute;
  top: -80px;
  left: -56px;
  width: 330px;
  max-width: none;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

/* Przycisk wewnątrz nawigacji należy do menu mobilnego.
   Na dużym ekranie pozostaje pojedynczy przycisk w header-actions. */
body:not(.news-page) .site-nav > .button {
  display: none;
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 11px 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--sunrise), var(--lavender-500));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: flex;
  padding: 3px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch a {
  min-width: 34px;
  padding: 6px 8px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--lavender-700);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--lavender-800);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4.5px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-1.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 155px 0 88px;
}

.hero::before {
  position: absolute;
  top: -220px;
  left: 34%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 220, 178, 0.9) 0, rgba(247, 215, 195, 0.44) 36%, transparent 69%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -270px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(203, 185, 218, 0.7), transparent 68%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
}

.hero-copy {
  padding: 36px 0;
}

.hero-copy .section-lead {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 38px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

.hero-meta .icon {
  width: 17px;
  height: 17px;
  color: var(--lavender-700);
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 58px 34px;
  overflow: hidden;
  background: var(--lavender-100);
  border: 10px solid rgba(255, 255, 255, 0.55);
  border-radius: 220px 220px 40px 40px;
  box-shadow: var(--shadow-lg);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(223, 211, 233, 0.08), rgba(53, 40, 64, 0.22));
  content: "";
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero-photo:hover img {
  transform: scale(1.025);
}

.hero-note {
  position: absolute;
  right: -12px;
  bottom: 0;
  max-width: 290px;
  padding: 21px 24px;
  color: var(--lavender-950);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-note span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.hero-flower {
  position: absolute;
  z-index: -1;
  top: 80px;
  left: -12px;
  width: 125px;
  height: 125px;
  opacity: 0.35;
  border: 1px solid var(--lavender-500);
  border-radius: 54% 46% 66% 34% / 44% 55% 45% 56%;
  transform: rotate(24deg);
}

/* Intro and pathway */
.intro-grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 8vw, 110px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.signature-card {
  position: relative;
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.signature-card::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(247, 215, 195, 0.72), transparent 66%);
  border-radius: 50%;
  content: "";
}

.signature-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.signature-quote em {
  color: var(--lavender-700);
  font-style: italic;
}

.principles {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

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

.principle-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--lavender-800);
  background: var(--lavender-100);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.principle h3 {
  margin: 1px 0 4px;
  font-size: 1rem;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.pathway-card {
  position: relative;
  min-height: 330px;
  padding: 30px 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(88, 66, 103, 0.13);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(67, 48, 75, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pathway-card:hover {
  border-color: rgba(155, 127, 176, 0.38);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.pathway-card::after {
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(223, 211, 233, 0.66), transparent 66%);
  border-radius: 50%;
  content: "";
}

.pathway-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  color: var(--lavender-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pathway-step .icon {
  width: 26px;
  height: 26px;
}

.pathway-card h3 {
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: 1.56rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pathway-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 27px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: #fff;
  border-color: rgba(155, 127, 176, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--lavender-700);
  background: linear-gradient(145deg, var(--lavender-100), rgba(247, 215, 195, 0.65));
  border-radius: 16px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-card .arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--lavender-500);
  font-size: 1.2rem;
}

/* People */
.people-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.25fr 0.75fr;
}

.person-card {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 0.88fr 1.12fr;
}

.person-card.secondary {
  display: flex;
  flex-direction: column;
}

.person-photo {
  min-height: 100%;
  background: var(--lavender-100);
}

.person-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.person-card.secondary .person-photo {
  height: 310px;
  min-height: 310px;
}

.person-card.secondary .person-photo img {
  min-height: 310px;
  object-position: center 18%;
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 58px);
}

.person-card.secondary .person-copy {
  flex: 1;
  padding: 30px;
}

.person-copy .role {
  margin-bottom: 12px;
  color: var(--lavender-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-copy h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.person-card.secondary .person-copy h3 {
  font-size: 2rem;
}

.person-copy p {
  margin: 0 0 23px;
  color: var(--ink-soft);
}

.credential-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 28px;
  padding: 0;
  list-style: none;
}

.credential-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.credential-list li::before {
  width: 8px;
  height: 8px;
  flex: none;
  background: linear-gradient(135deg, var(--sunrise), var(--lavender-500));
  border-radius: 50%;
  content: "";
}

/* Place and gallery */
.place-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.place-collage {
  position: relative;
  min-height: 640px;
}

.place-collage .large,
.place-collage .small {
  position: absolute;
  overflow: hidden;
  background: var(--lavender-100);
  border: 8px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}

.place-collage .large {
  inset: 0 56px 78px 0;
  border-radius: 170px 28px 28px 28px;
}

.place-collage .small {
  right: 0;
  bottom: 0;
  width: 47%;
  height: 43%;
  border-radius: 24px 24px 90px 24px;
}

.place-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-details {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.place-detail {
  display: grid;
  align-items: start;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
}

.place-detail .icon-wrap {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--lavender-700);
  background: var(--lavender-100);
  border-radius: 14px;
}

.place-detail strong,
.place-detail span {
  display: block;
}

.place-detail strong {
  margin-bottom: 2px;
}

.place-detail span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 250px 250px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--lavender-100);
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(53, 40, 64, 0.32));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item:hover::after {
  opacity: 1;
}

.lightbox {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.lightbox::backdrop {
  background: rgba(36, 28, 45, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--lavender-950);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

/* International, FAQ, contact */
.international-card {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(36px, 7vw, 82px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(53, 40, 64, 0.96), rgba(88, 66, 103, 0.86)),
    url("../img/baltique-sopot-architecture.webp") center / cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  grid-template-columns: 1fr 0.86fr;
}

.international-card::after {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(233, 154, 114, 0.48), transparent 68%);
  border-radius: 50%;
  content: "";
}

.international-card .eyebrow,
.international-card .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.international-card .section-title {
  color: #fff;
}

.international-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.international-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
}

.international-points .icon {
  color: var(--sunrise-soft);
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 23px 58px 23px 24px;
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 21px;
  right: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--lavender-700);
  background: var(--lavender-100);
  border-radius: 50%;
  content: "+";
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.contact-card {
  position: relative;
  display: grid;
  gap: clamp(38px, 7vw, 92px);
  padding: clamp(38px, 7vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 5%, rgba(247, 215, 195, 0.92), transparent 24rem),
    radial-gradient(circle at 12% 90%, rgba(207, 230, 220, 0.74), transparent 28rem),
    #fff;
  border: 1px solid rgba(88, 66, 103, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  grid-template-columns: 1fr 0.88fr;
}

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

.contact-option {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 19px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  grid-template-columns: 44px 1fr auto;
}

.contact-option:hover {
  background: #fff;
  border-color: var(--lavender-300);
  transform: translateX(3px);
}

.contact-option .contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--lavender-700);
  background: var(--lavender-100);
  border-radius: 14px;
}

.contact-option strong,
.contact-option span {
  display: block;
}

.contact-option span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.contact-option .arrow {
  color: var(--lavender-500);
}

.contact-note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

/* Footer */
.site-footer {
  margin-top: clamp(70px, 10vw, 132px);
  padding: 68px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(145deg, var(--lavender-950), #4e3a59 58%, #59424e);
}

.footer-grid {
  display: grid;
  gap: 48px;
  padding-bottom: 54px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.site-footer .brand-mark {
  margin-bottom: 22px;
  filter: saturate(0.95) brightness(1.15);
}

.site-footer p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.footer-title {
  margin: 3px 0 18px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--lavender-700);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #806395;
}

.noscript-note {
  padding: 12px 18px;
  color: #3e2f45;
  background: var(--sunrise-soft);
  font-size: 0.88rem;
  text-align: center;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

@media (max-width: 1100px) {
  .site-nav {
    position: fixed;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100vh - 104px);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    overflow-y: auto;
    background: rgba(255, 250, 246, 0.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 13px 8px;
    font-size: 1rem;
  }

  body:not(.news-page) .site-nav > .button {
    display: inline-flex;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions > .button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .hero-visual {
    min-height: 530px;
  }

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

  .pathway-card {
    min-height: 285px;
  }

  .pathway-step {
    margin-bottom: 38px;
  }

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

  .person-card.secondary {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
  }

  .person-card.secondary .person-photo,
  .person-card.secondary .person-photo img {
    height: auto;
    min-height: 390px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-mark {
    width: 176px;
    height: 50px;
  }

  .brand-mark img {
    top: -67px;
    left: -47px;
    width: 277px;
  }

  .site-nav {
    top: 74px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 72px;
  }

  .hero-grid,
  .intro-grid,
  .place-grid,
  .international-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-photo {
    inset: 0 24px 58px;
  }

  .hero-note {
    right: 8px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head .section-lead {
    margin-top: 6px;
  }

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

  .person-card,
  .person-card.secondary {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .person-photo img,
  .person-card.secondary .person-photo img {
    min-height: 460px;
  }

  .place-grid {
    gap: 60px;
  }

  .place-collage {
    min-height: 590px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 220px 220px;
  }

  .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery-item:last-child {
    grid-column: 1 / 3;
  }

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .language-switch {
    display: none;
  }

  .display-title {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .section-title {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

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

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-photo {
    inset: 0 4px 64px;
    border-width: 6px;
    border-radius: 150px 150px 30px 30px;
  }

  .hero-note {
    right: 0;
    left: 34px;
    max-width: none;
  }

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

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

  .person-card,
  .person-card.secondary {
    grid-template-columns: 1fr;
  }

  .person-photo,
  .person-card.secondary .person-photo {
    height: 430px;
    min-height: 430px;
  }

  .person-photo img,
  .person-card.secondary .person-photo img {
    min-height: 430px;
  }

  .place-collage {
    min-height: 470px;
  }

  .place-collage .large {
    inset: 0 28px 70px 0;
  }

  .place-collage .small {
    width: 56%;
    height: 39%;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 270px);
  }

  .gallery-item:first-child,
  .gallery-item:last-child {
    grid-column: auto;
  }

  .contact-option {
    padding: 16px;
    grid-template-columns: 42px 1fr;
  }

  .contact-option .arrow {
    display: none;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* CMS: aktualności, artykuły i materiały z życia Baltique */
.cms-news .section-head > div:last-child {
  max-width: 510px;
}

.news-all-link {
  margin-top: 18px;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid rgba(88, 66, 103, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.news-card-media {
  display: block;
  height: 248px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--lavender-200), var(--mint), var(--sunrise-soft));
  text-decoration: none;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.035);
}

.news-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(88, 66, 103, 0.56);
  font-family: var(--font-display);
  font-size: 6rem;
}

.news-card-copy {
  padding: 26px;
}

.news-date {
  color: var(--lavender-700);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}

.news-card h3 a {
  text-decoration: none;
}

.news-card p {
  min-height: 4.9em;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.news-card .text-link::after,
.news-all-link::after {
  display: none;
}

.news-page .site-header {
  position: sticky;
}

.news-page .news-nav {
  position: static;
  display: flex;
  max-height: none;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.news-page .news-nav .button {
  margin-top: 0;
}

.news-page .reveal {
  opacity: 1;
  transform: none;
}

.news-index-hero,
.article-header {
  padding: clamp(100px, 13vw, 180px) 0 clamp(58px, 8vw, 96px);
}

.news-index-hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 82% 20%, rgba(233, 154, 114, 0.28), transparent 25rem), linear-gradient(145deg, rgba(241, 234, 245, 0.9), rgba(255, 250, 246, 0.94));
}

.news-index-hero .display-title,
.article-header .display-title {
  max-width: 970px;
}

.article-page {
  padding-bottom: clamp(80px, 10vw, 140px);
}

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

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

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

.article-layout {
  display: grid;
  gap: clamp(32px, 5vw, 62px);
  max-width: 980px;
}

.article-hero,
.article-video {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-hero img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.article-hero figcaption {
  padding: 12px 20px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.82rem;
}

.article-body {
  width: min(100%, 760px);
  margin-inline: auto;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.1vw, 1.46rem);
  line-height: 1.82;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 0.11em 0.12em 0 0;
  color: var(--lavender-700);
  font-size: 3.7em;
  line-height: 0.78;
}

.article-body li {
  margin: 0.45em 0;
}

.article-video-link {
  margin-top: 34px;
}

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

.article-gallery figure {
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.article-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-state {
  padding: 48px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

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

  .news-page .news-nav {
    font-size: 0.84rem;
  }
}

@media (max-width: 650px) {
  .news-grid,
  .article-gallery {
    grid-template-columns: 1fr;
  }

  .news-card-media {
    height: 230px;
  }

  .article-gallery figure {
    height: 300px;
  }

  .news-page .news-nav a:not(.button) {
    display: none;
  }

  .news-page .news-nav .button {
    min-height: 42px;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media print {
  .site-header,
  .hero-actions,
  .gallery-grid,
  .back-to-top,
  .site-footer {
    display: none !important;
  }

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

  .section,
  .hero {
    min-height: 0;
    padding: 24px 0;
  }

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