/* ============ Fonts ============ */
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ Tokens ============ */
:root {
  --blue-900: #0d2a5c;
  --blue-800: #133a7d;
  --blue-700: #1a4a9c;
  --blue-600: #1f56b0;
  --blue-500: #2f6ad0;
  --blue-100: #e6eefb;
  --blue-50:  #f3f7fd;
  --orange-500: #ff8a3d;
  --orange-100: #fff0e5;
  --green-500: #1fa463;
  --green-100: #e3f6ec;
  --red-500: #d93b3b;

  --ink: #0f1d33;
  --ink-2: #44526a;
  --ink-3: #6b7890;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 2px 8px rgba(15, 29, 51, .04);
  --shadow: 0 10px 30px -10px rgba(15, 29, 51, .18), 0 2px 6px rgba(15, 29, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(19, 58, 125, .35);

  --header-h: 72px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(880px, 100% - 40px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-light { color: #fff; background: rgba(255,255,255,.14); }

.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); }
.lead.center { max-width: 760px; margin-inline: auto; }

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head .btn { margin-top: 8px; }
/* "Pomoc" / "Kontakt" — eyebrow i nagłówek to ten sam tekst, ukrywamy eyebrow wizualnie */
#help .section-head .eyebrow, #contact .section-head .eyebrow { display: none; }

/* ============ Buttons ============ */
.btn {
  --b: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .2s ease, color .15s ease, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 86, 176, .7); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 12px 24px -8px rgba(31, 86, 176, .8); }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-800); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-soft { background: var(--blue-100); color: var(--blue-700); white-space: normal; text-align: left; }
