/* AlterLumina – one-page */

:root {
  --magenta: #a91b60;
  --magenta-dark: #8a164d;
  --magenta-light: #f8eef3;
  --hero-bg: #a91b60;
  --teal: #7dd3e0;
  --teal-soft: rgba(125, 211, 224, 0.2);
  --cream: #fdfbfc;
  --text: #2a2a2a;
  --text-muted: #5c5c5c;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(158, 27, 101, 0.08);
  --font: "Nunito", "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --max: 1100px;
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--magenta);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus-visible {
  color: var(--magenta-dark);
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Header ── */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(169, 27, 96, 0.08);
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.header--scrolled .header__logo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.header__logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  background: none;
  border: none;
  margin-left: auto;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  background: var(--magenta);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(169, 27, 96, 0.22);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: var(--magenta-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(169, 27, 96, 0.32);
  color: var(--white);
}

.nav__link--home {
  padding-inline: 1.45rem;
}

.nav__home-icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.nav__link--cta {
  background: var(--white);
  color: var(--magenta);
  border: 2px solid var(--magenta);
  box-shadow: none;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(169, 27, 96, 0.15);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.nav__toggle:hover {
  border-color: var(--magenta);
  background: var(--magenta-light);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--magenta);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */

.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 95%, rgba(125, 211, 224, 0.1) 0%, transparent 50%),
    linear-gradient(155deg, #b8226a 0%, #a91b60 42%, #9a1858 78%, #8a164d 100%);
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__logo-wrap {
  display: flex;
  justify-content: flex-start;
}

.hero__logo {
  width: min(280px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(125, 211, 224, 0.35);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: normal;
  color: var(--teal);
}

.hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--hero-primary {
  background: var(--white);
  color: var(--hero-bg);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn--hero-primary:hover,
.btn--hero-primary:focus-visible {
  background: var(--teal);
  color: var(--white);
}

.btn--hero-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn--hero-ghost:hover,
.btn--hero-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(158, 27, 101, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--magenta-dark);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--magenta);
  border-color: rgba(158, 27, 101, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--magenta-light);
  color: var(--magenta-dark);
}

/* ── Sections ── */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
  background: var(--white);
}

.section--magenta {
  background: linear-gradient(135deg, var(--magenta) 0%, #b82470 100%);
  color: var(--white);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section--magenta .section__eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section__intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 100%;
}

.section--magenta .section__intro {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Values ── */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(158, 27, 101, 0.06);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta-light);
  color: var(--magenta);
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Team ── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.team-card__avatar--kh {
  background-image: url("../images/kasia.jpg");
}

.team-card__avatar--is {
  background-image: url("../images/iwona.jpg");
}

.team-card__avatar--ml {
  background-image: url("../images/magda.jpg");
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-card__bio {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.92;
}

/* ── Activity ── */

.activity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  background: var(--magenta-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(158, 27, 101, 0.08);
}

.activity__tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--white);
  color: var(--magenta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.activity h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.activity p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.activity__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.activity__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(158, 27, 101, 0.06);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(158, 27, 101, 0.08);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span {
  font-weight: 600;
  color: var(--text);
}

.contact-list a:hover {
  color: var(--magenta);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--magenta-light);
  border-radius: 50%;
  color: var(--magenta);
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--magenta);
  color: var(--white);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Footer ── */

.footer {
  padding: 1.5rem 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-align: center;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.footer a:hover {
  color: var(--white);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__logo-wrap {
    justify-content: center;
  }

  .hero__logo {
    width: min(220px, 70%);
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .values,
  .team-grid,
  .activity,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header__inner {
    justify-content: space-between;
  }

  .header__logo img {
    height: 56px;
  }

  .nav__toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(169, 27, 96, 0.12);
    box-shadow: 0 16px 48px rgba(169, 27, 96, 0.15);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0.75rem);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .nav__link--cta {
    margin-top: 0.25rem;
  }
}
