@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap");

:root {
  --bg: #111315;
  --bg-light: #16191b;
  --panel: #181b1d;
  --panel-light: #1d2123;

  --text: #f2f0ec;
  --muted: #a7aaa8;

  --copper: #245c5a;
  --copper-light: #39716d;
  --copper-dark: #173a39;

  --border: rgba(255, 255, 255, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;

  font-family: "Montserrat", sans-serif;
  color: var(--text);

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 255, 255, 0.025),
      transparent 30%
    ),
    var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* =========================
   HEADER
========================= */

.header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: min(1320px, calc(100% - 64px));
  min-height: 150px;

  background: transparent;
}

.header__logo {
  position: relative;
  z-index: 51;

  transform: translateX(30px);
}

.header__logo img {
  width: 260px;
  height: auto;
  max-height: 115px;

  object-fit: contain;
  object-position: left center;

  filter: brightness(0.87) saturate(0.75);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 16px;

  min-height: 48px;
  padding: 0 24px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  color: #f4f7f6;
  background: rgba(18, 22, 23, 0.82);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.header__contact span {
  font-size: 1.2rem;
}

.header__contact:hover {
  border-color: var(--copper-light);
  color: #f4f7f6;
  background: rgba(36, 92, 90, 0.72);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;

  display: flex;
  align-items: stretch;

  min-height: 650px;
  overflow: hidden;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  background-image:
    linear-gradient(
      90deg,
      rgba(13, 17, 18, 0.78) 0%,
      rgba(13, 17, 18, 0.62) 25%,
      rgba(13, 17, 18, 0.34) 45%,
      rgba(13, 17, 18, 0.12) 65%,
      rgba(13, 17, 18, 0.02) 82%,
      rgba(13, 17, 18, 0) 100%
    ),
    linear-gradient(
      to top,
      rgba(13, 17, 18, 0.15) 0%,
      rgba(13, 17, 18, 0.02) 35%,
      transparent 55%
    ),
    url("assets/images/hero-visual-engine-wide.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__content {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;

  width: min(650px, 100%);
  max-width: 650px;

  padding:
    175px
    40px
    72px
    max(40px, calc((100vw - 1320px) / 2));
}

.hero__eyebrow {
  margin-bottom: 22px;

  color: #a7aaa8;

  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;

  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
}

.hero h1 span {
  display: block;
  color: var(--copper-light);
}

.hero__description {
  max-width: 560px;
  margin-top: 28px;

  color: #d4d1cd;

  font-size: 1.05rem;
  line-height: 1.75;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-top: 34px;
}

/* Stary osobny obraz HERO wyłączony */
.hero__image {
  display: none;
}

/* =========================
   PRZYCISKI
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 56px;
  padding: 0 28px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.button span {
  font-size: 1.35rem;
  transition: transform 0.25s ease;
}

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

.button:hover span {
  transform: translateX(5px);
}

.button--primary {
  color: #f4f7f6;
  border-color: rgba(57, 113, 109, 0.7);

  background:
    linear-gradient(
      135deg,
      rgba(57, 113, 109, 0.95),
      rgba(36, 92, 90, 0.95)
    );
}

.button--primary:hover {
  background: #4b8984;
}

.button--outline {
  color: #d9dcda;
  background: rgba(0, 0, 0, 0.16);
}

.button--outline:hover {
  color: #f4f7f6;
  border-color: var(--copper-light);
  background: rgba(57, 113, 109, 0.18);
}

/* =========================
   USŁUGI
========================= */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0;
}

.service {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 22px;

  padding: 8px 44px;

  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

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

.service:last-child {
  padding-right: 0;
  border-right: 0;
}

.service__icon {
  display: flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;

  width: 66px;
  height: 66px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  color: var(--copper-light);
  font-size: 1.8rem;
}

.service h2 {
  align-self: end;

  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.service p {
  margin-top: 9px;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =========================
   CENNIK
========================= */

.pricing {
  padding: 82px 32px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  background:
    linear-gradient(
      180deg,
      #171b1d,
      #121516
    );
}

.section-heading {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p {
  color: #9ba5a1;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 12px;

  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 400;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;

  width: min(1180px, 100%);
  margin: 0 auto;
}

.price-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 500px;
  padding: 34px 30px 30px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0)
    ),
    var(--panel);

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.28);
}

.price-card--featured {
  border-color: rgba(57, 113, 109, 0.58);

  background:
    radial-gradient(
      circle at top,
      rgba(57, 113, 109, 0.06),
      transparent 38%
    ),
    var(--panel-light);
}

.price-card__label {
  position: absolute;
  top: 0;
  right: 0;

  padding: 9px 15px;

  color: #e9efec;
  background: rgba(57, 113, 109, 0.62);

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-card__name {
  color: #d9dcda;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 18px;

  font-family: "Playfair Display", serif;
  font-size: 2.7rem;
  font-weight: 400;
}

.price-card h3 span {
  display: block;
  margin-top: 4px;

  color: var(--muted);

  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card ul {
  display: grid;
  gap: 14px;

  margin-top: 28px;
  list-style: none;
}

.price-card li {
  position: relative;

  padding-left: 23px;

  color: #c8c4c0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;

  color: var(--copper-light);
}

.price-card__button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  margin-top: auto;

  border: 1px solid rgba(255, 255, 255, 0.18);

  color: #d9dcda;

  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.price-card__button:hover {
  color: #f4f7f6;
  border-color: var(--copper-light);
  background: rgba(57, 113, 109, 0.18);
}

.pricing__note {
  width: min(900px, 100%);
  margin: 30px auto 0;

  color: #8f9694;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

/* =========================
   KONTAKT
========================= */

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;

  width: min(1220px, calc(100% - 64px));
  margin: 64px auto;
  padding: 42px 48px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.01)
    ),
    var(--panel);
}

.contact__eyebrow {
  color: #9ba5a1;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact h2 {
  margin-top: 10px;

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
}

.contact h2 span {
  color: var(--copper-light);
}

.contact p:not(.contact__eyebrow) {
  max-width: 680px;
  margin-top: 14px;

  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* =========================
   STOPKA
========================= */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  width: min(1320px, calc(100% - 64px));
  min-height: 100px;
  margin: 0 auto;

  border-top: 1px solid rgba(255, 255, 255, 0.07);

  color: #777f7d;
  font-size: 0.75rem;
}

.footer__brands {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer__brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
}

.footer__brand-logo--visual {
  height: 48px;
}

.footer__brand-logo--sid {
  height: 42px;
}

.footer > a:last-child {
  color: #9eaaa7;
  transition: color 0.2s ease;
}

.footer > a:last-child:hover {
  color: var(--copper-light);
}
/* =========================
   ANIMACJA HERO
========================= */

.hero__eyebrow,
.hero h1,
.hero__description,
.hero__buttons {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s ease forwards;
}

.hero h1 {
  animation-delay: 0.12s;
}

.hero__description {
  animation-delay: 0.24s;
}

.hero__buttons {
  animation-delay: 0.36s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}

/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

  .header {
    width: min(100% - 36px, 760px);
    min-height: 125px;
  }

  .header__logo {
    transform: none;
  }

  .header__logo img {
    width: 240px;
    max-height: 105px;
  }

  .hero {
    min-height: 700px;

    background-position: 60% center;

    background-image:
      linear-gradient(
        90deg,
        rgba(13, 17, 18, 0.94) 0%,
        rgba(13, 17, 18, 0.82) 38%,
        rgba(13, 17, 18, 0.42) 70%,
        rgba(13, 17, 18, 0.15) 100%
      ),
      linear-gradient(
        to top,
        rgba(13, 17, 18, 0.42),
        transparent 55%
      ),
      url("assets/images/hero-visual-engine-wide.png");
  }

  .hero__content {
    max-width: 650px;
    padding: 150px 30px 64px;
  }

  .services {
    grid-template-columns: 1fr;

    width: min(760px, calc(100% - 36px));
    padding: 28px 0;
  }

  .service {
    padding: 28px 0;

    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .service:last-child {
    border-bottom: 0;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .price-card {
    min-height: auto;
  }

  .price-card__button {
    margin-top: 30px;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;

    width: min(760px, calc(100% - 36px));
  }

  .footer {
    width: min(760px, calc(100% - 36px));
  }
}
/* =========================
   BANER COOKIES
========================= */

.cookie-banner {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.cookie-banner__content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner button {
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid #fff;
  cursor: pointer;
  font: inherit;
}

#cookie-reject {
  background: transparent;
  color: #fff;
}

#cookie-accept {
  background: #fff;
  color: #111;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner__content {
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__buttons {
    width: 100%;
  }

  .cookie-banner button {
    flex: 1;
  }
}
/* =========================
   TELEFON
========================= */

@media (max-width: 600px) {

  .header {
    width: calc(100% - 24px);
    min-height: 95px;
  }

  .header__logo {
    transform: none;
  }

  .header__logo img {
    width: 155px;
    max-height: 75px;
  }

  .header__contact {
    min-height: 40px;
    gap: 8px;
    padding: 0 13px;

    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .header__contact span {
    font-size: 1rem;
  }

  .hero {
    min-height: 680px;

    background-position: 64% center;

    background-image:
      linear-gradient(
        90deg,
        rgba(13, 17, 18, 0.95) 0%,
        rgba(13, 17, 18, 0.85) 48%,
        rgba(13, 17, 18, 0.48) 100%
      ),
      linear-gradient(
        to top,
        rgba(13, 17, 18, 0.55),
        transparent 60%
      ),
      url("assets/images/hero-visual-engine-wide.png");
  }

  .hero__content {
    width: 100%;
    padding: 115px 20px 48px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero__description {
    font-size: 0.94rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .services {
    width: calc(100% - 24px);
  }

  .service {
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
  }

  .service__icon {
    width: 54px;
    height: 54px;
  }

  .service h2 {
    font-size: 1.4rem;
  }

  .pricing {
    padding: 62px 12px;
  }

  .price-card {
    padding: 30px 24px 26px;
  }

  .contact {
    width: calc(100% - 24px);
    margin: 40px auto;
    padding: 32px 24px;
  }

  .footer {
    flex-direction: column;
    justify-content: center;

    width: calc(100% - 24px);
    min-height: 170px;
    padding: 24px 0;

    text-align: center;
  }
 
}