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

/* PALETA KOLORÓW – MEDYCZNA MORSKA ZIELEŃ */
:root {
  --primary: #0d9488;
  /* główny teal */
  --primary-dark: #0f766e;
  /* ciemniejszy teal (nagłówki, paski) */
  --primary-soft: #e0f2f1;
  /* jasne tło podkreślające */
  --primary-soft-strong: #ccfbf1;
  /* mocniejsze jasne tło / hover */
  --primary-border: #99f6e4;
  /* delikatne obramowania */
  --header-height: 70px;
  --info-bar-height: 56px;
}

/* HEADER – fixed na górze */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d9488;
  /* primary */
  letter-spacing: -0.2px;
}

.logo img {
  display: block;
}

/* === HAMBURGER – NOWE STYLE === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ANIMACJA HAMBURGERA (krzyżyk) */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body {
  padding-top: var(--header-height);
  /* dostosuj jeśli header jest wyższy */
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #f7f7f9;
}

body.has-info-bar {
  padding-top: calc(var(--header-height) + var(--info-bar-height));
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER CONTENT */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.logo a {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.main-nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
}

.main-nav a.nav-highlight {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.main-nav a:first-child {
  margin-left: 0;
}

/* MAIN PAGE LAYOUT */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.5rem;
  /* góra | boki | dół */
}

.page h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #111827;
}

/* WSPÓLNE INTRO NA PODSTRONACH */

.intro {
  max-width: 100% !important;
  color: #555;
  margin-bottom: 1rem;
}

/* HERO */

.hero {
  padding: 0.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
}

.hero p.subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* IMAGE */

.hero-image {
  width: 100%;
  max-width: 590px;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  background: #ffffff;
  text-decoration: none;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* STATS */

.stats {
  padding: 1.5rem 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.stat-box {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.9rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.82rem;
  color: #555;
}

/* SECTIONS – GLOBAL */

.section {
  padding: 0 0.5rem;
  background: transparent;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.section p {
  max-width: 750px;
  color: #555;
}

/* FOOTER */

.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 1.7rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--primary-soft-strong);
}

.footer-copy {
  flex-basis: 100%;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* RESPONSIVE – GLOBAL */

/* === RESPONSYWNOŚĆ – MOBILE HEADER + MENU === */
@media (max-width: 800px) {

  /* HERO */
  .hero-grid {
    grid-template-columns: 1fr;
  }

  /* STATY */
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* HEADER – tryb mobilny */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  /* POKAŻ HAMBURGERA */
  .hamburger {
    display: flex;
  }

  /* MOBILE MENU POD HEADEREM */
  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    display: none;
    flex-direction: column;
    padding: 0.8rem 0;
    text-align: center;
    gap: 0.5rem;
    z-index: 998;
  }

  .main-nav a {
    margin-left: 0;
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .main-nav a.nav-highlight {
    margin: 0 1.4rem;
    border-radius: 999px;
  }

  .main-nav.open {
    display: flex;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* FEATURES */

.section-features .features-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: #555;
}

/* STEPS */

.steps {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 0.9rem;
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.step-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* CTA */

.section-cta {
  background: #ffffff;
  margin-top: 2.5rem;
    padding: 2rem 0;
}

.section-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

/* RESPONSIVE DODATKI */

@media (max-width: 900px) {
  .section-features .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section-features .features-grid {
    grid-template-columns: 1fr;
  }
}

/* CENNIK */

.pricing-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.price {
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
  color: var(--primary);
  font-weight: 700;
}

.price-small {
  font-size: 1rem;
  color: #333;
}

.pricing-list {
  margin-top: 1rem;
  padding-left: 1.3rem;
  color: #333;
}

.pricing-list li {
  margin-bottom: 0.4rem;
}

.pricing-extra h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}

.cta-text {
  margin-top: 1.2rem;
  font-weight: 600;
}

/* IKONKI PRZY FUNKCJACH */

.function-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.function-heading span {
  display: inline-flex;
  align-items: center;
}

.function-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--primary);
}

/* listy w funkcjach */

.function-block ul {
  margin-top: 0.4rem;
  padding-left: 1.3rem;
}

.function-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.8rem;
}

.function-columns h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

@media (max-width: 800px) {
  .function-columns {
    grid-template-columns: 1fr;
  }
}

.highlight-text {
  background: var(--primary-soft);
  padding: 1rem;
  border-radius: 0.7rem;
  margin-top: 1rem;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
}

