/*
  EquipB2B - style wspólne
  Edytuj tutaj elementy wspólne dla mobile i desktopu: kolory, fonty, przyciski, karty, podstawowy układ.
*/

:root {
  --bg: #07111f;
  --panel: rgba(14, 26, 44, 0.72);
  --panel-strong: #0f1d31;
  --text: #ecf3ff;
  --muted: #a8b6cf;
  --accent: #6aa7ff;
  --accent-2: #73f0d2;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --card-bg: rgba(255, 255, 255, 0.035);
  --card-bg-strong: rgba(255, 255, 255, 0.045);
  --field-bg: rgba(255, 255, 255, 0.04);
  --field-border: rgba(255, 255, 255, 0.1);
  --focus-ring: 0 0 0 4px rgba(106, 167, 255, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 121, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(115, 240, 210, 0.12), transparent 20%),
    linear-gradient(180deg, #06101b 0%, #081321 50%, #09182a 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.glass {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.orb-1 {
  top: 80px;
  left: -120px;
  background: #2b5ecf;
}

.orb-2 {
  top: 420px;
  right: -120px;
  background: #00bfa5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 13, 25, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.footer-logo {
  display: block;
  width: auto;
}

.brand-logo {
  height: 34px;
}

.footer-logo {
  height: 42px;
  margin-bottom: 0;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.btn,
.remove-row,
.tax-toggle-tab,
.form-modal-close,
.remove-file-btn,
.file-drop-zone,
.faq-item summary {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), #8dc4ff);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-small {
  padding: 11px 16px;
  font-size: 0.92rem;
}

.full {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(115, 240, 210, 0.1);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.left,
.quote-section-head {
  margin-bottom: 22px;
}

.section-head h2,
.hero h1,
.contact-section h2,
.process-grid h2,
.faq-page-head h1 {
  margin: 16px 0 12px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(2.9rem, 5vw, 5.2rem);
}

.section-head h2,
.contact-section h2,
.process-grid h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.faq-page-head h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-head p,
.hero-lead,
.process-grid p,
.form-anchor-head p,
.quote-choice-card p,
.contact-section p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.section-head p,
.hero-lead,
.process-grid p,
.form-anchor-head p {
  max-width: 66ch;
  font-size: 1.05rem;
}

.text-link-inline,
.consent-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero {
  padding-top: 86px;
  padding-bottom: 34px;
}

.hero-grid,
.process-grid,
.partners-wrap,
.support-grid {
  display: grid;
  align-items: start;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
}

.process-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
}

.partners-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.support-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 32px;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card,
.support-card,
.quote-form,
.contact-card,
.strip-card,
.feature-card,
.partner-card,
.reason-card {
  border-radius: var(--radius-md);
}

.hero-card {
  padding: 28px;
}

.status-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(106, 167, 255, 0.14);
  color: #b9d7ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-card h3 {
  margin: 18px 0 10px;
  font-size: 1.4rem;
}

.hero-actions,
.faq-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0 24px;
}

.faq-page-actions {
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 10px 0 32px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.hero-points span::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent-2);
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-points span:hover {
  color: var(--accent-2);
}

.check-list,
.number-list,
.quote-choice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.quote-choice-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 30px;
}

.check-list li::before,
.quote-choice-list li::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(115, 240, 210, 0.14);
  color: var(--accent-2);
  font-size: 0.9rem;
}

.compact li {
  margin: 12px 0;
}

.number-list {
  counter-reset: item;
}

.number-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 38px;
  counter-increment: item;
}

.number-list li::before {
  content: counter(item);
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(106, 167, 255, 0.16);
  color: #d5e7ff;
  font-weight: 700;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.mini-metrics > div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-metrics strong {
  display: block;
  font-size: 1.4rem;
}

.mini-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.strip {
  padding-top: 18px;
}

.strip-grid,
.why-grid,
.feature-grid,
.quote-choice-grid {
  display: grid;
  gap: 18px;
}

.strip-grid,
.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.strip-card,
.feature-card,
.partner-card,
.reason-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.strip-card h3,
.feature-card h3,
.partner-card h3,
.reason-card h3 {
  margin: 0 0 10px;
}

.feature-card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(106, 167, 255, 0.18), rgba(115, 240, 210, 0.18));
  color: #dff1ff;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-item > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(106, 167, 255, 0.14);
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 4px 0 8px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.partner-grid {
  display: grid;
  gap: 18px;
}

.partner-cta-block {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.role {
  margin-top: -4px;
  color: #b8d4ff;
  font-weight: 700;
}

.process-area-card .role {
  margin-bottom: 10px;
}

.process-area-card p:last-child {
  margin-bottom: 0;
}

.quote-section-head {
  max-width: 780px;
}

.quote-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-option,
.quote-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.028));
  box-shadow: 0 18px 40px rgba(5, 12, 24, 0.14);
}

