/* ====== UTILITY ====== */
.red {
  color: #cc334f;
  font-weight: 700;
}

.big-number {
  font-size: 1.6em;
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.active {
  opacity: 1;
  transform: translateY(0);
}

/* ====== MAIN ====== */
main {
  background-color: #111111;
  background-image: url(photo/tło.svg);
  background-repeat: repeat-y;
  background-size: 100%;
  position: relative;
}

/* ====== INFO SECTION ====== */
#info {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 3rem;
}

.info-block {
  margin-bottom: 5rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #cc334f;
  margin-bottom: 2rem;
  line-height: 1.3;
  text-align: center;
}

.info-text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 2;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.info-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.6rem 0;
  line-height: 1.8;
  text-align: center;
  font-style: italic;
}

/* ====== OFFER / PRICING ====== */
#offer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.section-title-center {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: white;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.price-card {
  background: linear-gradient(145deg, #cc334f, #a02840);
  border-radius: 14px;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(204, 51, 79, 0.35);
}

.price-card-title {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.price-card-desc {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  min-height: 2rem;
  line-height: 1.4;
}

.price-card-price {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: white;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

/* ====== Pricing Summary ====== */
.pricing-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(204, 51, 79, 0.25);
  border-radius: 20px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.summary-label p {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.summary-values {
  display: flex;
  gap: 2.5rem;
}

.summary-range {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.summary-prefix {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.summary-amount {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: white;
}

.summary-highlight {
  padding: 1.8rem 2rem;
  background: rgba(204, 51, 79, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(204, 51, 79, 0.35);
  margin-bottom: 1rem;
}

.summary-our-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.our-price-prefix {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.our-price-amount {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: #cc334f;
}

.our-price-suffix {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
}

.summary-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin: 1.5rem 0 2rem;
  font-weight: 300;
}

.summary-cta {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-cta p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 2;
  font-weight: 400;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

.summary-cta strong {
  color: #cc334f;
  font-weight: 700;
}

/* ====== TABLET ====== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  #info {
    padding: 4rem 1.5rem 2rem;
  }

  .info-block {
    margin-bottom: 3.5rem;
  }

  #offer {
    padding: 3rem 1.2rem 4rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 3rem;
  }

  .price-card {
    padding: 1.5rem 1.2rem;
  }

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

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

  .pricing-summary {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .summary-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .summary-highlight {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .summary-values {
    justify-content: center;
  }
}