/* PRACA ZDALNA – NOWY UKŁAD */

.section-remote {
  background: transparent;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.remote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: flex-start;
}

.remote-text>p+p {
  margin-top: 0.75rem;
}

.remote-highlight-list {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: #f4f7fb;
}

.remote-highlight-list h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.remote-list {
  margin-top: 0.7rem;
  padding-left: 1.3rem;
}

.remote-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.remote-figure {
  margin: 0;
  text-align: center;
}

.remote-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.remote-figure figcaption {
  font-size: 0.8em;
  margin-top: 0rem;
  color: #666;
}

.remote-card {
  padding: 1.5rem;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.remote-card h3 {
  margin-top: 0;
}

.remote-card ul {
  padding-left: 1.2rem;
}

.remote-cta {
  margin-top: 1rem;
}

.remote-highlight {
  background: #f1f5f9;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
  font-size: 0.95rem;
}

.remote-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.remote-highlight ul {
  margin-top: 0.4rem;
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .remote-grid {
    grid-template-columns: 1fr;
  }
}

/* SECURITY – NOWY UKŁAD KART */

.section-security {
  padding-top: 0;
  padding-bottom: 3.5rem;
  background: #f7f8fb;
}

.security-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.security-header h2 {
  margin-bottom: 0.75rem;
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.security-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.security-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  margin-bottom: 0.5rem;
}

.security-icon svg {
  width: 22px;
  height: 22px;
}

.security-card h3 {
  margin: 0;
}

.security-card .security-list {
  margin-top: 0.4rem;
}

/* FAQ */

.faq-search {
  flex: 1;
  min-width: 220px;
}

.faq-search input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.faq-services-section {
  margin: 2rem 0;
}

.faq-services-section>h2 {
  margin-bottom: 0.6rem;
}

.faq-services-section>p {
  color: #4b5563;
  max-width: 78ch;
}

.faq-services-section .pricing-box {
  margin-top: 1rem;
  margin-bottom: 0;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.faq-services-section .pricing-box h3 {
  margin-top: 0;
}

.faq-services-section .pricing-list {
  color: #374151;
}

.faq-services-section .pricing-note {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* KONTAKT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.contact-form-row {
  margin-bottom: 0.85rem;
}

.contact-form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #374151;
}

.contact-form-row input,
.contact-form-row select,
.contact-form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

.contact-sidebar-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-sidebar-card h2,
.contact-sidebar-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-sidebar-card p {
  margin: 0.15rem 0;
}

.contact-sidebar-card .label {
  font-weight: 600;
}

.contact-sidebar-card ul {
  padding-left: 1.1rem;
  margin: 0.2rem 0 0.4rem;
}

.contact-sidebar-card strong {
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* DO POBRANIA */

.download-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.download-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.6rem;
}

.download-manuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.download-manual {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
}

.download-manual h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.section-download-warning {
  margin-top: 0rem;
}

.download-warning {
  background: #fefce8;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid #f59e0b;
  font-size: 0.9rem;
  color: #78350f;
}

.download-warning ul {
  margin-top: 0.6rem;
  padding-left: 1.3rem;
}

@media (max-width: 900px) {
  .download-manuals {
    grid-template-columns: 1fr;
  }

  .security-cards {
    grid-template-columns: 1fr;
  }

  .security-header {
    text-align: left;
  }
}

/* INFO BAR – pasek komunikatów pod menu */

.info-bar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.9rem;
  height: var(--info-bar-height);
  overflow: hidden;
}

.info-bar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.info-bar-label {
  font-weight: 600;
  opacity: 0.9;
}

.info-bar-message {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  font-weight: 500;
}

.info-bar-text {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
  line-height: 1.25;
}

.info-bar,
.info-bar-message {
  transition: opacity 0.3s ease;
}

.info-bar-fade-out .info-bar-message {
  opacity: 0;
}

.info-more-button {
  flex: 0 0 auto;
  white-space: nowrap;
  border: none;
  background: transparent;
  color: var(--primary-soft-strong);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.info-more-button:hover {
  color: #ffffff;
}

.info-popup {
  position: fixed;
  top: calc(var(--header-height) + var(--info-bar-height));
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 3rem));
  z-index: 996;
  background: #ffffff;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  padding: 1rem 1.25rem 1.1rem;
  border-top: 1px solid #e5e7eb;
  margin: 0;
  font-size: 0.9rem;
  color: #111827;
}

