@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-dark: #06301e;   /* tło strony */
  --green: #085633;        /* przyciski, ikony */
  --green-deep: #004835;   /* numer telefonu */
  --gold: #c9a863;
  --cream: #f6f1e2;
  --card: #f6fbff;
  --card-2: #f2f7ff;
}

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

html, body { margin: 0; }

body {
  background: var(--green-dark);
  color: #000;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

p { margin: 0; }

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

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 0 20px 80px;
  overflow: hidden;
}

/* Logo */
.logo { padding-top: 35px; }
.logo img { width: 160px; height: auto; }

/* Nagłówek */
.headline {
  max-width: 1000px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(201, 168, 99, .1);
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  max-width: 620px;
  color: rgba(246, 241, 226, .7);
  font-size: 18px;
  line-height: 1.5;
}

/* Animacja wejścia słów nagłówka */
.reveal-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  filter: blur(6px);
  animation: word-in .7s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }

/* Pasek z napisami */
.ticker {
  width: 110vw;
  background: var(--gold);
  transform: rotate(-2deg);
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ticker ul {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}
.ticker li {
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Karty */
.card {
  width: 100%;
  max-width: 1080px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 24px 48px;
}
.card-social { background: var(--card); }
.card-phone  { background: var(--card-2); padding-block: 0; }

.card-video {
  flex: 0 0 auto;
  width: 438px;
  height: 375px;
  object-fit: cover;
}
.card-phone .card-video { width: 437px; height: 315px; }

.card-text {
  flex: 1 1 0;
  max-width: 549px;
  font-size: 17px;
  line-height: 1.2;
}
.card-text p + p { margin-top: 1.2em; }
.card-text.center { text-align: center; }

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 29px 0;
}
.social a { color: var(--green); transition: transform .2s ease, color .2s ease; }
.social a:hover, .social a:focus-visible { transform: scale(1.08) rotate(-4deg); color: var(--gold); }

.phone {
  display: inline-block;
  color: var(--green-deep);
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}
.phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.card-phone .card-text p { font-size: 16px; }

/* Newsletter */
.card-form {
  background: var(--gold);
  flex-direction: column;
  gap: 0;
  padding: 56px 48px;
  text-align: center;
}
.card-form h2 {
  margin: 0;
  color: #003b31;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.card-form .sub {
  color: rgba(6, 48, 30, .75);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.newsletter {
  display: flex;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  margin-top: 40px;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 15px;
  border: 0;
  border-radius: 8px;
  background: #ebebeb;
  color: #000;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(0, 0, 0, .3); }
.newsletter input:focus-visible { box-shadow: 0 0 0 2px var(--green); }
.newsletter button {
  height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.newsletter button:hover { background: var(--green-dark); }
.newsletter button:disabled { opacity: .6; cursor: wait; }
.form-msg { min-height: 1.4em; margin-top: 12px; color: var(--green-dark); font-size: 15px; }

/* Kursor-różdżka (tylko mysz) */
.wand-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-wand, body.has-wand a, body.has-wand button, body.has-wand input { cursor: none; }
  .wand-cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity .2s;
    will-change: transform;
  }
  body.has-wand .wand-cursor.on { opacity: 1; }
  .wand-cursor .wand {
    position: absolute; inset: 0;
    width: 64px; height: 64px;
    transform: rotate(16deg);
    transition: transform .15s ease;
  }
  .wand-cursor.hover .wand { transform: rotate(-4deg) scale(1.1); }
  .wand-cursor .sparkles {
    position: absolute; top: 8px; left: 8px;
    width: 48px; height: 48px;
    opacity: 0;
    transform: rotate(-40deg) scale(.4);
  }
  .wand-cursor.burst .sparkles { animation: burst .5s ease-out; }
}
@keyframes burst {
  0%   { opacity: 1; transform: rotate(-40deg) scale(.4); }
  100% { opacity: 0; transform: rotate(10deg) scale(1.5); }
}

/* Tablet */
@media (max-width: 1000px) {
  .card { gap: 40px; padding: 24px 32px; }
  .card-video, .card-phone .card-video { width: 45%; height: auto; aspect-ratio: 438 / 375; }
}

/* Telefon */
@media (max-width: 760px) {
  .page { gap: 56px; padding-inline: 12px; }
  .card { flex-direction: column; gap: 24px; padding: 24px 20px; }
  .card-phone { flex-direction: column-reverse; padding: 24px 20px 32px; }
  .card-video, .card-phone .card-video { width: 100%; max-width: 438px; }
  .card-text { max-width: none; }
  .social { gap: 60px; padding: 24px 0 8px; }
  .social svg { width: 72px; height: auto; }
  .ticker li { font-size: 22px; }
  .card-form { padding: 40px 20px; }
  .card-form h2 { font-size: 32px; }
  .card-form .sub { font-size: 20px; }
  .lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .dot { animation: none; }
  .reveal-words .w { animation: none; opacity: 1; transform: none; filter: none; }
}
