/* =====================================================
   PANI OD ANGLIKA — style.css
   Kolory: angielska flaga — #CF142B (red), #00247D (blue), #FFFFFF
   ===================================================== */

:root {
  --red:    #CF142B;
  --blue:   #00247D;
  --white:  #FFFFFF;
  --red-light:  #fde8eb;
  --blue-light: #e8edf9;
  --text:   #1a1a2e;
  --muted:  #6b7280;
  --bg:     #f8f9fe;
  --radius: 1.2rem;
  --shadow: 0 4px 24px rgba(0,36,125,.10);
  --font: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 3rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover { background: #b01020; border-color: #b01020; }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* Outline button na ciemnym tle (hero, page-header) */
.hero .btn--outline,
.page-header .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.hero .btn--outline:hover,
.page-header .btn--outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn--nav {
  background: var(--red);
  color: var(--white);
  padding: .5rem 1.2rem;
  font-size: .9rem;
}
.btn--nav:hover { background: #b01020; transform: none; }

.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,36,125,.08);
  transition: transform .3s ease;
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
}
.logo__flag { font-size: 1.5rem; }
.logo__text strong { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a:not(.btn) {
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s;
}
.nav__links a:not(.btn):hover { color: var(--red); }
.nav__links a:not(.btn):hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.burger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0a3899 50%, #1a52c4 100%);
  color: var(--white);
  padding: 6rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(207,20,43,.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3rem;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero__tag::before { content: '📍'; }

.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero__sub {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__sub em { font-style: normal; color: #ffd700; font-weight: 700; }
.hero__em { font-style: normal; color: #ffd700; }

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__image { position: relative; }

.hero__img-wrap {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  aspect-ratio: 4/3;
}
.hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: var(--white);
  color: var(--text);
  border-radius: 1rem;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  font-size: .9rem;
}
.badge__icon { font-size: 1.6rem; }
.hero__badge strong { display: block; font-weight: 800; color: var(--blue); }
.hero__badge small { font-size: .75rem; color: var(--muted); }

.hero__deco {
  position: absolute;
  font-weight: 900;
  border-radius: 1rem;
  animation: float 4s ease-in-out infinite;
}
.hero__deco--1 {
  top: -1rem; right: -1rem;
  background: var(--red);
  color: var(--white);
  padding: .6rem 1rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
  animation-delay: 0s;
}
.hero__deco--2 {
  bottom: 3rem; right: -1.5rem;
  font-size: 2rem;
  animation-delay: 1s;
}
.hero__deco--3 {
  top: 40%; left: -1.5rem;
  background: #ffd700;
  color: var(--blue);
  padding: .5rem .9rem;
  font-size: 1rem;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__wave { line-height: 0; }
.hero__wave svg { width: 100%; height: 60px; }

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.section--bg { background: var(--bg); }

.section__label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: .6rem;
}
.center { text-align: center; }
.section__label.center { display: block; }

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.highlight {
  color: var(--red);
  position: relative;
}

/* ---- PILLARS (home) ---- */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,36,125,.15); }
.pillar__num {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  user-select: none;
}
.pillar__icon { font-size: 2.2rem; margin-bottom: .8rem; }
.pillar h3 { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: .6rem; line-height: 1.3; }
.pillar p { font-size: .93rem; color: var(--muted); }
.pillar p em { color: var(--text); font-style: normal; font-weight: 700; }

/* ---- PREVIEW CARDS (home) ---- */
.previews { padding-bottom: 1rem; }
.preview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.preview-card--reverse { direction: rtl; }
.preview-card--reverse > * { direction: ltr; }
.preview-card__img {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.preview-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.preview-card__img:hover img { transform: scale(1.04); }
.preview-card__tag {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 3rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}
.preview-card__content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.preview-card__content p { color: #374151; margin-bottom: .8rem; font-size: .97rem; }
.preview-card__content p strong { color: var(--blue); }
.preview-card__content .btn { margin-top: .8rem; }

.tag--blue { background: var(--blue-light); color: var(--blue); }
.tag--red  { background: var(--red-light);  color: var(--red); }

/* ---- OFFER BLOCKS (oferta page) ---- */
.offer-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.offer-block__inner--reverse { direction: rtl; }
.offer-block__inner--reverse > * { direction: ltr; }

.offer-block__tag {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 3rem;
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.offer-block__content p { color: #374151; margin-bottom: .9rem; font-size: .97rem; }
.offer-block__content p strong { color: var(--blue); }

.offer-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.2rem;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
}
.offer-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.offer-block__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
}
.offer-block__img--main {
  width: 100%;
  border-radius: 1.4rem;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.offer-block__img--secondary {
  width: 55%;
  border-radius: 1rem;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
  margin-left: auto;
  margin-top: -2rem;
  border: 4px solid var(--white);
}

/* ---- PHILOSOPHY (dlaczego) ---- */
.philosophy {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.philosophy__text p { color: #374151; margin-bottom: 1rem; font-size: .97rem; }
.philosophy__img img {
  width: 100%;
  border-radius: 1.6rem;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---- WHY DETAILED ---- */
.why__grid--detailed { gap: 1.5rem; }
.why__item--card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  text-align: left;
  align-items: flex-start;
}
.why__item--card:hover { box-shadow: 0 10px 36px rgba(0,36,125,.14); }
.why__item--card .why__icon { margin-bottom: .7rem; }
.why__item--card h3 { font-size: 1rem; margin-bottom: .5rem; }
.why__item--card p { font-size: .91rem; }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, #0a3899 50%, #1a52c4 100%);
  color: var(--white);
  padding: 5rem 0 0;
  position: relative;
}
.page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: .8rem;
}
.page-header__sub {
  font-size: 1.1rem;
  opacity: .9;
}
.page-header .section__label { color: rgba(255,255,255,.7); }

/* ---- TEASERS (home) ---- */
.teasers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.teaser {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: var(--text);
}
.teaser:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,36,125,.18);
}
.teaser--blue { background: var(--white); border-top: 4px solid var(--blue); }
.teaser--red  { background: var(--white); border-top: 4px solid var(--red); }
.teaser__icon { font-size: 2.4rem; margin-bottom: .8rem; }
.teaser h3 { font-size: 1.2rem; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.teaser p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 1.2rem; }
.teaser__link {
  font-size: .9rem;
  font-weight: 800;
  color: var(--red);
  margin-top: auto;
}
.teaser--blue .teaser__link { color: var(--blue); }

/* ---- CTA BAR ---- */
.cta-bar {
  background: linear-gradient(135deg, var(--blue), #1a52c4);
  color: var(--white);
  padding: 3.5rem 0;
}
.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-bar h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: .4rem; }
.cta-bar p { opacity: .85; font-size: .95rem; }
.cta-bar__btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

.btn--white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-weight: 800;
}
.btn--white:hover { background: #f0f4ff; }
.btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--white-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ---- QUOTE ---- */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}
.quote-block__icon { font-size: 2.5rem; margin-bottom: 1.2rem; opacity: .4; }
.quote-block blockquote {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 1rem;
}
.quote-block cite { font-size: .9rem; color: var(--muted); font-style: normal; font-weight: 600; }

/* ---- OFFER NOTE ---- */
.offer__note {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  font-size: .95rem;
  line-height: 1.7;
}
.offer__note-icon { font-size: 1.8rem; flex-shrink: 0; }
.offer__note strong { color: var(--blue); }

/* ---- NAV ACTIVE ---- */
.nav__links a.active:not(.btn) { color: var(--red); }
.nav__links a.active:not(.btn)::after { width: 100%; }

/* ---- ABOUT ---- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about__image {
  position: relative;
}
.about__image img {
  border-radius: 2rem;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about__flag {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 80px; height: 80px;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.about__content p {
  margin-bottom: 1rem;
  color: #374151;
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 2rem;
}

.fact {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg);
  border-radius: .8rem;
  padding: .7rem 1rem;
  font-size: .9rem;
  font-weight: 600;
}
.fact__icon { font-size: 1.2rem; }

/* ---- OFFER ---- */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,36,125,.15);
}
.card--red { background: var(--white); border-top: 4px solid var(--red); }
.card--blue { background: var(--white); border-top: 4px solid var(--blue); }

.card__icon { font-size: 2.4rem; margin-bottom: .8rem; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: .5rem;
}
.card p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.card ul { display: flex; flex-direction: column; gap: .4rem; }
.card ul li {
  font-size: .88rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
}
.card ul li::before {
  content: '✓';
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
}

/* ---- WHY ---- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.why__item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.why__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.why__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why__item h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue); margin-bottom: .5rem; }
.why__item p { font-size: .92rem; color: var(--muted); }

/* ---- PHOTOS ---- */
.photos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.photos__grid img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform .3s, box-shadow .3s;
}
.photos__grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