.info-popup-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.info-popup-date {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.info-popup-body {
  margin: 0 0 0.9rem;
  color: #374151;
}

.info-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.info-popup-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: underline;
}

.info-popup-close {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.info-popup-close:hover {
  background: #e5e7eb;
}

@media (max-width: 800px) {
  .info-popup {
    border-radius: 0;
    width: 100%;
    left: 0;
    right: 0;
    transform: none;
  }
}

.info-next-button {
  flex: 0 0 auto;
  white-space: nowrap;
  border: none;
  background: transparent;
  color: var(--primary-soft-strong);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0.2rem;
  margin-left: 0.4rem;
}

.info-next-button:hover {
  color: #ffffff;
}

/* KATALOG LEKÓW */

.section-drugs {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.drugs-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.9rem;
  background: var(--primary-soft);
  border-radius: 0.75rem;
  font-size: 0.9rem;
}

.drugs-page-info {
  color: #111827;
  font-weight: 500;
}

.drugs-page-info span {
  font-weight: 600;
}

.drugs-page-size {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #374151;
}

.drugs-page-size label {
  margin: 0;
}

.drugs-select-wrapper,
.changelog-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.drugs-page-size select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.3rem 1.6rem 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
  font-size: 0.9rem;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
}

.drugs-page-size select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.35);
}

.drugs-select-arrow {
  position: absolute;
  right: 0.6rem;
  pointer-events: none;
  font-size: 0.75rem;
  color: #6b7280;
}

.drugs-table-wrapper {
  background: #ffffff;
  border-radius: 0.9rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
}

.drugs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.drugs-table th,
.drugs-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.drugs-table thead th {
  background: #f9fafb;
  font-weight: 600;
  white-space: nowrap;
}

.drugs-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.drugs-table tbody tr:hover {
  background: var(--primary-soft-strong);
}

.drugs-muted {
  color: #9ca3af;
}

.drugs-pagination {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.drugs-pagination .btn {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

@media (max-width: 800px) {
  .drugs-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .drugs-pagination {
    justify-content: flex-start;
  }
}

/* HISTORIA ZMIAN */

.section-changelog {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.changelog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.changelog-page-info {
  color: #374151;
}

.changelog-page-size label {
  margin-right: 0.4rem;
}

.changelog-select-wrapper select {
  padding: 0.3rem 1.6rem 0.3rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  background: #ffffff;
  appearance: none;
}

.changelog-select-arrow {
  position: absolute;
  right: 0.4rem;
  pointer-events: none;
  font-size: 0.7rem;
  color: #6b7280;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.changelog-item {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.changelog-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.changelog-version {
  font-weight: 700;
  color: #111827;
}

.changelog-date {
  font-size: 0.85rem;
  color: #6b7280;
}

.changelog-body {
  font-size: 0.9rem;
  color: #374151;
}

.changelog-body ul {
  padding-left: 1.2rem;
  margin: 0.2rem 0 0.4rem;
}

.changelog-body li {
  margin-bottom: 0.15rem;
}

.changelog-footer {
  margin-top: 0.6rem;
}

.changelog-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: underline;
}

.changelog-loading,
.changelog-empty,
.changelog-error {
  font-size: 0.9rem;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px dashed #d1d5db;
}

.changelog-pagination {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.changelog-pagination .btn {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

@media (max-width: 800px) {
  .changelog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .changelog-pagination {
    justify-content: flex-start;
  }
}

/* FUNKCJE */

.function-block {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.2rem;
}

.function-block h2,
.function-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.function-block p {
  margin: 0.2rem 0 0.5rem;
  color: #374151;
}

.function-block ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.4rem;
}

.function-block li {
  margin-bottom: 0.2rem;
}

/* POMOC / FAQ */

.support-grid {
  margin-top: 0rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.support-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: #555;
}

.support-list li {
  margin-bottom: 0.45rem;
}

.support-box {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

.support-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.support-box p {
  margin: 0.25rem 0;
  color: #374151;
}

.support-box ul {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

.support-box li {
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* POPUP OVERLAY */
#drug-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
}

/* OKNO POPUP */
.drug-detail-window {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 4px solid var(--primary);
}

.drug-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.drug-detail-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}

.drug-detail-close-x {
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  background: transparent;
  border: none;
  color: #555;
}

.drug-detail-close-x:hover {
  color: #111;
}

.drug-detail-body {
  padding: 1rem 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.drug-detail-footer {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  text-align: right;
}

@media (max-width: 600px) {
  .drug-detail-window {
    border-radius: 0.8rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  max-width: 380px;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  border-top: 4px solid var(--primary);
}

.cookie-banner-inner {
  padding: 1rem 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cookie-banner-text p {
  margin: 0;
  color: #374151;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-options {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cookie-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #374151;
}

.cookie-options input[type="checkbox"] {
  accent-color: var(--primary);
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
  justify-content: flex-end;
}

#cookie-accept-all {
  flex: 1 1 auto;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

#cookie-save {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 0.85rem;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

#cookie-save:hover {
  color: #111827;
}

.cookie-banner-buttons .btn {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}

@media (max-width: 700px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }

  .cookie-banner-buttons {
    justify-content: flex-start;
  }
}

/* MODAL – polityka prywatności / cookies */

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.legal-modal-window {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  margin: 3rem auto;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.45);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.legal-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.legal-modal-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.4rem;
  color: #6b7280;
}

.legal-modal-close:hover {
  color: #111827;
}

.legal-modal-body {
  flex: 1;
  min-height: 300px;
  background: #ffffff;
}

.legal-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .legal-modal-window {
    margin: 1.5rem 0.5rem;
    max-height: 90vh;
    border-radius: 0.75rem;
  }
}

.highlight-text {
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid #0d9488;
  padding: 0.9rem 1.2rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.highlight-text strong {
  color: #0d9488;
}

.highlight-text::before {
  content: "⏳";
  font-size: 1.2rem;
  margin-right: 0.4rem;
  vertical-align: -1px;
}

/* ===== DrugsAPI marketing + pricing cards ===== */
.da-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  margin: 0.75rem 0 1.25rem;
  align-items: stretch;
}

.da-badge {
  display: inline-block;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
  margin: 0 0 .75rem;
  font-size: .9rem;
}

.da-hero-title {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0 0 .6rem;
  color: #111827;
}

.da-hero-sub {
  margin: 0 0 .9rem;
  color: #4b5563;
}

.da-hero-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .2rem 0 .6rem;
}

.da-hero-note {
  margin: 0;
  color: #6b7280;
  font-size: .9rem;
}

.da-hero-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
  padding: 1rem;
  border: 1px solid #e5e7eb;
  height: 100%;
}

.da-hero-mini {
  display: grid;
  gap: .45rem;
}

.da-mini-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .65rem;
  border-radius: .75rem;
  background: #0b1220;
  color: #e5e7eb;
  overflow: hidden;
}