.btn-soft:hover { background: var(--blue-600); color: #fff; }
.btn-white { background: #fff; color: var(--blue-700); white-space: normal; text-align: left; }
.btn-white:hover { background: var(--orange-100); color: var(--blue-900); }
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(2px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand b { font-weight: 800; background: linear-gradient(100deg, #009cd8, #1e4b93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { height: 38px; width: auto; display: block; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light b { background: linear-gradient(100deg, #4cc3f0, #9cc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: color .15s, background-color .15s;
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--blue-700); background: var(--blue-50); }
.nav-actions { display: flex; gap: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--blue-50); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 24px; background: #fff; box-shadow: 0 20px 30px -20px rgba(15,29,51,.3);
    border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 17px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; padding: 14px; }
}

/* ============ Hero ============ */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(47, 106, 208, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(255, 138, 61, .12), transparent 70%),
    linear-gradient(180deg, var(--blue-50), #fff);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(19, 58, 125, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 32px; }
.hero h1 .accent {
  background: linear-gradient(100deg, #009cd8, var(--blue-600) 55%, #1e4b93);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-blob {
  position: absolute; inset: 6% -4% -6% 8%; z-index: 0;
  background: linear-gradient(135deg, #009cd8, #1e4b93);
  border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%;
  transform: rotate(-6deg);
  opacity: .95;
}
.hero-visual img {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 713 / 470; object-fit: cover; width: 100%;
  border: 6px solid #fff;
}
.hero-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff;
  font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-chip .ic { color: var(--blue-600); }
.chip-a { top: -14px; left: 8%; }
.chip-b { bottom: 14%; left: -18px; animation-delay: -2s; }
.chip-b .ic { color: var(--green-500); }
.chip-c { bottom: -16px; right: 10%; animation-delay: -4s; }
.chip-c .ic { color: var(--orange-500); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 16px auto 0; width: 100%; }
  .chip-b { left: -6px; }
}

/* ============ Audience ============ */
.audience { padding-top: 0; margin-top: clamp(-40px, -3vw, -20px); position: relative; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdcf3; color: inherit; }
.audience-card h2 { font-size: 20px; font-weight: 800; margin: 18px 0 10px; }
.audience-card p { font-size: 15px; color: var(--ink-2); flex: 1; }
.audience-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--blue-600); }
.audience-card:hover .more .ic { transform: translateX(4px); }
.audience-card .more .ic { transition: transform .2s; }

.icon-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-100); color: var(--blue-600);
}
.icon-badge .ic { width: 26px; height: 26px; }
.audience-card:nth-child(2) .icon-badge { background: var(--orange-100); color: #e06a17; }
.audience-card:nth-child(3) .icon-badge { background: var(--green-100); color: var(--green-500); }
.audience-card:nth-child(4) .icon-badge { background: #f1e9fd; color: #7a46d6; }

@media (max-width: 1040px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .audience-grid { grid-template-columns: 1fr; } }

/* ============ Feature blocks ============ */
.feature { padding: clamp(56px, 7vw, 100px) 0; }
.feature-alt { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-grid.reverse .feature-copy { order: 2; }
.feature-copy .lead { margin-bottom: 22px; }
.feature-copy h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-bottom: 22px; }
.feature-media { margin: 0; position: relative; }
.feature-media::before {
  content: ""; position: absolute; inset: 10% -5% -5% 10%;
  background: var(--blue-100); border-radius: var(--radius-lg); z-index: 0;
}
.feature-alt .feature-media::before { background: #fff; }
.feature-media img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }

.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 7 10 16l-4-4' fill='none' stroke='%231fa463' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

@media (max-width: 900px) {
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; }
  .feature-grid.reverse .feature-copy { order: 0; }
  .feature-media { max-width: 520px; }
}

/* ============ Functions ============ */
.functions {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(91, 147, 243, .35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 138, 61, .18), transparent 70%),
    var(--blue-900);
  color: #dbe6fa;
}
.functions .section-head h2 { color: #fff; }
.functions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fn-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(4px);
  transition: background-color .25s, transform .25s;
}
.fn-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.fn-card p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.7; }
.fn-card .icon-badge { background: rgba(255,255,255,.1); color: #9cc0ff; }
.fn-card-cta { background: linear-gradient(140deg, var(--blue-600), #3f7ce3); border-color: transparent; color: #fff; }
.fn-card-cta:hover { background: linear-gradient(140deg, var(--blue-600), #3f7ce3); }
.fn-card-cta .icon-badge { background: rgba(255,255,255,.18); color: #fff; }
.fn-card-cta strong { color: #fff; }
.fn-card-cta .btn { margin-top: 22px; }
@media (max-width: 1000px) { .functions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .functions-grid { grid-template-columns: 1fr; } }

/* ============ Help / FAQ ============ */
.tabs {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 28px; width: fit-content; max-width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
}
.tab {
  font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2);
  background: transparent; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--blue-700); }
.tab.is-active { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .tabs { width: 100%; } .tab { flex: 1; padding: 10px 8px; font-size: 14px; } }

.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #cfdcf3; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600);
  transition: transform .25s ease, background-color .2s;
}
.faq details[open] summary .ic { transform: rotate(180deg); background: var(--blue-600); color: #fff; }
.faq summary:hover { color: var(--blue-700); }
.faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }

/* ============ Payments ============ */
.payments { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 28px 0; }
.payments-inner { display: flex; align-items: center; justify-content: center; gap: 12px 36px; flex-wrap: wrap; }
.payments p { margin: 0; color: var(--ink-3); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.payments-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.payments-logos img { height: 64px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.payments-logos img.logo-sm { height: 32px; }
.payments-logos a:hover img { filter: none; opacity: 1; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-info {
  background: linear-gradient(160deg, var(--blue-50), #fff);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
}
.contact-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact-info > p { color: var(--ink-2); }
.contact-qa { margin: 24px 0 28px; display: grid; gap: 18px; }
.contact-qa dt { font-weight: 700; }
.contact-qa dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }
.contact-info h4 { font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; margin-bottom: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; font-size: 15.5px; line-height: 1.45;
}
a.contact-method:hover { border-color: var(--blue-500); color: var(--ink); }
.contact-method strong { color: var(--ink); }
a.contact-method strong { font-size: 18px; color: var(--blue-700); white-space: nowrap; }
.contact-method .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.contact-method .icon-badge .ic { width: 20px; height: 20px; }
.hours { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hours .ic { color: var(--blue-600); margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.span-2 { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field abbr { color: var(--red-500); text-decoration: none; }
.field .opt { color: var(--ink-3); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cdd6e5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 106, 208, .15);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red-500); background: #fff7f7; }
.field .err { color: var(--red-500); font-size: 13px; font-weight: 600; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid #c3cddd; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.consent input::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transform: scale(0); transition: transform .15s; }
.consent input:checked { background: var(--blue-600); border-color: var(--blue-600); }
.consent input:checked::after { transform: scale(1); }
.field.has-error .consent input { border-color: var(--red-500); }

.form-footer { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.turnstile-slot { min-height: 65px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status:not(:empty) { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #a42424; font-weight: 600; font-size: 15px; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success h3 { font-size: 24px; font-weight: 800; color: var(--blue-700); }
.form-success p { color: var(--ink-2); max-width: 560px; margin-inline: auto; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--green-100); color: var(--green-500); }
.success-icon .ic { width: 32px; height: 32px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
}

/* ============ Modal ============ */
.modal {
  width: min(640px, 100% - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(15, 29, 51, .45);
  color: var(--ink);
}
.modal::backdrop { background: rgba(13, 42, 92, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 20px; font-weight: 800; }
.modal-body { padding: 24px 26px 28px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--blue-100); color: var(--blue-700); }
body.modal-open { overflow: hidden; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #aab6cc; padding: 48px 0; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal strong { color: #e6ecf7; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #e6ecf7; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #9cc0ff; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============ Cookie bar ============ */
.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: 0 24px 60px -16px rgba(15, 29, 51, .4); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
  animation: pop .3s ease-out;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.cookie-bar p { margin-bottom: 10px; }
.cookie-cat { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.cookie-cat p { margin: 6px 0 0; }
.cookie-cat strong { color: var(--ink); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--green-100); color: var(--green-500); margin-left: 6px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.cookie-actions .btn { padding: 10px 16px; font-size: 14px; }

/* ============ Reveal on scroll ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