/* ---- CONTACT ---- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
a.contact__item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.contact__ico {
  font-size: 1.8rem;
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: 1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  flex-shrink: 0;
}
.contact__item strong { display: block; font-weight: 800; color: var(--blue); font-size: .9rem; }
.contact__item span { font-size: 1rem; font-weight: 600; color: var(--text); }

/* ---- FORM ---- */
.contact-form,
.form-success {
  background: var(--white);
  border-radius: 1.6rem;
  padding: 2.4rem;
  box-shadow: 0 8px 40px rgba(0,36,125,.10);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: .97rem;
  padding: .75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: .8rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b7c3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,36,125,.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(207,20,43,.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.btn--full { width: 100%; justify-content: center; }

.form__note {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: .8rem;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: .6rem; }
.form-success p { color: var(--muted); }

.form-error {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--red-light);
  border-radius: .8rem;
  color: var(--red);
  font-weight: 600;
  font-size: .9rem;
}
.form-error a { color: var(--red); text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,.85);
  padding: 2.5rem 0;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.footer .logo { color: var(--white); }
.footer .logo__text strong { color: #ffd700; }
.footer p { font-size: .9rem; }
.footer a { color: #ffd700; font-weight: 700; }
.footer__copy { opacity: .5; font-size: .8rem; }

/* ====================================================
   ANIMACJE
   ==================================================== */

/* Hero — animowany gradient tła */
.hero {
  background-size: 200% 200%;
  animation: heroGradient 8s ease infinite;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero content — wejście przy ładowaniu */
.hero__content { animation: fadeUp .8s ease both; }
.hero__image   { animation: fadeUp .8s .2s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulsujący przycisk CTA */
.hero .btn--primary {
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207,20,43,.5); }
  50%       { box-shadow: 0 0 0 10px rgba(207,20,43,0); }
}
.hero .btn--primary:hover { animation: none; }

/* Shimmer na kartach przy hover */
.card, .teaser, .pillar, .why__item--card {
  overflow: hidden;
}
.card::after, .teaser::after, .pillar::after, .why__item--card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
  pointer-events: none;
}
.card, .teaser, .pillar, .why__item--card { position: relative; }
.card:hover::after, .teaser:hover::after, .pillar:hover::after, .why__item--card:hover::after {
  left: 150%;
}

/* Page header — animacja wejścia */
.page-header__title { animation: fadeUp .7s ease both; }
.page-header__sub   { animation: fadeUp .7s .15s ease both; }

/* Zdjęcia w offer-block — delikatny zoom przy hover */
.offer-block__img--main {
  transition: transform .5s ease, box-shadow .5s ease;
}
.offer-block:hover .offer-block__img--main {
  transform: scale(1.02);
  box-shadow: 0 16px 50px rgba(0,36,125,.18);
}

/* Preview cards — obraz zoom */
.preview-card__img img { transition: transform .5s ease; }
.preview-card:hover .preview-card__img img { transform: scale(1.05); }

/* Floating — rozszerzone o więcej elementów */
.hero__deco { animation: float 4s ease-in-out infinite; }
.hero__badge { animation: float 5s 1s ease-in-out infinite; }

/* Dekoracyjny blob animowany w tle hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px; left: -100px;
  width: 300px; height: 300px;
  background: rgba(255,215,0,.07);
  border-radius: 50%;
  animation: blobMove 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.1); }
  66%       { transform: translate(-20px, 20px) scale(.95); }
}

/* Nav — podkreślenie z animacją */
.nav__links a:not(.btn) { transition: color .2s; }

/* Przyciski — ripple feedback */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .4s ease, height .4s ease, opacity .4s ease;
  opacity: 0;
}
.btn:active::before { width: 200px; height: 200px; opacity: 1; }

/* CTA bar — wejście */
.cta-bar { position: relative; overflow: hidden; }
.cta-bar::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

/* Scroll reveal — klasa dodawana przez JS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

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

@media (max-width: 1024px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
  .photos__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .teasers__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-bar__inner { flex-direction: column; text-align: center; }
  .preview-card { grid-template-columns: 1fr; gap: 2rem; }
  .preview-card--reverse { direction: ltr; }
  .offer-block__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .offer-block__inner--reverse { direction: ltr; }
  .philosophy { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy__img { max-width: 400px; }
  .philosophy__img img { aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; gap: 1.2rem; padding: 1.5rem; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--red);
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    z-index: 99;
  }
  .burger { display: flex; }

  .hero { padding: 4rem 0 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__image { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .hero__content { text-align: center; }
  .hero__sub { margin: 0 auto 2rem; }
  .hero__cta { justify-content: center; }
  .hero__tag { margin: 0 auto 1.2rem; display: flex; }

  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__image { max-width: 380px; margin: 0 auto; }

  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__form-wrap { order: -1; }
  .form-row { grid-template-columns: 1fr; }

  .why__grid { grid-template-columns: 1fr; gap: 1rem; }
  .why__item { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .offer__grid { grid-template-columns: 1fr; }
  .teasers__grid { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .photos__grid { grid-template-columns: 1fr 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cta-bar__btns { flex-direction: column; width: 100%; }
  .cta-bar__btns .btn { justify-content: center; }
}

/* =====================================================
   PLAY — nav badge
   ===================================================== */
.nav__links .nav__play {
  background: var(--blue);
  color: var(--white);
  padding: .3rem .9rem;
  border-radius: 50px;
  font-weight: 800;
}
.nav__links .nav__play:hover,
.nav__links .nav__play.active { background: var(--red); color: var(--white); }
.nav__links .nav__play::after { display: none !important; }

/* =====================================================
   PLAY — game page
   ===================================================== */
.play-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
  color: var(--white);
}
.play-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 0; }
.play-hero p  { margin: .5rem 0 0; font-size: 1.1rem; opacity: .9; }