.da-mini-row span {
  display: inline-flex;
  font-weight: 700;
  font-size: .8rem;
  background: rgba(255, 255, 255, .1);
  padding: .12rem .45rem;
  border-radius: 999px;
}

.da-mini-row code {
  color: #e5e7eb;
  font-size: .85rem;
  white-space: nowrap;
}

.da-usecases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: .75rem;
}

.da-usecase {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.da-usecase h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
}

.da-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.da-pricing-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.da-pricing-card-featured {
  border-color: var(--primary-border);
  box-shadow: 0 14px 32px rgba(13, 148, 136, .10);
}

.da-pricing-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
}

.da-pricing-plan {
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
  letter-spacing: .2px;
}

.da-pricing-price {
  font-weight: 800;
  color: var(--primary-dark);
  text-align: right;
  min-width: 140px;
}

.da-pricing-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
  display: grid;
  gap: .25rem;
}

.da-pricing-list li {
  margin: 0;
}

.da-pricing-cta {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.da-muted {
  color: #6b7280;
}

@media (max-width: 900px) {
  .da-hero {
    grid-template-columns: 1fr;
  }

  .da-usecases {
    grid-template-columns: 1fr;
  }

  .da-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* DrugsAPI dashboard */

#da-usage-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: .75rem 1rem;
  border-radius: .75rem;
  margin-top: .75rem;
  font-size: .9rem;
}

#da-api-key,
#da-trial-email,
#da-renew-email-basic,
#da-renew-email-pro,
#da-upgrade-email-pro,
#da-renew-email-pro2 {
  width: 100%;
  padding: .55rem .75rem;
  border-radius: .75rem;
  border: 1px solid #d1d5db;
  font-size: .9rem;
  transition: all .2s ease;
  background: #fff;
}

#da-api-key:focus,
#da-trial-email:focus,
#da-renew-email-basic:focus,
#da-renew-email-pro:focus,
#da-upgrade-email-pro:focus,
#da-renew-email-pro2:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

