/* Selvedge – wersja podstawowa. Jeden plik stylów, bez animacji. */

:root {
  --text: #1f2328;
  --muted: #5f6670;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --border: #e3e3df;
  --primary: #2f5d50;
  --primary-dark: #244a40;
  --radius: 8px;
  --container: 1160px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.25; font-weight: 700; }
h2 { font-size: 32px; }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 40px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm { padding: 8px 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--bg-alt); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: 0.12em; color: var(--text); text-decoration: none; margin: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; color: #fff; background: #1f2328; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.hero-content { position: relative; padding-top: 140px; padding-bottom: 140px; max-width: var(--container); }
.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 500;
}
.hero h1 { font-size: 54px; max-width: 640px; margin-bottom: 20px; }
.hero-text { font-size: 18px; max-width: 560px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats bar */
.stats { border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.stat strong { display: block; font-size: 30px; color: var(--primary); }
.stat span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 80px 0; scroll-margin-top: 68px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.label { color: var(--primary); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-body p:last-child { margin: 0; }
.card-meta { font-size: 14px; margin-bottom: 4px; }
.tags { font-size: 14px; color: var(--primary) !important; font-weight: 500; }
.card-cta { padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--primary); color: #fff; border: 0; }
.card-cta p { color: rgba(255, 255, 255, 0.85); }
.card-cta .btn { background: #fff; color: var(--primary); }

/* Features */
.feature { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.feature p { color: var(--muted); margin: 0; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--primary);
}
.feature-icon svg { width: 26px; height: 26px; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-image { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 28px; margin-bottom: 10px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Trendbook banner */
.banner {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-body { padding: 48px; align-self: center; }
.banner-body > p:not(.label) { color: var(--muted); }

/* Forms */
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.inline-form { display: flex; gap: 12px; max-width: 520px; }
.inline-form .btn { flex-shrink: 0; }
.form-note { color: var(--primary); font-weight: 600; margin: 12px 0 0; }
.contact-form { display: grid; gap: 16px; background: #fff; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.contact-form .btn { justify-self: start; }
.contact-list { margin: 24px 0 0; }
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list dd { margin: 0 0 16px; font-weight: 600; }

/* Footer */
.footer { background: #1f2328; color: #c9ccd1; padding: 56px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 15px; }
.footer a { display: block; color: #c9ccd1; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #343a40; margin-top: 32px; padding-top: 24px; font-size: 14px; }

/* Tablet */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .banner { grid-template-columns: 1fr; }
  .banner img { aspect-ratio: 16 / 9; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 720px) {
  .menu-toggle {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; text-align: center; }

  h2 { font-size: 26px; }
  .hero-content { padding-top: 88px; padding-bottom: 88px; }
  .hero h1 { font-size: 36px; }
  .hero-text { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .banner-body { padding: 28px; }
  .inline-form { flex-direction: column; }
  .contact-form { padding: 24px; }
}
