/* PrawoZiemi.pl — Landing page styles
 * Uses tokens from colors_and_type.css.
 */
@import url("./colors_and_type.css");

/* ============ TWEAKABLE OVERRIDES ============ */
:root {
  --tw-accent: var(--green-600);
  --tw-accent-hover: var(--green-700);
  --tw-accent-soft: var(--green-50);
}

/* ============ LAYOUT ============ */
.page { background: var(--bg-default); overflow-x: hidden; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--fg-on-dark); }
.section--dark-grad {
  background: linear-gradient(165deg, #1a2744 0%, #243358 55%, #2a3a5c 100%);
  color: var(--fg-on-dark);
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 880px; }

a { transition: color var(--dur-fast) var(--ease-out); }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { color: var(--tw-accent); margin-bottom: 14px; display: inline-block; }
.section--dark .section-head .eyebrow,
.section--dark-grad .section-head .eyebrow { color: var(--green-500); }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.section--dark .section-head h2,
.section--dark-grad .section-head h2 { color: #fff; }
.section-head p { font-size: 18px; color: var(--fg-2); line-height: 1.65; margin: 0; text-wrap: pretty; }
.section--dark .section-head p,
.section--dark-grad .section-head p { color: rgba(255,255,255,0.78); }
.section-head--left { margin: 0 0 56px; text-align: left; max-width: 760px; }

/* ============ HEADER ============ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px 28px; max-width: 1180px; margin: 0 auto; }
.hdr-brand-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hdr-brand-block img { height: 46px; flex-shrink: 0; }
.hdr-wordmark { display: flex; flex-direction: column; line-height: 1; }
.hdr-wordmark-row { font: 700 22px/1 var(--font-display); color: var(--navy-900); white-space: nowrap; }
.hdr-wordmark-row .pl { font-family: var(--font-ui); font-weight: 600; font-size: 17px; color: var(--tw-accent); }
.hdr-instytut { font: 500 9.5px/1.35 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); margin-top: 4px; }
.hdr-nav { display: flex; gap: 30px; align-items: center; }
.hdr-nav a { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.hdr-nav a:hover { color: var(--tw-accent); }
.hdr-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hdr-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ============ BUTTONS ============ */
.btn { font-family: var(--font-ui); font-weight: 600; font-size: 15px; border-radius: 10px;
  padding: 13px 22px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--dur-base) var(--ease-out); white-space: nowrap; text-decoration: none; line-height: 1; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--tw-accent); outline-offset: 2px; }
.btn-primary { background: var(--tw-accent); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--tw-accent-hover); color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(46,125,50,0.35); }
.btn-secondary { background: transparent; color: var(--navy-900); border: 1.5px solid var(--navy-900); }
.btn-secondary:hover { background: rgba(26,39,68,0.06); color: var(--navy-900); text-decoration: none; }
.btn-on-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-on-dark:hover { background: rgba(255,255,255,0.10); border-color: #fff; color: #fff; text-decoration: none; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-xl { padding: 20px 36px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero { background: linear-gradient(165deg, #1a2744 0%, #213056 55%, #2a3a5c 100%); color: #fff; padding: 96px 0 120px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(46,125,50,0.10), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-eyebrow { font: 600 12px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-500); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; background: rgba(46,125,50,0.12); border: 1px solid rgba(46,125,50,0.40); border-radius: 999px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green-500); box-shadow: 0 0 0 4px rgba(63,146,68,0.18); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1.12; letter-spacing: -0.015em; color: #fff; margin: 0 0 24px; text-wrap: balance; }
.hero h1 .accent { color: var(--green-500); }
.hero-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0 0 36px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; color: rgba(255,255,255,0.78); font-size: 14px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; }
.hero-trust .item .ic { color: var(--green-500); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(63,146,68,0.18); }