#da-renew-duration-basic,
#da-renew-duration-pro,
#da-renew-duration-pro2 {
  width: 100%;
  padding: .52rem .75rem;
  border-radius: .75rem;
  border: 1px solid #d1d5db;
  font-size: .9rem;
  background: #fff;
}

#da-renew-duration-basic:focus,
#da-renew-duration-pro:focus,
#da-renew-duration-pro2:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

#da-usage-cards .drugs-toolbar {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

#da-usage-cards .pricing-extra {
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

#da-usage-cards .pricing-extra h3 {
  margin-top: 0;
  margin-bottom: .35rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .45px;
  color: #6b7280;
}

#da-usage-cards .pricing-extra .intro {
  margin: 0;
  color: #111827;
}

#da-usage-cards .pricing-extra .intro b {
  font-size: 1.35rem;
  font-weight: 800;
}

#da-plan-actions {
  margin-top: 1.25rem;
}

#da-plan-actions>.pricing-extra {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
}

#da-renew-info>div {
  border-radius: 1rem !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #e5e7eb !important;
}

#da-renew-info button.btn-primary {
  width: 100%;
  margin-top: .6rem;
}

#da-renew-info .btn-primary:hover {
  background: var(--primary-dark);
}

@media (max-width: 900px) {
  #da-usage-cards .drugs-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* DrugsAPI – patch */

.da-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  background: var(--primary);
  color: #fff;
}

.da-pill-soft {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
}

.da-mini-row {
  border: 1px solid rgba(255, 255, 255, .08);
}

.da-mini-row code {
  overflow: hidden;
  text-overflow: ellipsis;
}

.da-usecase .intro {
  margin: .35rem 0 0;
  color: #4b5563;
}

#da-api-key,
#da-trial-email,
#da-renew-email-basic,
#da-renew-email-pro,
#da-upgrade-email-pro,
#da-renew-email-pro2 {
  border-radius: .75rem !important;
  padding: .6rem .8rem !important;
  border: 1px solid #d1d5db !important;
  font-size: .95rem !important;
  background: #fff !important;
  color: #111827 !important;
}

#da-api-key:focus,
#da-trial-email:focus,
#da-renew-email-basic:focus,
#da-renew-email-pro:focus,
#da-upgrade-email-pro:focus,
#da-renew-email-pro2:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, .15) !important;
}

#da-renew-duration-basic,
#da-renew-duration-pro,
#da-renew-duration-pro2 {
  border-radius: .75rem !important;
  border: 1px solid #d1d5db !important;
  padding: .55rem .75rem !important;
  background: #fff !important;
}

#da-renew-duration-basic:focus,
#da-renew-duration-pro:focus,
#da-renew-duration-pro2:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, .15) !important;
}

#da-usage-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: .75rem .95rem;
  border-radius: .75rem;
  margin-top: .75rem;
}

#da-trial-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: .75rem .95rem;
  border-radius: .75rem;
}

#da-usage-cards .drugs-toolbar {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  justify-content: stretch;
}

#da-usage-cards .pricing-extra {
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .05);
}

#da-plan-actions>.pricing-extra {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
}

#da-renew-info>* {
  border-radius: 1rem;
}

#da-renew-info .btn {
  margin-top: .35rem;
}

#da-renew-info .btn-primary:hover {
  background: var(--primary-dark);
}

