/* ===== Euro Commerce Brands - wizytówka B2B ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #e01e2b;
  --red-dark: #b9131f;
  --black: #111111;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e8e8e8;
  --bg-soft: #fafafa;
  --fs-label: 12px;
  --fs-small: 14px;
  --fs-body: 15px;
  --fs-lead: 16px;
  --fs-title: 16px;
  --fs-section: 32px;
  --fs-hero: 40px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: var(--fs-lead);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 clamp(28px, 4vw, 72px); }
a { text-decoration: none; color: inherit; }
img { display: block; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0;
}
.eyebrow-light { color: #ff8a90; }

a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--fs-body);
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; border: 1.5px solid var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ===== Header ===== */
.site-header { padding: 20px 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 40px; }
.logo img { height: 84px; width: auto; }
.main-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.main-nav a { font-size: var(--fs-small); font-weight: 500; color: var(--text); padding-bottom: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--red); }
.nav-cta-mobile { display: none; }
.hamburger {
  display: none;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  padding: 8px 13px;
  cursor: pointer;
  color: var(--text);
}

/* ===== Pasek językowy ===== */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.topbar-label { font-size: var(--fs-label); color: var(--muted); }
.lang-switch { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1;
  padding: 0;
  transition: background .2s, transform .2s;
}
.lang-switch a:hover { transform: translateY(-1px); }
.lang-switch a.active {
  background: #f3f3f3;
}
.flag {
  display: block;
  width: 25px;
  height: 18px;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  overflow: hidden;
}
.flag-pl {
  background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
}
.flag-de {
  background: linear-gradient(to bottom, #000 0 6px, #dd0000 6px 12px, #ffce00 12px 18px);
}
.flag-dk {
  background:
    linear-gradient(to right, transparent 0 32%, #fff 32% 42%, transparent 42%),
    linear-gradient(to bottom, transparent 0 42%, #fff 42% 58%, transparent 58%),
    #c8102e;
}
.flag-sk {
  background: linear-gradient(to bottom, #fff 0 6px, #0b4ea2 6px 12px, #ee1c25 12px 18px);
}
.flag-sk::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 8px;
  border-radius: 2px 2px 4px 4px;
  background:
    linear-gradient(to bottom, transparent 0 2px, #fff 2px 3px, transparent 3px),
    linear-gradient(to right, transparent 0 3px, #fff 3px 4px, transparent 4px),
    #d7141a;
}
.flag-cz {
  background: linear-gradient(to bottom, #fff 0 9px, #d7141a 9px 18px);
}
.flag-cz::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #11457e;
}
.flag-nl {
  background: linear-gradient(to bottom, #ae1c28 0 6px, #fff 6px 12px, #21468b 12px 18px);
}
.flag-fr {
  background: linear-gradient(to right, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666% 100%);
}
.flag-hu {
  background: linear-gradient(to bottom, #ce2939 0 6px, #fff 6px 12px, #477050 12px 18px);
}
.flag-ro {
  background: linear-gradient(to right, #002b7f 0 33.333%, #fcd116 33.333% 66.666%, #ce1126 66.666% 100%);
}
.flag-bg {
  background: linear-gradient(to bottom, #fff 0 6px, #00966e 6px 12px, #d62612 12px 18px);
}
.flag-en {
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 36'%3E%3Crect width='50' height='36' fill='%23012169'/%3E%3Cpath d='M0 0 50 36M50 0 0 36' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0 50 36M50 0 0 36' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M25 0v36M0 18h50' stroke='%23fff' stroke-width='12'/%3E%3Cpath d='M25 0v36M0 18h50' stroke='%23c8102e' stroke-width='7'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Hero ===== */
.hero { padding: 56px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.hero-text h1 { font-size: var(--fs-hero); line-height: 1.22; font-weight: 800; letter-spacing: 0; margin-top: 16px; }
.hero-text > p { margin: 22px 0 0; color: #444; font-size: var(--fs-lead); max-width: 540px; }
.hero-text > p + p { margin-top: 14px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-map img { width: 100%; height: auto; }
.map-caption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); text-align: center; }
.map-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-right: 8px; }

/* ===== Model ===== */
.model { padding: 76px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.model-inner { max-width: 1520px; }
.model-copy h2 { font-size: var(--fs-section); font-weight: 800; line-height: 1.25; margin-top: 12px; max-width: none; }
.model-text { margin-top: 34px; }
.model-text p { color: #4a4a4a; font-size: var(--fs-body); margin-bottom: 16px; max-width: none; }
.model-text p:last-child { margin-bottom: 0; font-weight: 600; color: var(--text); }
.model-list { list-style: none; margin: -4px 0 20px; }
.model-list li { color: #4a4a4a; font-size: var(--fs-body); padding: 6px 0 6px 22px; position: relative; }
.model-list li::before { content: '-'; position: absolute; left: 0; color: var(--red); }

/* ===== Dla producentów (dark) ===== */
.partner { background: var(--black); color: #fff; padding: 90px 0; }
.partner-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.partner-head h2 { color: #fff; font-size: var(--fs-section); font-weight: 800; line-height: 1.25; margin-top: 14px; }
.partner-head p { color: #b9b9b9; font-size: var(--fs-body); margin-top: 18px; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 1120px; margin: 0 auto; }
.p-block {
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  padding: 36px 32px;
}
.p-block h3 { font-size: var(--fs-title); font-weight: 700; margin-bottom: 18px; color: #fff; }
.p-block-primary { border-color: var(--red); box-shadow: 0 0 0 1px rgba(224,30,43,.35); }
.p-block h3::before { content: ''; display: block; width: 34px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }
.p-block ul { list-style: none; }
.p-block li { font-size: var(--fs-body); color: #c4c4c4; padding: 7px 0 7px 22px; position: relative; }
.p-block li::before { content: '-'; position: absolute; left: 0; color: var(--red); }
.partner-cta { text-align: center; margin-top: 48px; }

/* ===== Proces (5 etapów) ===== */
.process { padding: 72px 0 76px; background: #fff; }
.process-head { text-align: center; margin-bottom: 52px; }
.process-head h2 { font-size: var(--fs-section); font-weight: 800; margin-top: 10px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.step { text-align: center; padding: 10px 22px; }
.step + .step { border-left: 1px solid var(--line); }
.step img { width: 66px; height: 66px; object-fit: contain; margin: 0 auto 20px; }
.step h3 { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; margin-bottom: 10px; line-height: 1.4; }
.step p { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

/* ===== Kontakt ===== */
.contact { padding: 90px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }

/* ===== Footer ===== */
.site-footer { background: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0; }
.footer-bottom-inner { display: flex; gap: 60px; justify-content: center; text-align: center; font-size: var(--fs-small); color: #777; }

/* ===== Pierwszy kontakt ===== */
.flow { padding: 76px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.flow-head { text-align: center; margin-bottom: 46px; }
.flow-head h2 { font-size: var(--fs-section); font-weight: 800; margin-top: 10px; }
.flow-lead { color: var(--muted); font-size: var(--fs-body); margin-top: 10px; }
.flow-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: flow; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; position: relative; }
.flow-num {
  position: absolute; top: -14px; left: 24px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: var(--fs-small); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.flow-time { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: var(--red); margin: 8px 0 6px; }
.flow-step h3 { font-size: var(--fs-title); font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: var(--fs-small); color: #555; line-height: 1.55; }

/* ===== Kontakt - układ dwukolumnowy ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(420px, .9fr); gap: 48px; align-items: start; text-align: left; }
.contact-text h2 { font-size: var(--fs-section); font-weight: 800; margin-top: 10px; }
.contact-text > p { color: #555; font-size: var(--fs-body); margin-top: 18px; max-width: 760px; }
.contact-sub { font-size: var(--fs-title); font-weight: 700; margin-top: 30px; margin-bottom: 14px; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; max-width: 760px; }
.contact-list-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #555; font-size: var(--fs-body); line-height: 1.45; padding: 14px 16px; }
.contact-list-item::before { content: '-'; color: var(--red); margin-right: 8px; }
.contact-reply { max-width: 760px; background: #fff; border-left: 3px solid var(--red); color: var(--text); font-size: var(--fs-body); font-weight: 500; line-height: 1.55; margin-top: 18px; padding: 14px 16px; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.contact-box h3 { font-size: var(--fs-title); font-weight: 700; letter-spacing: 0; margin-bottom: 20px; }
.contact-box h3::before { content: ''; display: block; width: 34px; height: 3px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }
.cb-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.cb-row { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cb-row-full { grid-column: 1 / -1; }
.cb-row-brand { border-top: none; border-bottom: none; padding: 0 0 18px; }
.cb-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.cb-value { font-size: var(--fs-small); font-weight: 400; line-height: 1.55; color: #555; }
.contact-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 4px; }
.contact-brand img { width: 160px; height: auto; margin-bottom: 2px; }
.contact-brand-name { color: var(--text); font-size: var(--fs-body); font-weight: 600; }
.contact-brand-tagline { color: var(--red); font-size: var(--fs-small); line-height: 1.45; }
.cb-value-small { max-width: 720px; font-size: var(--fs-small); font-weight: 400; color: #555; }
a.cb-value { color: var(--red); font-weight: 600; }
a.cb-value:hover { text-decoration: underline; }
.cb-verify { display: inline-block; font-size: var(--fs-small); font-weight: 500; color: var(--red); }
.cb-verify:hover { text-decoration: underline; }
.cb-row-contact { border-bottom: none; padding-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --fs-section: 28px;
    --fs-hero: 28px;
  }

  .site-header { position: relative; }
  .header-inner { justify-content: space-between; gap: 16px; }
  .header-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 32px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
    z-index: 100;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lead); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .nav-cta-mobile { display: block; color: var(--red); font-weight: 700; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-buttons { justify-content: center; }
  .map-caption { font-size: var(--fs-label); }
  .partner-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .step + .step { border-left: none; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .cb-columns { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; align-items: center; }
}

@media (max-width: 700px) {
  :root {
    --fs-section: 26px;
  }

  .container { padding: 0 22px; }
  .contact-list { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
}
