/* ============================================
   Manuel Caffe LP — biuro.kawamanuel.pl
   BRAND: czerwony #e3051a + czarny #000 + bialy
   Font: Roboto Condensed (zgodnie z kawamanuel.pl)
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  color: #1c1c1c;
  line-height: 1.6;
  background: #fff;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #e3051a; text-decoration: none; transition: color .2s; }
a:hover { color: #c50013; }

/* ---------- CONTAINER ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- BTN ---------- */
.btn {
  display: inline-block;
  background: #e3051a;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.btn:hover {
  background: #c50013;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.btn:active { transform: translateY(0); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.82)), url('img/hero-lifestyle.webp') center/cover no-repeat;
  color: #fff;
  padding: 48px 24px 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.hero-logo { margin-bottom: 32px; display: block; max-width: 220px; }
.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: .85;
  max-width: 480px;
  margin-bottom: 24px;
  line-height: 1.7;
}


/* Trust bar */
.trust-bar { display: flex; align-items: center; gap: 28px; margin-bottom: 0; margin-top: 8px; }
.trust-sep { width: 1px; height: 44px; background: rgba(255,255,255,.2); }
.trust-num { font-size: 1.5rem; font-weight: 700; color: #e3051a; display: block; }
.trust-label { font-size: .85rem; font-weight: 300; opacity: .7; display: block; margin-bottom: 2px; }


/* ========== FORM CARD ========== */
.form-card {
  background: #fff;
  color: #1c1c1c;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  min-height: 580px;
}
.form-title { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 4px; }
.form-sub { font-size: .85rem; color: #7a7a7a; text-align: center; margin-bottom: 24px; }

.lead-form { position: relative; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; color: #1c1c1c; }
.req { color: #e3051a; }
.opt { font-weight: 400; color: #999; font-size: .78rem; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-select {
  width: 100%;
  padding: 12px 14px;
  font-size: .95rem;
  border: 1.5px solid #dedede;
  border-radius: 4px;
  background: #fff;
  color: #1c1c1c;
  font-family: inherit;
  transition: border-color .2s;
}
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
}
.form-group input::placeholder { color: #bbb; }
.form-group input:focus,
.form-select:focus { outline: none; border-color: #e3051a; }
.form-group input.invalid { border-color: #e3051a; }

.rodo-group { margin-top: 18px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: .76rem; cursor: pointer; line-height: 1.45; color: #7a7a7a; }
.checkbox-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 20px; height: 20px; accent-color: #e3051a; }
.checkbox-label a { color: #e3051a; }

.btn-submit { width: 100%; margin-top: 18px; padding: 14px; font-size: 1rem; }

.micro { font-size: .78rem; color: #999; text-align: center; margin-top: 8px; }
.micro--w { color: rgba(255,255,255,.6); }

.form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 4px; text-align: center; font-size: .88rem; }
.form-msg--ok { background: #e8f5e9; color: #2e7d32; }
.form-msg--err { background: #fce4ec; color: #c62828; }

/* ========== SECTIONS ========== */
.section { padding: 72px 24px; }
.section h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 44px;
  color: #1c1c1c;
  letter-spacing: -.01em;
}
.section-desc {
  text-align: center;
  max-width: 640px;
  margin: -20px auto 48px;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
}
.section-note {
  text-align: center;
  margin-top: 36px;
  font-size: .9rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
}
.section--dark { background: #1c1c1c; color: #fff; }
.section--dark h2 { color: #fff; }
.section--light { background: #fff; }
.section-cta { text-align: center; margin-top: 40px; }

/* ========== GRIDS ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ========== PROBLEM SECTION ========== */
#problem { background: #f7f7f7; }

/* ========== CARDS (problem) ========== */
.card {
  background: #fff;
  border-radius: 6px;
  padding: 36px 28px 32px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.card-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #e3051a; border-radius: 6px 6px 0 0; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #1c1c1c; }
.card p { font-size: .92rem; font-weight: 400; color: #444; line-height: 1.65; }

/* ========== OFFER SECTION ========== */
.section--offer { background: #fff; }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.offer-img { text-align: center; }
.offer-img img { max-width: 380px; margin: 0 auto; }
.offer-text { display: flex; flex-direction: column; gap: 20px; }
.offer-item {
  background: #fff;
  padding: 20px 24px;
  border-radius: 6px;
  border-left: 3px solid #e3051a;
}
.offer-item h3 { font-size: 1.1rem; font-weight: 700; color: #1c1c1c; margin-bottom: 2px; }
.offer-item p { font-size: .92rem; font-weight: 400; color: #555; line-height: 1.5; margin: 0; }

/* ========== REASONS (dlaczego my) ========== */
.section--why { background: #f7f7f7; }
.reason {
  padding: 32px 28px;
  border-left: 3px solid #e3051a;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .2s;
}
.reason:hover { transform: translateY(-2px); }
.reason h3 { font-size: 1.15rem; font-weight: 700; color: #1c1c1c; margin-bottom: 6px; }
.reason p { font-size: .95rem; font-weight: 400; color: #444; line-height: 1.5; }


/* ========== STEPS ========== */
.steps { display: flex; align-items: flex-start; justify-content: center; max-width: 800px; margin: 0 auto; }
.step { flex: 1; text-align: center; padding: 0 16px; }
.step-n {
  width: 48px; height: 48px;
  background: #e3051a; color: #fff;
  font-weight: 700; font-size: 1.2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: #1c1c1c; }
.step p { font-size: .88rem; font-weight: 300; color: #666; }
.step a { font-size: .82rem; }
.step-line { width: 60px; height: 2px; background: #dedede; margin-top: 23px; flex-shrink: 0; }

/* ========== MID CTA ========== */
.section--cta { background: #e3051a; color: #fff; padding: 56px 24px; }
.section--cta h2 { color: #fff; margin-bottom: 12px; }
.section--cta p { font-weight: 300; }
.cta-center { text-align: center; }
.cta-center .btn { background: #fff; color: #e3051a; margin-top: 20px; }
.cta-center .btn:hover { background: #f3f3f3; color: #c50013; }

/* ========== FAQ ========== */
#faq { background: #f7f7f7; }
.faq-list { max-width: 660px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; padding: 16px 0; }
.faq-item summary {
  font-weight: 600; font-size: .95rem; cursor: pointer; color: #1c1c1c;
  list-style: none; display: flex; align-items: center; gap: 12px; transition: color .15s;
  min-height: 44px; padding: 10px 0;
}
.faq-item summary:hover { color: #e3051a; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; font-size: 1.1rem; font-weight: 700; color: #e3051a; width: 24px; text-align: center; flex-shrink: 0; }
.faq-item[open] summary::before { content: '\2212'; }
.faq-item p { margin-top: 8px; padding-left: 36px; font-size: .9rem; font-weight: 300; color: #555; line-height: 1.6; }

/* ========== FOOTER ========== */
.footer {
  background: #000;
  color: #7a7a7a;
  padding: 36px 24px 20px;
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-logo { max-width: 120px; display: block; }
.footer-mid p, .footer-right p { margin-bottom: 3px; }
.footer-mid a, .footer-right a { color: #999; }
.footer-mid a:hover, .footer-right a:hover { color: #e3051a; }
.footer-copy {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 16px;
  font-size: .75rem;
  color: #555;
}

/* ========== CONSENT BANNER ========== */
.consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1a1a; color: #ddd;
  padding: 14px 24px; z-index: 9999;
  font-size: .8rem; border-top: 1px solid #333;
}
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.consent-banner a { color: #90caf9; }
.consent-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cbtn { padding: 7px 18px; border: none; border-radius: 4px; cursor: pointer; font-size: .8rem; font-family: inherit; font-weight: 600; }
.cbtn--yes { background: #e3051a; color: #fff; }
.cbtn--yes:hover { background: #c50013; }
.cbtn--no { background: #444; color: #ddd; }
.cbtn--no:hover { background: #555; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 36px 20px 40px; }
  .grid-2 { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; gap: 32px; }
  .offer-img img { max-width: 280px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 52px 16px; }
  .hero { padding: 28px 16px 32px; }
  .hero-logo { max-width: 140px; }
  .trust-bar { flex-wrap: wrap; gap: 12px; }
  .trust-sep { display: none; }
  .form-card { padding: 24px 20px; }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-select { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 20px; }
  .step-line { width: 2px; height: 20px; }
  .btn { padding: 13px 28px; font-size: .95rem; }
  .consent-inner { flex-direction: column; text-align: center; }
}