@media (max-width: 900px) {
  .da-mini-row code {
    font-size: .82rem;
  }

  #da-usage-cards .drugs-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* pricing cards tune */

.da-pricing-plan {
  margin-bottom: 10px;
}

.da-pricing-badge-row {
  width: 100%;
  margin: 8px 0 10px 0;
}

.da-pill-full {
  display: block;
  width: 100%;
  text-align: center;
}

.da-pricing-pricelist {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.da-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.da-pricing-list {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.da-pricing-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
}

.da-pricing-list li b {
  font-weight: 600;
}

.da-pricing-list li span {
  justify-self: end;
  text-align: right;
}

.da-pricing-list li.da-muted {
  grid-template-columns: 1fr;
  justify-self: start;
  margin-top: 6px;
  opacity: 0.75;
}

.da-hero-stats {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.da-hero-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.da-hero-stat-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.da-hero-stat-top b {
  font-size: 0.95rem;
  color: #0f172a;
}

.da-hero-stat-sub {
  font-size: 0.86rem;
  opacity: .75;
  white-space: nowrap;
}

.da-hero-stat-val {
  margin-top: 6px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

@media (max-width: 880px) {
  .da-hero-stats {
    grid-template-columns: 1fr;
  }

  .da-hero-stat-sub {
    white-space: normal;
  }
}

/* =========================
   Miniporadnia – specjalizacje
   ========================= */

.section-specializations {
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
}

.section-lead {
  max-width: 850px;
  margin-bottom: 1rem;
  color: #4b5563;
}

.highlight-text-fast {
  margin-top: 1rem;
  margin-bottom: 1.3rem;
}

.highlight-text-fast::before {
  content: "⚡";
  font-size: 1.2rem;
  margin-right: 0.4rem;
  vertical-align: -1px;
}

.pricing-year-note {
  margin-top: -0.2rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  color: #374151;
}

.pricing-year-note strong {
  color: #111827;
}

.pricing-section {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* =========================
   Miniporadnia – workflow SaaS
   ========================= */

.section-workflow {
  padding-top: 1.2rem;
  padding-bottom: 2.6rem;
}

.workflow-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.workflow-step {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.35rem 1.35rem;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.workflow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
  box-shadow: inset 0 0 0 1px var(--primary-border);
}

.workflow-step h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: #111827;
}

.workflow-step p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #555;
}

.workflow-highlight {
  margin-top: 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid var(--primary-border);
  border-left: 4px solid var(--primary);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  color: #374151;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.workflow-highlight strong {
  color: #0f766e;
}

.workflow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: inset 0 0 0 1px var(--primary-border);
}

.workflow-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.specializations-list-box {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.35rem 1.35rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef2f7;
  margin-top: 1.4rem;
}

.specializations-list-box h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  color: #111827;
}

.specializations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.specializations-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.specializations-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.download-highlight {
  margin-top: 0.75rem;
}

.section-download-main {
  width: 100%;
  background: #f8fafc;
  padding: 60px 20px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.download-main {
  max-width: 900px;
  margin: 0 auto;
}

.download-main-text h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #111827;
}

.download-main-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #374151;
}

.download-main .download-meta {
  font-size: 14px;
  color: #64748b;
}

.btn-download {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    padding: 1.15rem 1.1rem;
  }
}