.hero-photo-wrap { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  background: linear-gradient(170deg, #b7d4e8 0%, #c8dfd8 55%, #ddd2a0 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-photo .placeholder-label {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  font: 600 11px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,23,42,0.55); background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  padding: 7px 11px; border-radius: 999px;
}
/* photo illustration / image */
.hero-photo svg,
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-stamp { position: absolute; left: -32px; bottom: -28px; width: 150px; height: 150px; transform: rotate(-8deg); filter: drop-shadow(0 10px 24px rgba(0,0,0,0.30)); z-index: 4; }
@media (max-width: 960px) {
  .hero-photo-wrap { max-width: 520px; margin: 0 auto; }
  .hero-stamp { width: 110px; height: 110px; left: -16px; bottom: -16px; }
}

/* ============ HOOK SECTION ============ */
.hook { background: var(--gray-50); padding: 88px 0; text-align: center; }
.hook .container { max-width: 1040px; }
.hook p {
  font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1.28;
  color: var(--ink); margin: 0; letter-spacing: -0.005em; text-wrap: balance;
}
.hook .brand { color: var(--navy-900); }
.hook .turn { color: var(--tw-accent); }
.hook .strike { position: relative; display: inline-block; }
.hook .strike::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 3px;
  background: var(--tw-accent); border-radius: 2px; transform: rotate(-1.2deg);
}

/* ============ WHAT IS IT — "O co w tym chodzi?" ============ */
.whatisit { background: #fff; padding: 112px 0; }
.whatisit-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 96px; align-items: start;
}
.whatisit-copy { max-width: 560px; }
.whatisit-eyebrow { color: var(--tw-accent); margin-bottom: 14px; display: inline-block; }
.whatisit-copy h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1.14;
  letter-spacing: -0.01em; margin: 0 0 32px; color: var(--ink); text-wrap: balance;
}
.whatisit-h2-accent { color: var(--tw-accent); }
.whatisit-copy p {
  font-size: 17px; line-height: 1.7; color: var(--fg-2); margin: 0 0 20px; text-wrap: pretty;
}
.whatisit-copy p:last-child { margin-bottom: 0; }
.whatisit-copy strong { color: var(--ink); font-weight: 600; }

.whatisit-stats {
  display: grid; gap: 0; position: sticky; top: 96px;
  border-top: 1px solid var(--gray-200);
}
.whatisit-stat {
  padding: 32px 0 32px;
  border-bottom: 1px solid var(--gray-200);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
}
.whatisit-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 64px; line-height: 1; letter-spacing: -0.02em;
  color: var(--tw-accent);
}
.whatisit-num sup {
  font-size: 0.5em; vertical-align: super; font-weight: 700; margin-left: 1px;
}
.whatisit-desc {
  font-size: 15.5px; line-height: 1.55; color: var(--fg-2); max-width: 360px;
}

@media (max-width: 960px) {
  .whatisit { padding: 80px 0; }
  .whatisit-grid { grid-template-columns: 1fr; gap: 56px; }
  .whatisit-copy { max-width: none; }
  .whatisit-copy h2 { font-size: 32px; }
  .whatisit-stats { position: static; }
  .whatisit-num { font-size: 52px; }
}
@media (max-width: 640px) {
  .whatisit-copy h2 { font-size: 28px; }
  .whatisit-num { font-size: 44px; }
}

/* ============ LEAD FORM ============ */
.lead-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.lead-copy { padding-top: 8px; }
.lead-copy h2 { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; margin: 14px 0 20px; color: var(--ink); text-wrap: balance; }
.lead-copy > p { font-size: 17px; line-height: 1.65; color: var(--fg-2); margin: 0 0 28px; }
.lead-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lead-copy li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.lead-copy li .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--tw-accent);
  color: #fff; display: grid; place-items: center; margin-top: 1px;
}

.lead-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 20px; padding: 36px 34px; position: relative; }
.lead-form-stamp { position: absolute; top: -28px; right: -24px; width: 116px; height: 116px; transform: rotate(8deg); z-index: 2; filter: drop-shadow(0 6px 14px rgba(15,23,42,0.18)); }
.lead-form h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 6px; color: var(--ink); }
.lead-form-sub { font-size: 14px; color: var(--fg-2); margin: 0 0 22px; }
.lead-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.lead-field label { font: 600 13px/1 var(--font-ui); color: var(--ink); }
.lead-field label .opt { color: var(--fg-2); font-weight: 500; font-size: 12px; }
.lead-field input, .lead-field textarea, .lead-field select {
  padding: 13px 14px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: 10px; font-family: var(--font-ui); font-size: 15px; color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast); outline: 0;
  width: 100%;
}
.lead-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.lead-field input:focus, .lead-field textarea:focus, .lead-field select:focus {
  border-color: var(--tw-accent); box-shadow: 0 0 0 3px rgba(46,125,50,0.18);
}
.lead-field textarea { resize: vertical; min-height: 96px; }
.lead-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-row-2 .lead-field { margin-bottom: 0; }
.lead-form-note { font-size: 12.5px; color: var(--fg-2); margin-top: 16px; text-align: center; line-height: 1.55; }
.lead-success { padding: 32px 4px 8px; text-align: center; }
.lead-success .check-big { width: 56px; height: 56px; border-radius: 999px; background: var(--tw-accent); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.lead-success h4 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 8px; }
.lead-success p { color: var(--fg-2); margin: 0; }