.quote-choice-card--primary {
  border-color: rgba(115, 240, 210, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.quote-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.download-option-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8e7ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-card-meta {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.quote-choice-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.quote-choice-card p {
  margin: 0 0 18px;
  line-height: 1.68;
}

.quote-choice-list {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}

.quote-choice-card .btn,
.download-option .btn {
  width: 100%;
  margin-top: auto;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.form-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.68);
  backdrop-filter: blur(10px);
}

.form-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(90vh, 960px);
  overflow: auto;
  border-radius: var(--radius-lg);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.form-modal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.form-modal-form {
  position: relative;
  margin: 0;
}

.form-modal-close {
  position: sticky;
  top: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: -42px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.form-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.quote-form {
  width: 100%;
  max-width: none;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(10, 18, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.form-anchor-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-right: 56px;
}

.form-anchor-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.field-note {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: 16px;
  color: var(--text);
  background: var(--field-bg);
}

input::placeholder,
textarea::placeholder {
  color: #91a4c4;
}

input:focus,
textarea:focus,
.remove-row:focus-visible,
.tax-toggle-tab:focus-visible,
.form-modal-close:focus-visible,
.remove-file-btn:focus-visible,
.file-drop-zone:focus-within,
.btn:focus-visible,
.faq-item summary:focus-visible {
  outline: none;
  border-color: rgba(106, 167, 255, 0.6);
  box-shadow: var(--focus-ring);
}

.quote-form input[type='number']::-webkit-inner-spin-button,
.quote-form input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quote-form input[type='number'] {
  -moz-appearance: textfield;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.table-like {
  display: grid;
  gap: 10px;
}

.table-head,
.table-row {
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: minmax(0, 1.8fr) 92px 220px 88px;
}

.table-head {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-head > span:nth-child(2),
.table-head > span:nth-child(4) {
  white-space: nowrap;
}

.table-row {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.table-row input {
  min-width: 0;
}

.remove-row {
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #ffd2d2;
  background: rgba(255, 255, 255, 0.06);
}

.remove-row:hover {
  background: rgba(255, 80, 80, 0.18);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.total-box {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #d7e4fa;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.total-box strong {
  white-space: nowrap;
}

.tax-toggle-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tax-slider-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #8dc4ff);
  box-shadow: 0 4px 12px rgba(106, 167, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tax-toggle-wrap[data-active-mode='brutto'] .tax-slider-pill {
  transform: translateX(100%);
}

.tax-toggle-tab {
  position: relative;
  z-index: 1;
  min-width: 96px;
  padding: 12px 18px;
  border: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.tax-toggle-tab.is-active {
  color: #07111f;
}

.file-drop-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 40px 20px;
  overflow: hidden;
  border: 2px dashed rgba(106, 167, 255, 0.3);
  border-radius: 16px;
  background: rgba(106, 167, 255, 0.04);
  text-align: center;
  cursor: pointer;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: rgba(106, 167, 255, 0.6);
  background: rgba(106, 167, 255, 0.08);
}

.file-drop-zone input[type='file'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-text {
  display: block;
  margin-bottom: 6px;
  color: #dff1ff;
  font-size: 1rem;
  font-weight: 600;
}

.file-drop-subtext {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(106, 167, 255, 0.12);
  border-radius: 12px;
  background: rgba(106, 167, 255, 0.06);
  color: #dff1ff;
  font-size: 0.9rem;
}

.remove-file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #ffbaba;
  background: rgba(255, 255, 255, 0.08);
}

.remove-file-btn:hover {
  color: #ffdede;
  background: rgba(255, 50, 50, 0.25);
}

.checkbox-field {
  margin-bottom: 22px;
}

.consent-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.consent-check input {
  position: absolute;
  inset: 14px auto auto 16px;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
}

.consent-box {
  display: inline-block;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  background: rgba(11, 24, 40, 0.92);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

.consent-copy {
  margin: 0;
  line-height: 1.55;
}

.consent-check input:focus-visible + .consent-box {
  box-shadow: var(--focus-ring);
  border-color: rgba(106, 167, 255, 0.7);
}

.consent-check input:checked + .consent-box {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #8dc4ff);
  box-shadow: 0 8px 18px rgba(106, 167, 255, 0.28);
}

.consent-check input:checked + .consent-box::after {
  content: '';
  display: block;
  width: 6px;
  height: 11px;
  margin: 3px 0 0 8px;
  border: solid #07111f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.process-areas-section {
  padding-bottom: 44px;
}

.contact-section {
  margin-top: 0;
  padding-top: 56px;
}

.contact-section .eyebrow + h2,
.contact-section p {
  max-width: 58ch;
}

.support-card {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  padding: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.contact-card {
  display: grid;
  gap: 0;
}

.contact-card-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-row span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
}

.contact-row strong {
  flex: 0 0 auto;
  max-width: 52%;
  text-align: right;
}

.contact-card .btn {
  margin-top: 10px;
}

.faq-page-grid,
.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  position: relative;
  padding: 18px 28px 18px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 15px;
  right: 0;
  color: var(--accent-2);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.toast-notification {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid rgba(115, 240, 210, 0.3);
  border-radius: 16px;
  background: rgba(10, 18, 31, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(115, 240, 210, 0.3);
  border-radius: 50%;
  background: rgba(115, 240, 210, 0.15);
  color: var(--accent-2);
  font-size: 1.1rem;
  font-weight: 700;
}

.toast-content strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 1rem;
}

.toast-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}










/* --- ANIMACJE NAGŁÓWKA (EFEKT WYPYCHANIA - POPRAWIONY) --- */
.animated-hero-title {
  display: grid;
  overflow: hidden; 
  padding-bottom: 8px;
}

.animated-hero-title span {
  grid-area: 1 / 1;
}

/* Pierwsze zdanie - widoczne na start */
.animated-hero-title span:nth-child(1) {
  animation: textPush1 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Drugie zdanie - ukryte na start, czeka na górze */
.animated-hero-title span:nth-child(2) {
  animation: textPush2 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes textPush1 {
  0%, 45% { opacity: 1; transform: translateY(0); }       /* Startuje widoczne i czeka */
  50% { opacity: 0; transform: translateY(40px); }        /* Zjeżdża w dół */
  51%, 95% { opacity: 0; transform: translateY(-40px); }  /* Przeskakuje na górę i czeka (niewidoczne) */
  100% { opacity: 1; transform: translateY(0); }          /* Wraca na miejsce, wypychając drugi tekst */
}

@keyframes textPush2 {
  0%, 45% { opacity: 0; transform: translateY(-40px); }   /* Ukryte na górze przez pierwsze 4 sekundy */
  50%, 95% { opacity: 1; transform: translateY(0); }      /* Wjeżdża na środek (gdy tekst 1 spada) i zostaje */
  100% { opacity: 0; transform: translateY(40px); }       /* Spada na sam koniec cyklu */
}
/* --- ANIMACJA PRZYCISKU: ELEGANCKI BŁYSK --- */
.btn-pulse {
  position: relative;
  overflow: hidden; /* Zatrzymuje błysk wewnątrz przycisku */
}

.btn-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: shine-sweep 6s infinite;
}

@keyframes shine-sweep {
  0%, 70% { left: -150%; }   /* Przycisk czeka w spokoju przez większość czasu */
  85%, 100% { left: 200%; }  /* Szybki, płynny błysk przebiegający przez całą szerokość */
}
/* --- SEKCJA O NAS / ZESPÓŁ (FINAŁOWA OPTYMALIZACJA I KADROWANIE) --- */


.team-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch; 
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
}

.team-card {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 440px; 
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106, 167, 255, 0.3);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(106, 167, 255, 0.08);
}

.team-photo-wrap {
  width: clamp(130px, 15vw, 160px);
  height: clamp(130px, 15vw, 160px);
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden; 
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Wypełnia okrąg zdjęciem */
  border-radius: 50%;
  border: 4px solid var(--bg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* object-position zostanie nadpisane przez klasy poniżej */
}

.team-card:hover .team-photo {
  transform: scale(1.08);
}

.team-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.team-card .role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-2); 
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  flex-grow: 1;
  
  /* Ukrywa tekst domyślnie */
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rozwija tekst po najechaniu na kartę */
.team-card:hover .team-desc {
  max-height: 350px;
  opacity: 1;
  margin: 16px 0 32px 0;
}

.team-btn {
  width: 100%; 
}

/* --- PRECYZYJNE KADROWANIE INDYWIDUALNE --- */

/* Dla Mateusza: object-position: 50% 10% mówi, aby wyrównać środek poziomy (50%) 
   i przesunąć zdjęcie tak, by góra (10% od górnej krawędzi) była widoczna. 
   To zapewni, że włosy nie zostaną obcięte przez okrąg. */
.team-photo.mateusz-photo {
  object-position: 50% 10%; 
}

/* Dla Adriana: Adrian ma więcej przestrzeni u góry, więc object-position: 50% 5% 
   przesuwa portret jeszcze odrobinę wyżej, aby wyrównać go wizualnie z Mateuszem. */
.team-photo.adrian-photo {
  object-position: 50% 5%; 
}