.section.section-download-main,
.section.section-download-warning {
  margin-top: 1.5rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.contact-grid+.contact-grid,
.download-main+.download-main {
  margin-top: 1.5rem;
}

.screenshots-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.screenshots-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.screenshot-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  margin: 0;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-card-large img {
  max-height: 720px;
  object-fit: contain;
  background: #f8fafc;
}

.screenshots-row .screenshot-card img {
  max-height: 420px;
  object-fit: contain;
  background: #f8fafc;
}

.screenshot-card figcaption {
  padding: 1rem 1.1rem 1.1rem;
  font-size: 0.95rem;
  color: #374151;
}

.contact-grid {
  gap: 2rem;
}

.contact-sidebar-card,
.contact-form,
.download-main,
.download-warning {
  margin-top: 0;
}

.section+.section {
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .screenshots-row {
    grid-template-columns: 1fr;
  }

  .screenshot-card-large img,
  .screenshots-row .screenshot-card img {
    max-height: none;
  }
}

.download-hero-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-intro {
  margin: 0 0 1rem 0;
  max-width: 980px;
}

.hero-highlight {
  margin: 0 0 1.5rem 0;
  max-width: 980px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-actions .btn {
  margin: 0;
}

@media (max-width: 900px) {
  .download-hero-box {
    padding: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
.form-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-actions-row .btn {
  text-decoration: none;
}

.form-actions-row .btn:hover {
  text-decoration: none;
}
/* =========================
   LANDING DEMO / ADS
   ========================= */

.section-demo-hero {
  padding-top: 1rem;
}

.demo-hero-box {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.demo-hero-box h1 {
  font-size: 2.5rem;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 12ch;
}

.demo-hero-intro {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.1rem;
  max-width: 62ch !important;
}

.demo-highlight {
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  color: #134e4a;
  margin-bottom: 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.demo-hero-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: #64748b;
}

.demo-hero-panel {
  display: flex;
  align-items: stretch;
}

.demo-mini-card {
  width: 100%;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.demo-mini-card h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.demo-check-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.demo-check-list li {
  color: #cbd5e1;
}

.demo-section-heading {
  margin-bottom: 1.5rem;
}

.section-demo-benefits {
  padding-top: 1.2rem;
}

.demo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.demo-benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.demo-benefit-number {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.demo-benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1rem;
  color: #111827;
}

.demo-benefit-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.65;
}

.section-demo-proof {
  padding-top: 1.2rem;
}

.demo-proof-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.4rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.demo-proof-points {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.demo-proof-point {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  font-weight: 600;
}

.section-demo-screenshots {
  padding-top: 1.2rem;
}

.demo-screenshots-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.demo-shot-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  margin: 0;
}

.demo-shot-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
}

.demo-shot-card-large img {
  max-height: 560px;
  object-fit: contain;
}

.demo-shot-card figcaption {
  padding: 0.95rem 1rem 1rem;
  color: #374151;
  font-size: 0.92rem;
}

.section-demo-how {
  padding-top: 1.4rem;
}

.demo-contact-form {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.demo-side-card {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.demo-steps-list {
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.section-demo-bottom-cta {
  padding-top: 1.2rem;
  padding-bottom: 0.5rem;
}

.demo-bottom-cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.demo-bottom-cta-box h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.demo-bottom-cta-box p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
}

@media (max-width: 980px) {

  .demo-hero-box,
  .demo-proof-box,
  .demo-screenshots-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-hero-box h1 {
    max-width: none;
    font-size: 2.05rem;
  }
}

@media (max-width: 640px) {

  .demo-hero-box,
  .demo-bottom-cta-box {
    padding: 1.25rem;
  }

  .demo-benefits-grid {
    grid-template-columns: 1fr;
  }

  .demo-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .demo-hero-box h1 {
    font-size: 1.75rem;
  }
}

/* LIGHTBOX */

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1.5rem;
}

.image-lightbox img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.image-lightbox-close:hover {
  opacity: 0.7;
}

/* UX – pokaz że klikalne */

.demo-shot-card img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.demo-shot-card img:hover {
  transform: scale(1.02);
}

/* =========================
   LANDING DEMO / ADS
   ========================= */

.section-demo-hero {
  padding-top: 1rem;
}

.demo-hero-box {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.demo-hero-box h1 {
  font-size: 2.5rem;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 12ch;
}

.demo-hero-intro {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.1rem;
  max-width: 62ch !important;
}

.demo-highlight {
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  color: #134e4a;
  margin-bottom: 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.demo-hero-actions .btn {
  margin: 0;
}

.demo-hero-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: #64748b;
}

.demo-hero-panel {
  display: flex;
  align-items: stretch;
}

.demo-mini-card {
  width: 100%;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.demo-mini-card h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.demo-check-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.demo-check-list li {
  color: #cbd5e1;
}

.demo-section-heading {
  margin-bottom: 1.5rem;
}

.section-demo-benefits {
  padding-top: 1.2rem;
}

.demo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.demo-benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.demo-benefit-number {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.demo-benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1rem;
  color: #111827;
}

.demo-benefit-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.65;
}

.section-demo-proof {
  padding-top: 1.2rem;
}

.demo-proof-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.4rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.demo-proof-points {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.demo-proof-point {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  font-weight: 600;
}

.section-demo-screenshots {
  padding-top: 1.2rem;
}

.demo-screenshots-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.demo-shot-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  margin: 0;
}

.demo-shot-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.demo-shot-card img:hover {
  transform: scale(1.02);
}

.demo-shot-card-large img {
  max-height: 560px;
  object-fit: contain;
}

.demo-shot-card figcaption {
  padding: 0.95rem 1rem 1rem;
  color: #374151;
  font-size: 0.92rem;
}

.section-demo-how {
  padding-top: 1.4rem;
}

.demo-contact-form {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.demo-side-card {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.demo-steps-list {
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.demo-contact-cta {
  border: 1px solid var(--primary-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.demo-direct-contact {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.demo-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-contact-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.demo-contact-phone {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.18);
}

.demo-contact-phone:hover {
  color: #fff;
}

.demo-contact-whatsapp {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: var(--primary-border);
}

.demo-contact-whatsapp:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.section-demo-bottom-cta {
  padding-top: 1.2rem;
  padding-bottom: 0.5rem;
}

.demo-bottom-cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.demo-bottom-cta-box h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.demo-bottom-cta-box p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
}

/* LIGHTBOX */

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1.5rem;
}

.image-lightbox img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.image-lightbox-close:hover {
  opacity: 0.7;
}

@media (max-width: 980px) {

  .demo-hero-box,
  .demo-proof-box,
  .demo-screenshots-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-hero-box h1 {
    max-width: none;
    font-size: 2.05rem;
  }
}

@media (max-width: 640px) {

  .demo-hero-box,
  .demo-bottom-cta-box {
    padding: 1.25rem;
  }

  .demo-benefits-grid {
    grid-template-columns: 1fr;
  }

  .demo-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .demo-hero-box h1 {
    font-size: 1.75rem;
  }

  .image-lightbox {
    padding: 1rem;
  }

  .image-lightbox-close {
    top: 12px;
    right: 18px;
    font-size: 2rem;
  }
}
.trust-bar {
  margin-top: 30px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;

  font-size: 0.9rem;
  color: #475569;
  text-align: center;

  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.demo-hero-preview {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.demo-hero-preview img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.demo-hero-preview:hover img {
  transform: scale(1.02);
}
.site-footer a {
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #0d9488;
}

.site-footer strong {
  font-size: 0.9rem;
  color: #334155;
}
.related-pages-box {
  margin-top: 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.related-pages-box h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  color: #111827;
}

.related-pages-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.related-pages-list a {
  font-weight: 600;
  text-decoration: none;
}

.related-pages-list a:hover {
  text-decoration: underline;
}
.section-testimonials {
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fffe 0%, #f8fafc 100%);
  border-top: 1px solid #e6f4f1;
  border-bottom: 1px solid #e6eef5;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-testimonials h2 {
  margin-bottom: 0.9rem;
}

.section-testimonials .section-lead {
  margin-bottom: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(6px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, #0d9488 0%, #5eead4 100%);
  opacity: 0.9;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  border-color: rgba(13, 148, 136, 0.22);
}

.testimonial-mark {
  line-height: 1;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.16);
  margin-bottom: 0.35rem;
  font-family: Georgia, serif;
}

.testimonial-quote {
  margin: 0 0 1.4rem;
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1.75;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid #e5edf3;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.testimonial-meta strong {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.35;
}

.testimonial-meta span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .testimonial-mark {
    font-size: 3.2rem;
  }

  .testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}
.section-demo-testimonials {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fffe 0%, #f8fafc 100%);
  border-top: 1px solid #e6f4f1;
  border-bottom: 1px solid #e6eef5;
  overflow: hidden;
}

.section-demo-testimonials::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.10), transparent 70%);
  pointer-events: none;
}

.demo-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.demo-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.demo-testimonial-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, #0d9488 0%, #5eead4 100%);
  opacity: 0.95;
}

.demo-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  border-color: rgba(13, 148, 136, 0.22);
}

.demo-testimonial-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.6rem;
}

.demo-testimonial-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.10);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-testimonial-mark {
  line-height: 1;
  font-size: 3.8rem;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.16);
  margin-bottom: 0.25rem;
  font-family: Georgia, serif;
}

.demo-testimonial-quote {
  margin: 0 0 1.25rem;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.78;
  flex-grow: 1;
}

.demo-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid #e5edf3;
}

.demo-testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22);
}