.game-section { padding: 3rem 0 5rem; min-height: 55vh; }

.game-box { max-width: 680px; margin: 0 auto; }

.game-category {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cat-btn {
  padding: .5rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cat-btn.active, .cat-btn:hover { background: var(--blue); color: var(--white); }

.score-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: .75rem 1.25rem;
  background: var(--bg);
  border-radius: 12px;
}
.score-bar__round { font-weight: 700; color: var(--muted); font-size: .95rem; }
.score-bar__score { font-weight: 800; font-size: 1.1rem; color: var(--blue); }

.score-dots { display: flex; gap: 6px; }
.score-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #dee2e6;
  transition: background .3s;
}
.score-dot.correct { background: #2a9d4e; }
.score-dot.wrong   { background: var(--red); }

.audio-prompt { text-align: center; margin-bottom: 2rem; }
.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .15s, background .2s;
  box-shadow: 0 4px 16px rgba(207,20,43,.3);
}
.listen-btn:hover  { background: #b01020; transform: scale(1.04); }
.listen-btn:active { transform: scale(.97); }
.listen-btn.playing {
  background: #555;
  animation: listenPulse .6s ease-in-out infinite alternate;
}
@keyframes listenPulse {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.listen-icon { font-size: 1.5rem; }

.animal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.animal-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid transparent;
  transition: transform .15s, border-color .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  aspect-ratio: 1;
  background: #f0f0f0;
}
.animal-card:hover:not(.disabled) { transform: scale(1.03); }
.animal-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.animal-card.correct { border-color: #2a9d4e; animation: cardBounce .4s ease; }
.animal-card.wrong   { border-color: var(--red); animation: cardShake .4s ease; }
.animal-card.disabled { cursor: default; pointer-events: none; }

.animal-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0;
  transition: opacity .2s;
}
.animal-card.correct .animal-card__overlay { opacity: 1; background: rgba(42,157,78,.35); }
.animal-card.wrong   .animal-card__overlay { opacity: 1; background: rgba(207,20,43,.35); }

@keyframes cardBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}
@keyframes cardShake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-8px); }
  75%     { transform: translateX(8px); }
}

.next-btn {
  display: none;
  margin: 0 auto;
  padding: .9rem 2.5rem;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.next-btn:hover  { background: #001a5c; transform: scale(1.03); }
.next-btn.visible { display: block; }

.result-screen { display: none; text-align: center; padding: 2rem 0; }
.result-screen.visible { display: block; }
.result-screen__emoji { font-size: 5rem; margin-bottom: 1rem; }
.result-screen h2 { font-size: 2rem; font-weight: 900; color: var(--blue); margin: 0 0 .5rem; }
.result-screen__score { font-size: 3rem; font-weight: 900; color: var(--red); margin: .5rem 0; }
.result-screen p { color: var(--muted); font-size: 1.1rem; }
.play-again-btn {
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s;
}
.play-again-btn:hover { background: #b01020; }

@media (max-width: 480px) {
  .animal-grid { gap: .75rem; }
  .listen-btn  { font-size: 1.1rem; padding: .85rem 1.5rem; }
  .score-dots  { gap: 4px; }
  .score-dot   { width: 11px; height: 11px; }
}
