:root {
  --navy: #1a2744;
  --navy-deep: #131d35;
  --red: #c41e3a;
  --red-dark: #a01730;
  --gold: #c9a227;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e2e6ec;
  --shadow-sm: 0 8px 24px rgba(19, 29, 53, 0.08);
  --shadow-md: 0 18px 48px rgba(19, 29, 53, 0.14);
  --radius-lg: 16px;
  --radius-md: 12px;
  --font-display: "Poppins", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* TOP ACCENT */
.top-accent {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 35%, var(--red) 65%, transparent 100%);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-image {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--red); }

.header-button {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(196,30,58,0.28);
  transition: transform 0.18s ease, background 0.18s ease;
}

.header-button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(196,30,58,0.28);
}

.button.primary:hover { background: var(--red-dark); }

.button.secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(26,39,68,0.26);
}

.button.secondary:hover { background: var(--navy-deep); }

/* HERO */
.page-hero {
  background: var(--off-white);
  padding: 72px 0 0;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  min-height: 560px;
}

.page-info-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.page-info {
  padding: 8px 56px 64px 0;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.page-info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.ornament {
  display: flex;
  align-items: center;
  margin: 18px 0 28px;
}

.ornament-line {
  display: block;
  width: 180px;
  height: 3px;
  background: var(--gold);
}

.page-info p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-info p:last-of-type { margin-bottom: 0; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.page-visual { position: relative; min-height: 420px; }

.page-image-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
}

.page-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 6%, black 16%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 6%, black 16%);
}

/* SECTIONS */
.section { padding: 88px 0; }

.section-heading { margin-bottom: 48px; }
.section-heading.center { text-align: center; }

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--navy);
  display: inline-block;
  padding: 0 28px;
  position: relative;
}

.section-heading.center h2::before,
.section-heading.center h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;
  height: 1px;
  background: var(--line);
}

.section-heading.center h2::before { right: 100%; }
.section-heading.center h2::after { left: 100%; }

/* ZASTOSOWANIA */
.uses-section { background: var(--white); }

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

.use-card {
  padding: 32px 28px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.use-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--red);
}

.use-icon svg { width: 28px; height: 28px; }

.use-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.use-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* MATERIAŁY */
.materials-section { background: var(--off-white); }

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.material-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.material-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.material-tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.material-card p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.sizes-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-badge {
  padding: 6px 14px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* DLACZEGO EGMAR */
.why-section { background: var(--navy); color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-item {
  padding: 8px 36px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.14);
}

.why-item:first-child { border-left: 0; }

.why-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.why-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.why-item p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* GALERIA DETALI */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* FAQ */
.faq-section { background: var(--off-white); }

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA */
.cta-section { background: var(--red); color: var(--white); padding: 72px 0; }

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--white);
}

.cta-inner p {
  margin: 0 0 32px;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.button.white {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.button.white:hover { background: var(--off-white); }

.button.outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.button.outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.footer-item svg { width: 18px; height: 18px; }
a.footer-item:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; min-height: 0; }
  .page-info-wrap { height: auto; }
  .page-info { padding: 32px 0 36px; max-width: none; }
  .page-visual { min-height: 320px; }
  .page-image-frame {
    position: relative;
    height: 320px;
    border-radius: 14px;
    margin: 0 0 8px;
  }
  .page-image-frame img { -webkit-mask-image: none; mask-image: none; }
  .uses-grid { grid-template-columns: 1fr; gap: 16px; }
  .materials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-item { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding: 32px 16px 0; }
  .why-item:first-child { border-top: 0; padding-top: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-button { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1180px); }
  .logo-image { height: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