/* ============ WYROK TK ============ */
.tk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.tk-card {
  border-radius: 18px; padding: 32px 30px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.tk-card--was { background: rgba(239,83,80,0.08); border: 1.5px solid #ef5350; color: #fff; box-shadow: 0 0 0 6px rgba(239,83,80,0.05); }
.tk-card--is  { background: rgba(46,125,50,0.10); border: 1.5px solid var(--green-500); color: #fff; box-shadow: 0 0 0 6px rgba(46,125,50,0.06); }
.tk-card .tk-icon { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; }
.tk-card--was .tk-icon { background: #ef5350; color: #fff; }
.tk-card--is .tk-icon  { background: var(--green-600); color: #fff; }
.tk-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0; color: #fff; }
.tk-card--was h3 { color: #fff; }
.tk-card p { margin: 0; line-height: 1.65; font-size: 15.5px; }
.tk-card--was p { color: #fff; }
.tk-card--is p { color: #fff; }
.tk-disclaimer { margin-top: 28px; font-style: italic; color: rgba(255,255,255,0.6); font-size: 14px; text-align: center; }

/* ============ STEPS GRID 2x2 ============ */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-card {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 18px;
  padding: 30px 30px 26px; position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.step-num-big {
  width: 56px; height: 56px; border-radius: 14px; background: var(--tw-accent); color: #fff;
  display: grid; place-items: center; font: 700 22px/1 var(--font-display); flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(46,125,50,0.30);
}
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 0; color: var(--ink); }
.step-card > p { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); margin: 0 0 22px; }
.step-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.step-meta .label { font: 600 11px/1 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.step-meta .val { font-size: 14px; color: var(--ink); line-height: 1.45; }
.step-meta .val.time { color: var(--tw-accent); font-weight: 600; }

.steps-banner {
  margin-top: 32px; background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 14px; padding: 22px 28px; display: flex; align-items: center; gap: 16px;
  color: var(--ink); font-size: 16px; line-height: 1.5;
}
.steps-banner .ic { width: 40px; height: 40px; border-radius: 999px; background: var(--tw-accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* ============ DEVICES GRID 4x2 ============ */
.devices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.device-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.device-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.device-card .icon-circle { width: 52px; height: 52px; border-radius: 999px; background: var(--green-50); color: var(--tw-accent); display: grid; place-items: center; }
.device-card .icon-circle svg { width: 26px; height: 26px; }
.device-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0; color: var(--ink); }
.device-card p { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.devices-foot { text-align: center; margin-top: 36px; font-size: 15px; color: var(--fg-2); }
.devices-foot a { color: var(--tw-accent); font-weight: 600; }

/* ============ CASE STUDIES ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-head { background: var(--navy-900); color: #fff; padding: 28px 26px 26px; }
.case-amount { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--green-500); letter-spacing: -0.015em; }
.case-amount .zl { font-size: 22px; font-weight: 600; color: rgba(255,255,255,0.85); margin-left: 4px; }
.case-kind { font: 600 11px/1 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 12px; }
.case-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.case-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.case-row .ic { color: var(--tw-accent); flex-shrink: 0; }
.case-row .key { color: var(--fg-2); font-size: 13px; min-width: 70px; }
.case-disclaimer { margin-top: 28px; font-style: italic; color: var(--fg-3); font-size: 13.5px; text-align: center; }

/* ============ WHY US ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 32px 32px 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-num {
  width: 48px; height: 48px; border-radius: 12px; background: var(--tw-accent); color: #fff;
  display: grid; place-items: center; font: 700 18px/1 var(--font-display);
  box-shadow: 0 4px 10px rgba(46,125,50,0.28);
}
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 0; color: var(--ink); }
.why-card p { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.faq-item.open { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: 0; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); transition: background var(--dur-fast); }
.faq-q:hover { background: var(--gray-50); }
.faq-chev { color: var(--tw-accent); transition: transform var(--dur-base) var(--ease-out); flex-shrink: 0; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-out); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a-inner { padding: 0 26px 24px; color: var(--fg-2); font-size: 15.5px; line-height: 1.7; }

/* ============ FINAL CTA ============ */
.final-cta { padding: 120px 0; text-align: center; background: linear-gradient(165deg, #1a2744 0%, #213056 55%, #2a3a5c 100%); color: #fff; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(46,125,50,0.14), transparent 60%);
}
.final-cta .container { position: relative; z-index: 1; max-width: 880px; }
.final-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 20px; color: #fff; text-wrap: balance; }
.final-cta h2 .accent { color: var(--green-500); }
.final-cta p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto 36px; }
.final-cta .btn-xl { padding: 22px 40px; }
.final-cta-trust { display: flex; justify-content: center; gap: 32px; margin-top: 40px; flex-wrap: wrap; color: rgba(255,255,255,0.78); font-size: 14.5px; }
.final-cta-trust .item { display: flex; align-items: center; gap: 10px; }
.final-cta-trust .ic { width: 22px; height: 22px; border-radius: 999px; background: rgba(63,146,68,0.22); color: var(--green-500); display: grid; place-items: center; }

/* ============ FOOTER ============ */
.footer { background: #0d1426; color: rgba(255,255,255,0.65); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; }
.footer h4 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: rgba(255,255,255,0.65); font-size: 14px; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-lockup img { height: 52px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-wordmark { font: 700 20px/1 var(--font-display); color: #fff; }
.footer-wordmark .pl { font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--green-500); }
.footer-instytut { font: 500 9px/1.4 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; max-width: 320px; }
.footer-contact-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 8px; }
.footer-contact-row .ic { color: var(--green-500); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 24px; }

/* ============ SUBPAGE HERO ============ */
.sub-hero {
  background: linear-gradient(165deg, #1a2744 0%, #213056 55%, #2a3a5c 100%);
  color: #fff; padding: 64px 0 80px; position: relative; overflow: hidden;
}
.sub-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(46,125,50,0.10), transparent 60%);
}
.sub-hero .container { position: relative; z-index: 1; }
.sub-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.sub-hero-grid--single { grid-template-columns: 1fr; max-width: 820px; }
.sub-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin-bottom: 22px; color: rgba(255,255,255,0.55); }
.sub-crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.sub-crumbs a:hover { color: #fff; text-decoration: underline; }
.sub-crumbs .sep { color: rgba(255,255,255,0.35); }
.sub-crumbs .cur { color: rgba(255,255,255,0.95); font-weight: 500; }
.sub-hero-h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.12;
  letter-spacing: -0.015em; color: #fff; margin: 14px 0 18px; text-wrap: balance;
}
.sub-hero-h1 .accent { color: var(--green-500); }
.sub-hero-lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0 0 30px; max-width: 580px; }
.sub-hero-photo {
  width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(170deg, #b7d4e8 0%, #c8dfd8 55%, #ddd2a0 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.18);
}
.sub-hero-photo--wide { aspect-ratio: 16/9; }
.sub-hero-photo svg,
.sub-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.sub-hero-photo .placeholder-label {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font: 600 11px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,23,42,0.55); background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  padding: 7px 11px; border-radius: 999px;
}

/* Header active link */
.hdr-nav a.is-current { color: var(--tw-accent); }
.hdr-nav a.is-current::after {
  content: ""; display: block; height: 2px; background: var(--tw-accent);
  border-radius: 2px; margin-top: 3px;
}

/* Header dropdown (Specjalizacje) */
.hdr-dd { position: relative; display: inline-block; }
.hdr-dd-trigger {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--ink); font: 500 15px/1 var(--font-ui);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--dur-fast);
}
.hdr-dd-trigger:hover { color: var(--tw-accent); }
.hdr-dd-trigger svg { transition: transform var(--dur-base) var(--ease-out); }
.hdr-dd.is-open .hdr-dd-trigger svg { transform: rotate(180deg); }
.hdr-dd-trigger.is-current { color: var(--tw-accent); }
.hdr-dd-trigger.is-current::after {
  content: ""; display: block; position: absolute; left: 0; right: 16px; bottom: -6px;
  height: 2px; background: var(--tw-accent); border-radius: 2px;
}
.hdr-dd-menu {
  position: absolute; top: 100%; left: -16px; margin-top: 14px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 280px; padding: 8px;
  display: none;
  z-index: 60;
}
.hdr-dd-menu::before {
  /* invisible hover bridge so cursor can move down to menu without losing hover */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.hdr-dd.is-open .hdr-dd-menu { display: block; animation: dd-fade 160ms var(--ease-out); }
@keyframes dd-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hdr-dd-menu a {
  display: block; padding: 11px 14px; color: var(--ink);
  font: 500 14.5px/1.3 var(--font-ui); text-decoration: none; border-radius: 8px;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.hdr-dd-menu a:hover { background: var(--gray-50); color: var(--tw-accent); }
.hdr-dd-menu a.is-current { background: var(--green-50); color: var(--tw-accent); font-weight: 600; }

/* ============ RATES TABLE ============ */
.rates-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--gray-200); background: #fff; box-shadow: var(--shadow-sm); }
.rates-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); }
.rates-table thead th {
  background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: left;
  padding: 16px 22px; white-space: nowrap;
}
.rates-table thead th:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.10); }
.rates-table tbody td { padding: 16px 22px; font-size: 15.5px; color: var(--ink); border-top: 1px solid var(--gray-200); }
.rates-table tbody tr:nth-child(odd) td { background: var(--gray-50); }
.rates-table tbody tr:hover td { background: var(--green-50); }
.rates-table tbody td:first-child { font-weight: 600; font-family: var(--font-display); }
.rates-table tbody tr.is-highlight td { background: rgba(46,125,50,0.10); color: var(--ink); font-weight: 500; }
.rates-table tbody tr.is-highlight td:last-child { color: var(--green-700); font-weight: 700; }

/* ============ OPERATOR LIST ============ */
.operator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.operator-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 22px 20px; display: flex; align-items: center; gap: 16px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.operator-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.operator-mark {
  width: 54px; height: 54px; border-radius: 12px; background: var(--navy-900); color: #fff;
  display: grid; place-items: center; font: 700 16px/1 var(--font-display);
  letter-spacing: 0.02em; flex-shrink: 0;
}
.operator-name { font: 600 16px/1.3 var(--font-display); color: var(--ink); }
.operator-role { font-size: 13px; color: var(--fg-2); margin-top: 3px; }

/* ============ HIGHLIGHT BOX ============ */
.highlight-box {
  display: flex; gap: 18px; padding: 24px 28px; border-radius: 14px;
  margin-top: 28px; line-height: 1.6; font-size: 16px;
}
.highlight-box--green { background: var(--green-50); border: 1px solid var(--green-100); color: var(--ink); }
.highlight-box--navy  { background: rgba(26,39,68,0.06); border: 1px solid rgba(26,39,68,0.10); color: var(--ink); }
.highlight-box--amber { background: #fef6e0; border: 1px solid #f4d68a; color: var(--ink); }
.highlight-box .hb-icon { width: 40px; height: 40px; border-radius: 999px; background: var(--tw-accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.highlight-box--amber .hb-icon { background: #c46a17; }
.highlight-box .hb-body { flex: 1; }
.highlight-box .hb-body strong { color: var(--ink); }

/* ============ FEATURE GRID (subpages) ============ */
.feature-grid { display: grid; gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.feature-card .icon-circle { width: 52px; height: 52px; border-radius: 999px; background: var(--green-50); color: var(--tw-accent); display: grid; place-items: center; margin-bottom: 4px; }
.feature-card .icon-circle svg { width: 26px; height: 26px; }
.feature-kicker { font: 600 11px/1 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase; color: var(--tw-accent); }
.feature-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 0; color: var(--ink); }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* Section--alt variant uses white feature cards; on plain section use --alt look */
.section--alt .feature-card { background: #fff; }
.section .feature-card { background: #fff; }

/* Adjust 2-column case grid for subpages with 2 cases */
.case-grid--c2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }

/* ============ TEAM CARDS ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 4/5; background: linear-gradient(160deg, #cdd6e0 0%, #b2bccc 100%);
  display: grid; place-items: center; position: relative;
}
.team-photo .placeholder-label {
  position: absolute; bottom: 12px; left: 12px;
  font: 600 10px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,23,42,0.55); background: rgba(255,255,255,0.85);
  padding: 6px 10px; border-radius: 999px;
}
.team-photo .silhouette { width: 80px; height: 80px; border-radius: 999px; background: rgba(255,255,255,0.6); display: grid; place-items: center; color: rgba(15,23,42,0.35); }
.team-body { padding: 22px 22px 24px; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0 0 4px; }
.team-role { font-size: 13.5px; color: var(--tw-accent); font-weight: 600; margin: 0 0 12px; letter-spacing: 0.02em; }
.team-bio { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ============ ABOUT — values blocks ============ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 18px;
  padding: 32px 30px; display: flex; flex-direction: column; gap: 14px;
}
.value-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-50);
  color: var(--tw-accent); display: grid; place-items: center;
  font: 700 16px/1 var(--font-display);
}
.value-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; color: var(--ink); }
.value-card p { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ============ ABOUT — mission prose ============ */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 17.5px; line-height: 1.75; color: var(--ink); margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--ink); }

/* ============ KANCELARIA — partner block ============ */
.partner-block { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; background: #fff; border: 1px solid var(--gray-200); border-radius: 20px; padding: 32px; }
.partner-photo {
  aspect-ratio: 4/5; background: linear-gradient(160deg, #cdd6e0 0%, #b2bccc 100%);
  border-radius: 14px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.partner-photo .placeholder-label {
  position: absolute; bottom: 10px; left: 10px;
  font: 600 10px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,23,42,0.55); background: rgba(255,255,255,0.85);
  padding: 6px 10px; border-radius: 999px;
}
.partner-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); margin: 0 0 6px; }
.partner-body .partner-role { font-size: 14px; color: var(--tw-accent); font-weight: 600; letter-spacing: 0.02em; margin: 0 0 18px; }
.partner-body p { font-size: 15.5px; line-height: 1.7; color: var(--fg-2); margin: 0 0 14px; }

/* ============ KONTAKT — contact grid ============ */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-block {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 16px; padding: 24px 26px;
}
.contact-block h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.005em; }
.contact-row {
  display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; font-size: 15px; color: var(--ink);
}
.contact-row .ic {
  width: 38px; height: 38px; border-radius: 999px; background: var(--green-50); color: var(--tw-accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-row a { color: var(--ink); font-weight: 500; }
.contact-row a:hover { color: var(--tw-accent); }
.contact-row .key { font: 600 11px/1 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase; color: var(--fg-3); display: block; margin-bottom: 3px; }
.contact-row .val { font-size: 15px; color: var(--ink); }

.contact-map {
  height: 240px; border-radius: 14px; background:
    linear-gradient(135deg, #e6ebef 0%, #cdd6e0 100%);
  display: grid; place-items: center; color: var(--fg-2); font-size: 14px;
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
}
.contact-map::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(26,39,68,0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(26,39,68,0.06) 39px 40px);
}
.contact-map .pin {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.contact-map .pin .map-pin-icon {
  width: 48px; height: 48px; border-radius: 999px 999px 999px 4px;
  background: var(--tw-accent); transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(46,125,50,0.45);
}
.contact-map .pin .map-pin-icon::after { content: ""; width: 16px; height: 16px; border-radius: 999px; background: #fff; transform: rotate(45deg); }
.contact-map .label-mini { font-size: 13px; color: var(--ink); font-weight: 600; background: rgba(255,255,255,0.9); padding: 5px 10px; border-radius: 999px; }

/* ============ DOC CHECKLIST (Kontakt) ============ */
.doc-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.doc-checklist .doc-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; font-size: 15px; color: var(--ink); }
.doc-checklist .doc-item .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.doc-checklist .doc-item strong { display: block; color: var(--ink); }
.doc-checklist .doc-item small { font-size: 13px; color: var(--fg-2); display: block; margin-top: 2px; }

/* ============ FAQ GRID (static 2x2 on subpages) ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-grid-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 28px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.faq-grid-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-grid-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35;
  color: var(--navy-900); margin: 0;
}
.faq-grid-card p {
  font-size: 15px; line-height: 1.7; color: var(--fg-2); margin: 0;
}

/* ============ HERO TRUST — large variant ============ */
.hero-trust--lg { gap: 28px 32px; margin-top: 44px; font-size: 16px; color: rgba(255,255,255,0.92); }
.hero-trust--lg .item { font-weight: 500; }
.hero-trust--lg .item .ic { width: 28px; height: 28px; background: rgba(63,146,68,0.25); color: var(--green-500); }

/* ============ OPERATOR TRUST BAR ============ */
.op-bar { padding: 56px 0; background: #fff; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.op-bar-eyebrow {
  text-align: center; font: 600 13px/1.4 var(--font-ui); letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--fg-2); margin: 0 0 28px;
}
.op-bar-list { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.op-bar-logo {
  background: #f0f1f3; border-radius: 8px; padding: 0 22px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px;
  font: 700 16px/1 var(--font-display); letter-spacing: 0.06em;
  color: var(--gray-600);
}
.op-bar-foot {
  text-align: center; font: italic 400 13px/1.5 var(--font-ui); color: #94a3b8;
  margin: 22px 0 0;
}

/* ============ LEAD FORM — urgency ============ */
.lead-urgency {
  font: 600 13px/1.45 var(--font-ui); color: #ef5350; margin: 16px 0 10px;
  text-align: center; padding: 12px 14px;
  background: rgba(239,83,80,0.06); border: 1px solid rgba(239,83,80,0.18);
  border-radius: 10px;
}

/* ============ NO-RISK / GWARANCJA ============ */
.norisk { padding: 112px 0; }
.norisk-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1040px; margin: 0 auto;
}
.norisk-item { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 0 12px; }
.norisk-icon {
  width: 88px; height: 88px; border-radius: 999px;
  background: rgba(63,146,68,0.14);
  color: #81c784; display: grid; place-items: center;
}
.norisk-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; margin: 0; line-height: 1.25; }
.norisk-item p { color: rgba(255,255,255,0.78); font-size: 15.5px; line-height: 1.65; margin: 0; max-width: 280px; }
.norisk-foot {
  text-align: center; margin: 48px 0 0;
  color: rgba(255,255,255,0.55); font-size: 14.5px;
}

/* ============ WYROK TK — larger padding/font ============ */
.tk-card { padding: 36px 36px; gap: 18px; }
.tk-card p { font-size: 16px; line-height: 1.7; }
.tk-card h3 { font-size: 24px; }

/* ============ CASE STUDY QUOTE ============ */
.case-quote {
  margin: 60px auto 0; max-width: 720px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 16px;
}
.case-quote-mark {
  font-family: var(--font-display); font-size: 80px; line-height: 0.6;
  color: var(--tw-accent); font-weight: 700; margin-bottom: -4px;
}
.case-quote blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 20px; line-height: 1.5; color: var(--navy-900); text-wrap: balance;
}
.case-quote figcaption { font-size: 14px; color: var(--fg-2); margin-top: 6px; }

/* ============ EXPERT SECTION ============ */
.expert-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.expert-photo-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.expert-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 14px;
  background: linear-gradient(160deg, #cdd6e0 0%, #b2bccc 100%);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.expert-photo .placeholder-label {
  position: absolute; bottom: 12px; left: 12px;
  font: 600 10px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(15,23,42,0.55); background: rgba(255,255,255,0.85);
  padding: 6px 10px; border-radius: 999px;
}
.expert-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy-900); margin-top: 4px; }
.expert-role { font-size: 14px; color: var(--fg-2); margin-top: 3px; }

.expert-body h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.25;
  color: var(--navy-900); margin: 0 0 22px; letter-spacing: -0.01em; text-wrap: balance;
}
.expert-body > p { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0 0 16px; }
.expert-cta {
  margin-top: 24px; padding: 22px 26px; background: var(--green-50);
  border: 1px solid var(--green-100); border-radius: 10px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.expert-cta-text { flex: 1; min-width: 260px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.expert-cta-text strong { color: var(--navy-900); font-weight: 700; }
.expert-cta .btn { flex-shrink: 0; }

/* ============ FINAL CTA — phone+mail row ============ */
.final-cta-contact { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.final-cta-contact-lead { font-size: 13px; color: rgba(255,255,255,0.55); margin: 0; }
.final-cta-contact-row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.final-cta-contact-row a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.72); font-size: 14.5px; text-decoration: none;
  transition: color var(--dur-fast);
}
.final-cta-contact-row a:hover { color: #fff; text-decoration: underline; }

/* ============ WHY NOT KNOWN ============ */
.why-not-known { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.why-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.why-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.why-points li .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--tw-accent); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.why-prose p { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 16px; }
.why-prose p:last-child { margin-bottom: 0; }

/* ============ FAQ TABS (page-level) ============ */
.faq-tabs-bar {
  position: sticky; top: 76px; z-index: 30;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.faq-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.faq-tab {
  background: var(--gray-100); border: 1px solid transparent; border-radius: 8px;
  padding: 10px 16px; font: 600 14px/1 var(--font-ui); color: var(--ink);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.faq-tab:hover { background: var(--gray-200); }
.faq-tab.is-active { background: var(--tw-accent); color: #fff; border-color: var(--tw-accent); box-shadow: 0 4px 10px rgba(46,125,50,0.22); }

/* Category section header — tighter for FAQ page */
.faq-cat-head { margin-bottom: 32px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.faq-cat-head .eyebrow { color: var(--tw-accent); margin-bottom: 10px; display: inline-block; }
.faq-cat-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--ink); margin: 0; letter-spacing: -0.01em; }

/* Reuse existing .faq-list / .faq-item — but center & cap width */
.faq-cat { padding: 80px 0; scroll-margin-top: 150px; }
.faq-cat .faq-list { max-width: 800px; margin: 0 auto; }

/* FAQ page CTA bottom */
.faq-cta-final { padding: 96px 0; text-align: center; background: linear-gradient(165deg, #1a2744 0%, #213056 55%, #2a3a5c 100%); color: #fff; position: relative; overflow: hidden; }
.faq-cta-final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(46,125,50,0.14), transparent 60%); }
.faq-cta-final .container { position: relative; z-index: 1; max-width: 840px; }
.faq-cta-final h2 { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1.15; color: #fff; margin: 0 0 18px; text-wrap: balance; }
.faq-cta-final p { font-size: 17px; color: rgba(255,255,255,0.82); margin: 0 0 32px; line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto; }
.faq-cta-final .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ RESPONSIVE — additions ============ */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; align-items: center; justify-content: center; }
  .hdr-cta .btn { padding: 11px 16px; font-size: 14px; }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }

  .sub-hero { padding: 48px 0 64px; }
  .sub-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .sub-hero-photo { max-width: 560px; margin: 0 auto; }
  .sub-hero-h1 { font-size: 32px; }

  .hook p { font-size: 24px; line-height: 1.32; }

  .lead-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lead-form-stamp { width: 96px; height: 96px; top: -22px; right: -8px; }

  .tk-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-meta { grid-template-columns: 1fr; gap: 12px; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .case-grid--c2, .case-grid--c3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .norisk-grid { grid-template-columns: 1fr; gap: 36px; max-width: 460px; }
  .norisk { padding: 72px 0; }
  .expert-wrap { grid-template-columns: 1fr; gap: 36px; }
  .expert-photo-col { max-width: 280px; margin: 0 auto; }
  .expert-body h3 { font-size: 22px; }
  .op-bar-logo { min-width: 110px; padding: 0 14px; height: 44px; font-size: 14px; }
  .op-bar-list { gap: 10px; }
  .case-quote blockquote { font-size: 17px; }
  .case-quote-mark { font-size: 60px; }
  .hero-trust--lg { gap: 18px 22px; font-size: 14.5px; }
  .hero-trust--lg .item .ic { width: 24px; height: 24px; }
  .tk-card { padding: 28px 24px; }
  .tk-card p { font-size: 15px; }
  .tk-card h3 { font-size: 20px; }
  .final-cta-contact-row { gap: 16px; }
  .why-not-known { grid-template-columns: 1fr; gap: 36px; }
  .faq-tabs-bar { top: 70px; padding: 10px 0; }
  .faq-tabs { gap: 6px; padding: 0 14px; }
  .faq-tab { padding: 8px 12px; font-size: 13px; }
  .faq-cat { padding: 56px 0; }
  .faq-cat-head h2 { font-size: 24px; }
  .faq-cta-final h2 { font-size: 28px; }
  .operator-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-block { grid-template-columns: 1fr; padding: 24px; }
  .partner-photo { max-width: 280px; }
  .doc-checklist { grid-template-columns: 1fr; }

  .section-head h2 { font-size: 32px; }
  .final-cta h2 { font-size: 36px; }
  .final-cta { padding: 80px 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .rates-table thead th, .rates-table tbody td { padding: 12px 14px; font-size: 14px; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .hdr-inner { padding: 12px 18px; gap: 12px; }
  .hdr-wordmark { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-trust { gap: 14px 22px; }
  .lead-row-2 { grid-template-columns: 1fr; gap: 16px; }
  .devices-grid { grid-template-columns: 1fr; }
  .hook p { font-size: 21px; }
  .section-head h2 { font-size: 28px; }
  .final-cta h2 { font-size: 30px; }
  .case-amount { font-size: 32px; }
  .lead-form { padding: 28px 22px; }
  .step-card, .why-card { padding: 26px 22px; }
}
