/* ===== Motivio — design tokens ===== */
:root {
  --teal: #1c4a5a;
  --teal-dark: #143842;
  --teal-light: #2d6b7f;
  --amber: #e8a63d;
  --amber-dark: #cf861f;
  --amber-text: #b07d1f;
  --text-body: #33484f;
  --text-body2: #3c4c52;
  --text-body3: #4a5a60;
  --text-muted: #6b7a80;
  --text-muted2: #8b979c;
  --bg-white: #ffffff;
  --bg-cream: #f7f4ef;
  --bg-cream2: #f2ede4;
  --bg-gray: #eef1f2;
  --border1: #e6e1d8;
  --border2: #d8d2c6;
  --border3: #e3e8ea;
  --on-teal: #cfe0e3;
  --on-teal-lighter: #e7eef0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  color: #2b3a40;
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--teal); }
a:hover { color: var(--amber); }
img { max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; letter-spacing: -0.01em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .2s; text-decoration: none; }
.skip-link:focus { top: 12px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border1);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-link img { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 17px; color: var(--teal); }
.nav-link:hover { color: var(--amber); }
.nav-link.active { color: var(--amber); }
.nav-cta { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--amber); color: #1c2e34; text-decoration: none; font-weight: 700; font-size: 17px; box-shadow: 0 4px 14px rgba(232,166,61,0.35); }
.nav-cta:hover { color: #1c2e34; filter: brightness(1.05); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px; font-family: 'Poppins', sans-serif; border: none; cursor: pointer; }
.btn-amber { background: var(--amber); color: #1c2e34; box-shadow: 0 6px 20px rgba(232,166,61,0.4); }
.btn-amber:hover { color: #1c2e34; filter: brightness(1.04); }
.btn-outline-teal { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline-teal:hover { color: var(--amber); border-color: var(--amber); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { color: #fff; filter: brightness(1.1); }
.btn-sm { padding: 13px 24px; font-size: 16px; }

/* ===== Layout helpers ===== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { max-width: 1160px; margin: 0 auto; padding: clamp(48px,6vw,80px) 24px; }
.section-white { background: #fff; border-top: 1px solid var(--border1); border-bottom: 1px solid var(--border1); }
.kicker { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

/* ===== Hero ===== */
.hero { background: linear-gradient(160deg, #ffffff 0%, #f2ede4 100%); border-bottom: 1px solid var(--border1); }
.hero-grid { max-width: 1160px; margin: 0 auto; padding: clamp(48px,7vw,88px) 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px,5vw,64px); align-items: center; }
.hero-copy { animation: fadeUp .6s ease both; }
.badge-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #e9f0f1; color: var(--teal); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-weight: 700; font-size: clamp(32px,5vw,54px); line-height: 1.08; color: var(--teal); margin: 20px 0 0; }
.hero h1 .accent { color: var(--amber); }
.hero .lead { font-size: clamp(17px,1.6vw,20px); line-height: 1.6; color: var(--text-body3); margin: 22px 0 0; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { font-size: 14px; color: var(--text-muted); margin: 20px 0 0; }
.hero-img-wrap { position: relative; z-index: 0; width: 100%; max-width: 420px; margin: 0 auto; }
.hero-img-glow {
  position: absolute; inset: -50px -70px;
  background:
    radial-gradient(circle at 18% 22%, rgba(232,166,61,0.38), transparent 55%),
    radial-gradient(circle at 82% 28%, rgba(45,107,127,0.32), transparent 55%),
    radial-gradient(circle at 30% 85%, rgba(207,224,227,0.55), transparent 55%),
    radial-gradient(circle at 88% 88%, rgba(242,217,172,0.4), transparent 55%);
  filter: blur(34px) saturate(130%);
  z-index: -1;
  border-radius: 40px;
}
.hero-img-wrap img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 24px 60px rgba(28,74,90,0.22); }

/* ===== Problem / two column ===== */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(28px,4vw,56px); align-items: center; }
.two-col h2 { font-weight: 700; font-size: clamp(24px,3.5vw,38px); color: var(--teal); line-height: 1.15; margin: 0; }
.two-col p { font-size: 18px; line-height: 1.7; color: var(--text-body3); margin: 0; }
.two-col p + p { margin-top: 16px; }

/* ===== Section heading center ===== */
.heading-center { text-align: center; max-width: 640px; margin: 0 auto; }
.heading-center h2 { font-weight: 700; font-size: clamp(26px,3.5vw,40px); color: var(--teal); margin: 12px 0 0; }

/* ===== Card grids ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; margin-top: 48px; }
.card { background: var(--bg-cream); border: 1px solid var(--border1); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal); color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.card h3 { font-weight: 600; font-size: 19px; color: var(--teal); margin: 8px 0 0; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--text-body3); margin: 0; }

/* ===== Efficiency band ===== */
.efficiency-box { background: linear-gradient(150deg, var(--teal), var(--teal-dark)); border-radius: 24px; padding: clamp(32px,5vw,64px); color: #fff; position: relative; overflow: hidden; }
.efficiency-decor { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: var(--amber); opacity: .14; border-radius: 50%; }
.efficiency-content { position: relative; max-width: 720px; }
.efficiency-content .kicker { color: #f2d9ac; }
.efficiency-content h2 { font-weight: 700; font-size: clamp(24px,3.5vw,38px); margin: 14px 0 0; line-height: 1.15; }
.efficiency-content p { font-size: 18px; line-height: 1.7; color: var(--on-teal); margin: 20px 0 0; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 22px; margin-top: 48px; }
.step-no { font-weight: 700; font-size: 15px; color: var(--amber); }
.step-divider { height: 3px; background: var(--border1); border-radius: 2px; margin-top: 10px; }
.step h3 { font-weight: 600; font-size: 18px; color: var(--teal); margin: 8px 0 0; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--text-body3); margin: 0; }

/* ===== Quote ===== */
.quote-section { max-width: 900px; margin: 0 auto; padding: clamp(48px,6vw,84px) 24px; text-align: center; }
.quote-mark { font-size: 60px; line-height: 1; color: var(--amber); font-family: 'Poppins',sans-serif; }
blockquote.quote { font-style: italic; font-size: clamp(20px,2.6vw,28px); line-height: 1.5; color: var(--teal); margin: 0; }
.quote-author { margin-top: 24px; font-weight: 600; color: var(--text-muted); }

/* ===== CTA band ===== */
.cta-band { background: var(--amber); }
.cta-band-inner { max-width: 1160px; margin: 0 auto; padding: clamp(40px,5vw,64px) 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-weight: 700; font-size: clamp(24px,3vw,34px); color: #1c2e34; margin: 0; line-height: 1.15; }
.cta-band p { font-size: 17px; margin: 10px 0 0; color: #4a3a1c; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(32px,5vw,56px); align-items: start; }
.about-grid img { width: 100%; max-width: 400px; border-radius: 20px; display: block; box-shadow: 0 20px 50px rgba(28,74,90,0.2); }
.about-role { font-weight: 600; color: var(--text-muted); margin: 8px 0 0; font-size: 17px; }
.about-grid h1 { font-weight: 700; font-size: clamp(28px,4vw,44px); color: var(--teal); margin: 12px 0 0; line-height: 1.1; }
.about-grid > div:last-child p { font-size: 18px; line-height: 1.7; color: var(--text-body3); margin: 24px 0 0; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ===== Blog list ===== */
.blog-intro { max-width: 680px; }
.blog-intro h1 { font-weight: 700; font-size: clamp(28px,4vw,44px); color: var(--teal); margin: 12px 0 0; line-height: 1.1; }
.blog-intro p { font-size: 18px; line-height: 1.7; color: var(--text-body3); margin: 18px 0 0; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 44px; }
.post-card { background: #fff; border: 1px solid var(--border1); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card:hover .post-title { color: var(--amber); }
.post-thumb { position: relative; height: 168px; overflow: hidden; border-bottom: 1px solid var(--border1); }
.post-thumb::before { content: ""; position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,0.10); }
.post-thumb::after { content: ""; position: absolute; right: 44px; bottom: -42px; width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.post-num { position: absolute; left: 22px; top: 16px; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 46px; line-height: 1; color: rgba(255,255,255,0.20); }
.post-tag-thumb { position: absolute; left: 22px; bottom: 18px; right: 22px; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-pill { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--bg-cream2); color: var(--amber-text); font-weight: 600; font-size: 12px; }
.post-title { font-weight: 600; font-size: 20px; color: var(--teal); margin: 4px 0 0; line-height: 1.25; }
.post-excerpt { font-size: 15.5px; line-height: 1.6; color: var(--text-body3); margin: 0; flex: 1; }
.post-meta { font-size: 13px; color: var(--text-muted2); margin-top: 2px; }
.post-link { align-self: flex-start; font-weight: 700; color: var(--teal); margin-top: 6px; }
.tg-cert { background: linear-gradient(135deg, #1c4a5a, #2d6b7f); }
.tg-opcja { background: linear-gradient(135deg, #e8a63d, #cf861f); }
.tg-warunki { background: linear-gradient(135deg, #143842, #1c4a5a); }
.tg-opz { background: linear-gradient(135deg, #2d6b7f, #1c4a5a); }

/* ===== Article ===== */
.article { max-width: 760px; margin: 0 auto; padding: clamp(36px,5vw,64px) 24px; }
.article-back { display: inline-block; font-weight: 600; text-decoration: none; color: var(--teal); font-size: 15px; }
.article-pill { display: inline-block; margin: 20px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--bg-cream2); color: var(--amber-text); font-weight: 600; font-size: 12px; }
.article h1 { font-weight: 700; font-size: clamp(27px,4vw,40px); color: var(--teal); margin: 14px 0 0; line-height: 1.12; }
.article-meta { font-size: 14px; color: var(--text-muted2); margin: 14px 0 0; }
.article-lead { font-size: 19px; line-height: 1.65; color: var(--text-body); margin: 24px 0 0; font-weight: 500; }
.article h2 { font-weight: 600; font-size: 24px; color: var(--teal); margin: 38px 0 0; }
.article p { font-size: 17px; line-height: 1.75; color: var(--text-body2); margin: 16px 0 0; }
.article ul { font-size: 17px; line-height: 1.7; color: var(--text-body2); margin: 14px 0 0; padding-left: 22px; }
.article ul li { margin: 8px 0; }
.article blockquote { border-left: 4px solid var(--amber); background: var(--bg-cream); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--text-body); font-style: italic; }
.article-cta { background: var(--teal); color: #fff; border-radius: 18px; padding: 28px 30px; margin: 40px 0 0; }
.article-cta h3 { font-weight: 700; font-size: 21px; margin: 0; line-height: 1.2; }
.article-cta p { font-size: 16px; line-height: 1.6; color: var(--on-teal); margin: 12px 0 0; }
.article-cta .btn { margin-top: 18px; }
.article-disclaimer { font-size: 13.5px; color: var(--text-muted2); margin: 24px 0 0; font-style: italic; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(32px,5vw,56px); align-items: start; }
.contact-grid h1 { font-weight: 700; font-size: clamp(28px,4vw,44px); color: var(--teal); margin: 12px 0 0; line-height: 1.1; }
.contact-grid > div:first-child > p { font-size: 18px; line-height: 1.7; color: var(--text-body3); margin: 18px 0 0; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; text-decoration: none; }
.contact-card-primary { background: var(--teal); color: #fff; }
.contact-card-primary:hover { color: #fff; filter: brightness(1.1); }
.contact-card-secondary { background: #fff; border: 1px solid var(--border1); color: var(--teal); }
.contact-card .icon { font-size: 24px; }
.contact-card .label { display: block; font-size: 13px; }
.contact-card-primary .label { color: var(--on-teal); }
.contact-card-secondary .label { color: var(--text-muted); }
.contact-card .value { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 22px; }
.contact-card-secondary .value { font-size: 20px; }
.contact-divider { border-top: 1px solid var(--border1); margin: 28px 0 0; }
.contact-table { border-collapse: collapse; font-size: 15.5px; line-height: 1.6; margin-top: 24px; }
.contact-table td { padding: 4px 16px 4px 0; vertical-align: top; }
.contact-table td:first-child { font-weight: 700; color: var(--teal); }

.contact-form-wrap { background: #fff; border: 1px solid var(--border1); border-radius: 20px; padding: clamp(28px,4vw,44px); }
.contact-form-wrap h2 { font-weight: 700; font-size: 24px; color: var(--teal); margin: 0; }
.contact-form-wrap > p { font-size: 15.5px; line-height: 1.6; color: var(--text-body3); margin: 8px 0 0; }
form.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.form-group label { display: block; font-weight: 600; color: var(--teal); font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--border2); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: #2b3a40; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--amber); outline: none; }
.form-group textarea { resize: vertical; }
.form-hint { font-weight: 400; color: var(--text-muted2); }
fieldset.radio-fieldset { border: none; padding: 0; margin: 0; }
fieldset.radio-fieldset legend { font-weight: 600; color: var(--teal); font-size: 14px; padding: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.radio-label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border2); border-radius: 999px; font-size: 15px; cursor: pointer; }
.radio-label input { accent-color: var(--amber); }
.btn-submit { border: none; cursor: pointer; padding: 15px 24px; border-radius: 999px; background: var(--amber); color: #1c2e34; font-weight: 700; font-size: 17px; font-family: 'Poppins',sans-serif; margin-top: 4px; }
.btn-submit:hover { filter: brightness(1.04); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; filter: none; }
.form-disclaimer { font-size: 12.5px; line-height: 1.55; color: var(--text-muted2); margin: 0; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; line-height: 1.5; color: #b3311c; background: #fdf0ee; border: 1px solid #f3c9c1; border-radius: 10px; padding: 10px 14px; margin: 0; }
.form-error a { color: #b3311c; font-weight: 700; }

.form-success { text-align: center; padding: 24px 0; }
.form-success .check { width: 66px; height: 66px; border-radius: 50%; background: #e9f0f1; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto; font-weight: 700; }
.form-success h2 { font-weight: 700; font-size: 24px; color: var(--teal); margin: 20px 0 0; }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--text-body3); margin: 12px auto 0; max-width: 340px; }
.btn-outline { border: 2px solid var(--teal); background: transparent; cursor: pointer; padding: 12px 22px; border-radius: 999px; color: var(--teal); font-weight: 700; font-size: 15px; font-family: 'Source Sans 3',sans-serif; margin-top: 24px; }
.btn-outline:hover { color: var(--amber); border-color: var(--amber); }

/* ===== Policy ===== */
.policy { max-width: 820px; margin: 0 auto; padding: clamp(40px,6vw,72px) 24px; }
.policy h1 { font-weight: 700; font-size: clamp(28px,4vw,42px); color: var(--teal); margin: 12px 0 0; line-height: 1.1; }
.policy-meta { font-size: 15px; color: var(--text-muted); margin: 12px 0 0; }
.policy-body { font-size: 16.5px; line-height: 1.75; color: var(--text-body2); }
.policy-body h2 { font-weight: 600; font-size: 22px; color: var(--teal); margin: 36px 0 0; }
.policy-body h2:first-of-type { margin-top: 40px; }
.policy-body p { margin: 12px 0 0; }
.policy-body ul { margin: 12px 0 0; padding-left: 22px; }
.policy-body ul li { margin: 6px 0; }
.policy-contact-box { background: #fff; border: 1px solid var(--border1); border-radius: 16px; padding: 24px; margin: 40px 0 0; }
.policy-contact-box p { margin: 0; font-size: 15.5px; color: var(--text-body3); }

/* ===== Footer ===== */
.site-footer { background: var(--teal-dark); color: var(--on-teal); margin-top: auto; }
.footer-grid { max-width: 1160px; margin: 0 auto; padding: clamp(40px,5vw,64px) 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 36px; }
.footer-logo { height: 34px; width: auto; display: block; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 15px; line-height: 1.6; margin: 0; max-width: 280px; }
.footer-col h3 { font-size: 15px; color: #fff; margin: 0 0 14px; letter-spacing: .04em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--on-teal); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { max-width: 1160px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #8ba6ac; }
.footer-bottom-inner a { color: var(--on-teal); text-decoration: none; }
.footer-bottom-inner a:hover { color: var(--amber); }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: var(--teal-dark); color: var(--on-teal-lighter); border-radius: 16px; padding: 20px 22px; box-shadow: 0 16px 44px rgba(0,0,0,0.32); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner[hidden] { display: none; }
.cookie-text { flex: 1; min-width: 240px; font-size: 14.5px; line-height: 1.55; }
.cookie-text strong { color: #fff; }
.cookie-text a { color: #f2d9ac; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-outline { border: 1px solid rgba(255,255,255,0.4); background: transparent; color: var(--on-teal-lighter); cursor: pointer; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; font-family: 'Source Sans 3',sans-serif; }
.btn-cookie-accept { border: none; background: var(--amber); color: #1c2e34; cursor: pointer; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; font-family: 'Source Sans 3',sans-serif; }

@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .nav { justify-content: center; }
}