.demo-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.demo-testimonial-meta strong {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.35;
}

.demo-testimonial-meta span {
  color: #64748b;
  font-size: 0.91rem;
  line-height: 1.4;
}

.demo-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 148, 136, 0.10);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
}

.demo-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  text-align: center;
  padding: 0.6rem 0.5rem;
}

.demo-trust-item strong {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.2;
}

.demo-trust-item span {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .demo-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .demo-testimonial-card {
    padding: 1.3rem;
    border-radius: 18px;
  }

  .demo-testimonial-mark {
    font-size: 3rem;
  }

  .demo-testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .demo-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.9rem;
  }
}

@media (max-width: 560px) {
  .demo-trust-strip {
    grid-template-columns: 1fr;
  }

  .demo-trust-item {
    text-align: left;
    padding: 0.35rem 0.2rem;
  }
}
.specializations-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.specializations-badges a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe7ee;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.specializations-badges a:hover {
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.28);
  color: #0f766e;
  transform: translateY(-2px);
}
.section-demo-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid #e8eef3;
  border-bottom: 1px solid #e8eef3;
}

.demo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.demo-faq-card {
  background: #ffffff;
  border: 1px solid #e5edf3;
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.demo-faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.22);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.demo-faq-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #0f172a;
}

.demo-faq-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .demo-faq-grid {
    grid-template-columns: 1fr;
  }

  .demo-faq-card {
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
  }
}