/* =========================================
   STYLE DEDYKOWANE DLA PODSTRONY: CERTYFIKATY
   Rozszerzają style bazowe (style4.css)
   Crafted with ❤️ by PixelShark.eu //
   ========================================= */

/* --- GLOBAL (bez boldów na stronie) --- */
.cert-page h1,
.cert-page h2,
.cert-page h3,
.cert-page h4,
.cert-page h5,
.cert-page h6 { font-weight: var(--w-reg); }

.cert-page strong,
.cert-page b { font-weight: inherit; }

/* --- HERO --- */
.cert-hero {
  position: relative;
  background-color: var(--color-dark);
  background-image: linear-gradient(rgba(47, 63, 73, 0.9), rgba(47, 63, 73, 0.8)), url('../img/solutions/wolnostojace.webp');
  background-size: cover;
  background-position: center;
  padding: 180px 0 100px;
  color: #fff;
  text-align: center;
}

.cert-hero__content { max-width: 800px; margin: 0 auto; }
.cert-hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: var(--w-reg); margin-bottom: 1.5rem; line-height: 1.1; }
.cert-hero__desc { font-size: 1.2rem; line-height: 1.6; opacity: 0.9; font-weight: 300; }

/* --- INTRO --- */
.cert-intro { background: #fff; text-align: center; }
.cert-intro__text { max-width: 900px; margin: 0 auto; font-size: 1.15rem; line-height: 1.7; color: var(--color-text-heading); }

/* --- ISO STANDARDS --- */
.iso-standards { background: #f8fafc; }
.iso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.iso-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.iso-card:hover { transform: translateY(-5px); border-color: var(--color-primary); }

.iso-card__icon {
  width: 64px; height: 64px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.iso-card__icon span { font-size: 2rem; }

.iso-card h3 { font-size: 1.8rem; margin-bottom: 0.2rem; color: var(--color-text-heading); font-weight: var(--w-reg); }
.iso-card__subtitle {
  font-size: 1rem;
  font-weight: var(--w-reg);
  color: #a0aec0;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.iso-card p { font-size: 1rem; line-height: 1.6; color: var(--color-text); margin-bottom: 1.5rem; }

.iso-card__list { list-style: none; margin-bottom: 1.5rem; width: 100%; }
.iso-card__list li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem;
  font-size: 0.95rem; font-weight: var(--w-reg);
}
.iso-card__list li::before {
  content: "•"; position: absolute; left: 0; color: var(--color-primary); font-size: 1.5rem; line-height: 1rem; top: 2px;
}

/* --- TECH STANDARDS (TÜV / EN) --- */
.tech-standards { background: #fff; }
.tech-standards__container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }

.tech-standards__content { text-align: left; }
.tech-standards__content .section-title { text-align: left; margin-bottom: 1rem; font-weight: var(--w-reg); }

.standards-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.standard-item { display: flex; align-items: flex-start; gap: 1rem; }
.standard-item .icon { color: var(--color-primary); font-size: 2rem; margin-top: 2px; }
.standard-item__title { display: block; font-size: 1.1rem; color: var(--color-text-heading); margin-bottom: 0.2rem; font-weight: var(--w-reg); }
.standard-item span { font-size: 0.95rem; color: var(--color-text); line-height: 1.5; }

.tech-standards__image img { width: 100%; border-radius: 8px; }

/* --- WARRANTY (DARK SECTION) --- */
.warranty {
  background: var(--color-features-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.warranty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/pattern.svg');
  opacity: 0.05;
}

.warranty__container { position: relative; z-index: 2; }

.warranty__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: start;
}

.warranty__content { text-align: left; }
.warranty__title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  font-weight: var(--w-reg);
  letter-spacing: 0.5px;
}
.warranty__text { font-size: 1.15rem; line-height: 1.7; opacity: 0.9; margin-bottom: 2rem; font-weight: 300; }

.warranty__footer {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  opacity: 0.95;
}

.warranty__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.warranty__form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(6px);
}

.warranty__form-title {
  font-size: 1.35rem;
  font-weight: var(--w-reg);
  margin-bottom: 0.4rem;
}
.warranty__form-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.45rem;
}

.form-field input {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.15);
  color: #fff;
  outline: none;
}

.form-field input::placeholder { color: rgba(255,255,255,0.55); }

.form-field input:focus {
  border-color: rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.2);
}

.form-actions { margin-top: 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.form-hint { font-size: 0.85rem; opacity: 0.75; line-height: 1.4; }

/* Responsive */
@media (max-width: 992px) {
  .iso-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tech-standards__container { grid-template-columns: 1fr; }
  .tech-standards__image { order: -1; }
  .cert-hero__title { font-size: 2.5rem; }
  .warranty__grid { grid-template-columns: 1fr; gap: 2rem; }
  .warranty__content { text-align: center; }
  .warranty__actions { justify-content: center; }
}

@media (max-width: 576px) {
  .cert-hero { padding: 140px 0 60px; }
  .iso-card { padding: 2rem; }
  .warranty__title { font-size: 1.8rem; }
  .warranty__form { padding: 1.5rem; }
}
