:root {
  --sferum-blue: #2B3175;
  --sferum-blue-light: #CBDDEF;
  --sferum-blue-soft: #EEF4FB;
  --sferum-blue-softer: #F6F9FD;
  --sferum-white: #ffffff;
  --sferum-text: #2B3175;
  --sferum-landing-max: 1320px;
  --sferum-hero-gutter: 16px;
  --sferum-hero-max: 1580px;
  --sferum-radius: 20px;
  --sferum-radius-lg: 28px;
  --sferum-shadow: 0 18px 40px rgba(43, 49, 117, 0.08);
  --sferum-shadow-hover: 0 22px 48px rgba(43, 49, 117, 0.14);
  --sferum-transition: 0.25s ease;
}

.sferum-landing-page {
  width: 100%;
  background: var(--sferum-white);
  color: var(--sferum-text);
  font-family: "Montserrat", sans-serif;
}

.sferum-landing-page *,
.sferum-landing-page *::before,
.sferum-landing-page *::after {
  box-sizing: border-box;
}

.sferum-landing-page a {
  text-decoration: none;
}

.sferum-landing-page h1,
.sferum-landing-page h2,
.sferum-landing-page h3 {
  margin: 0;
  color: var(--sferum-blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.sferum-landing-page p {
  margin: 0;
  color: var(--sferum-blue);
  font-size: 15px;
  line-height: 1.75;
}

.sferum-landing-shell {
  max-width: var(--sferum-landing-max);
  margin: 0 auto;
  padding: 38px 24px 90px;
}

.sferum-landing-section {
  margin-top: 88px;
}

.sferum-landing-section-head {
  margin-bottom: 34px;
}

.sferum-landing-section-head h2 {
  font-size: 40px;
  line-height: 1.08;
  margin-bottom: 12px;
}

.sferum-landing-section-head p {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.8;
}

/* HERO */

.sferum-landing-hero {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - (var(--sferum-hero-gutter) * 2)), var(--sferum-hero-max));
  min-height: clamp(680px, 44vw, 820px);
  border-radius: 34px;
  overflow: hidden;
  background: #CBDDEF;
  box-shadow: 0 18px 42px rgba(43, 49, 117, 0.06);
}

.sferum-landing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sferum-landing-hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.sferum-landing-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.sferum-landing-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.10) 24%,
    rgba(255, 255, 255, 0.03) 38%,
    rgba(255, 255, 255, 0) 54%
  );
  pointer-events: none;
}

.sferum-landing-hero__content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 84px 52px 72px;
}

.sferum-landing-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  background: rgba(203, 221, 239, 0.92);
  color: var(--sferum-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(43, 49, 117, 0.06);
}

.sferum-landing-title {
  font-size: clamp(50px, 4.1vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.sferum-landing-lead {
  margin-top: 20px !important;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
}

.sferum-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.sferum-landing-actions--center {
  justify-content: center;
}

.sferum-landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    background var(--sferum-transition),
    color var(--sferum-transition),
    border-color var(--sferum-transition);
}

.sferum-landing-btn:hover {
  transform: translateY(-2px);
}

.sferum-landing-btn--primary {
  background: var(--sferum-blue);
  color: var(--sferum-white);
  box-shadow: 0 14px 30px rgba(43, 49, 117, 0.16);
}

.sferum-landing-btn--primary:hover {
  color: var(--sferum-white);
  box-shadow: 0 18px 36px rgba(43, 49, 117, 0.22);
}

.sferum-landing-btn--secondary,
.sferum-landing-btn--ghost {
  border: 1.5px solid var(--sferum-blue);
  background: transparent;
  color: var(--sferum-blue);
}

.sferum-landing-btn--secondary:hover,
.sferum-landing-btn--ghost:hover {
  background: var(--sferum-blue);
  color: var(--sferum-white);
}

/* INTRO */

.sferum-landing-section--intro {
  padding: 38px;
  background: linear-gradient(180deg, rgba(203, 221, 239, 0.40) 0%, rgba(255, 255, 255, 1) 100%);
  border-radius: 32px;
  box-shadow: 0 14px 32px rgba(43, 49, 117, 0.05);
}

.sferum-landing-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sferum-landing-benefit {
  padding: 24px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 49, 117, 0.06);
  box-shadow: 0 10px 24px rgba(43, 49, 117, 0.04);
}

.sferum-landing-benefit h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
}

/* VISUALS */

.sferum-landing-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sferum-landing-visual-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--sferum-white);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: var(--sferum-shadow);
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    border-color var(--sferum-transition);
}

.sferum-landing-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sferum-shadow-hover);
  border-color: rgba(43, 49, 117, 0.16);
}

.sferum-landing-visual-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sferum-landing-visual-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sferum-landing-visual-card__content {
  padding: 24px 22px 24px;
}

.sferum-landing-visual-card__content h3 {
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 10px;
}

/* OFFER */

.sferum-landing-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sferum-landing-offer-card {
  position: relative;
  display: block;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: var(--sferum-shadow);
  overflow: hidden;
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    border-color var(--sferum-transition),
    background var(--sferum-transition);
}

.sferum-landing-offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sferum-blue) 0%, #6b8cc7 100%);
}

.sferum-landing-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sferum-shadow-hover);
  border-color: rgba(43, 49, 117, 0.16);
  background: linear-gradient(180deg, rgba(238, 244, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.sferum-landing-offer-card__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sferum-blue);
  border-radius: 999px;
  background: rgba(203, 221, 239, 0.62);
}

.sferum-landing-offer-card h3 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.sferum-landing-offer-card p {
  margin-bottom: 16px;
}

.sferum-landing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sferum-blue);
  font-size: 15px;
  font-weight: 700;
}

.sferum-landing-link::after {
  content: "→";
  transition: transform var(--sferum-transition);
}

.sferum-landing-offer-card:hover .sferum-landing-link::after,
.sferum-landing-product-card:hover .sferum-landing-link::after {
  transform: translateX(4px);
}

/* INDUSTRIES */

.sferum-landing-industries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sferum-landing-industry {
  padding: 24px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.74) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.06);
  box-shadow: 0 12px 26px rgba(43, 49, 117, 0.04);
}

.sferum-landing-industry h3 {
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 10px;
}

.sferum-landing-center-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* WHY */

.sferum-landing-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sferum-landing-why-card {
  padding: 24px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(203, 221, 239, 0.28) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.06);
}

.sferum-landing-why-card h3 {
  font-size: 23px;
  line-height: 1.14;
  margin-bottom: 10px;
}

/* FAQ */

.sferum-landing-faq-list {
  display: grid;
  gap: 16px;
}

.sferum-landing-faq-item {
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(246, 249, 253, 0.9);
  border: 1px solid rgba(43, 49, 117, 0.08);
}

.sferum-landing-faq-item h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
}

/* CTA */

.sferum-landing-cta-box {
  padding: 46px 36px;
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(203, 221, 239, 0.50) 0%, rgba(203, 221, 239, 0.24) 100%);
  box-shadow: 0 18px 38px rgba(43, 49, 117, 0.07);
}

.sferum-landing-cta-box h2 {
  font-size: 40px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.sferum-landing-cta-box p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

/* FORM */

.sferum-landing-form-wrap {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.78) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.06);
  box-shadow: 0 12px 26px rgba(43, 49, 117, 0.04);
}

/* PRODUCTS SHORTCUT */

.sferum-landing-section-head--center {
  text-align: center;
}

.sferum-landing-section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

.sferum-landing-section--products {
  margin-top: 72px;
}

.sferum-landing-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.sferum-landing-product-card {
  position: relative;
  display: block;
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: var(--sferum-shadow);
  overflow: hidden;
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    border-color var(--sferum-transition),
    background var(--sferum-transition);
}

.sferum-landing-product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sferum-blue) 0%, #6b8cc7 100%);
}

.sferum-landing-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sferum-shadow-hover);
  border-color: rgba(43, 49, 117, 0.16);
  background: linear-gradient(180deg, rgba(238, 244, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.sferum-landing-product-card__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sferum-blue);
  border-radius: 999px;
  background: rgba(203, 221, 239, 0.62);
}

.sferum-landing-product-card h3 {
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--sferum-blue);
}

.sferum-landing-product-card p {
  margin-bottom: 16px;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .sferum-landing-title {
    font-size: clamp(48px, 4.6vw, 62px);
  }

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

@media (max-width: 1024px) {
  .sferum-landing-shell {
    padding: 34px 20px 80px;
  }

  .sferum-landing-hero {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    min-height: 640px;
    border-radius: 28px;
  }

  .sferum-landing-hero__bg img {
    object-position: 68% center;
  }

  .sferum-landing-hero__content {
    max-width: 560px;
    padding: 56px 34px 48px;
  }

  .sferum-landing-title {
    font-size: clamp(42px, 5.3vw, 56px);
    max-width: 560px;
  }

  .sferum-landing-lead {
    max-width: 520px;
    font-size: 16px;
  }

  .sferum-landing-benefits,
  .sferum-landing-offer-grid {
    grid-template-columns: 1fr;
  }

  .sferum-landing-visual-grid,
  .sferum-landing-industries-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 767px) {
  .sferum-landing-shell {
    padding: 16px 12px 56px;
  }

  .sferum-landing-section {
    margin-top: 52px;
  }

  .sferum-landing-hero {
    left: auto;
    transform: none;
    width: 100%;
    min-height: auto;
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .sferum-landing-hero__bg {
    position: relative;
    inset: auto;
    z-index: 1;
    margin: 0 -12px 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .sferum-landing-hero__bg picture {
    display: block;
    width: 100%;
    height: auto;
  }

  .sferum-landing-hero__bg img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center top;
    background: transparent;
  }

  .sferum-landing-hero__overlay {
    display: none;
  }

  .sferum-landing-hero__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding: 0 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sferum-landing-kicker {
    margin-bottom: 12px;
    padding: 8px 14px;
    font-size: 12px;
    line-height: 1.2;
    background: rgba(203, 221, 239, 0.62);
    box-shadow: none;
  }

  .sferum-landing-title {
    max-width: 100%;
    font-size: clamp(26px, 8.8vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .sferum-landing-lead {
    margin-top: 18px !important;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
  }

  .sferum-landing-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .sferum-landing-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
    padding: 0 20px;
  }

  .sferum-landing-section-head {
    margin-bottom: 22px;
  }

  .sferum-landing-section-head h2,
  .sferum-landing-cta-box h2 {
    font-size: 30px;
    line-height: 1.04;
  }

  .sferum-landing-section-head p,
  .sferum-landing-cta-box p {
    font-size: 15px;
    line-height: 1.72;
  }

  .sferum-landing-section--intro {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .sferum-landing-visual-grid,
  .sferum-landing-industries-grid,
  .sferum-landing-why-grid {
    grid-template-columns: 1fr;
  }

  .sferum-landing-visual-card__content,
  .sferum-landing-benefit,
  .sferum-landing-offer-card,
  .sferum-landing-industry,
  .sferum-landing-why-card,
  .sferum-landing-faq-item {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sferum-landing-cta-box {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .sferum-landing-form-wrap {
    padding: 18px;
    border-radius: 18px;
  }

  .sferum-landing-products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sferum-landing-product-card {
    padding: 20px 16px;
  }

  .sferum-landing-product-card h3 {
    font-size: 22px;
  }

  .sferum-landing-offer-card h3,
  .sferum-landing-industry h3,
  .sferum-landing-visual-card__content h3,
  .sferum-landing-faq-item h3 {
    font-size: 22px;
  }
}

/* ================================
   SMART FINDER / LANDING
   wersja pod aktualny HTML:
   .sferum-smart-finder...
================================ */

.sferum-smart-finder {
  margin-top: 72px;
   font-family: "Montserrat", sans-serif;
}

.sferum-smart-finder__shell {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(203, 221, 239, 0.42) 0%, rgba(203, 221, 239, 0) 42%),
    linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: 0 18px 42px rgba(43, 49, 117, 0.07);
  overflow: visible;
}

.sferum-smart-finder__shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sferum-blue) 0%, #6b8cc7 100%);
  border-radius: 30px 30px 0 0;
}

.sferum-smart-finder__head {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-bottom: 28px;
}

.sferum-smart-finder__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  background: rgba(203, 221, 239, 0.74);
  color: var(--sferum-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(43, 49, 117, 0.06);
}

.sferum-smart-finder__head h2 {
  margin: 0 0 12px;
  color: var(--sferum-blue);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.sferum-smart-finder__head p {
  margin: 0;
  max-width: 860px;
  color: var(--sferum-blue);
  font-size: 16px;
  line-height: 1.8;
}

.sferum-smart-finder__search {
  position: relative;
  z-index: 30;
}

.sferum-smart-finder__input-wrap {
  position: relative;
}

.sferum-smart-finder__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: rgba(43, 49, 117, 0.72);
  pointer-events: none;
}

.sferum-smart-finder__input {
  width: 100%;
  min-height: 64px;
  padding: 0 56px 0 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 49, 117, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: var(--sferum-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  box-shadow: 0 12px 28px rgba(43, 49, 117, 0.05);
  transition:
    border-color var(--sferum-transition),
    box-shadow var(--sferum-transition),
    background var(--sferum-transition);
}

.sferum-smart-finder__input:focus {
  outline: none;
  border-color: rgba(43, 49, 117, 0.34);
  box-shadow: 0 18px 34px rgba(43, 49, 117, 0.08);
}

.sferum-smart-finder__input::placeholder {
  color: rgba(43, 49, 117, 0.55);
}

.sferum-smart-finder__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(203, 221, 239, 0.68);
  color: var(--sferum-blue);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--sferum-transition),
    transform var(--sferum-transition);
}

.sferum-smart-finder__clear:hover {
  background: rgba(203, 221, 239, 0.92);
  transform: translateY(-50%) scale(1.03);
}

.sferum-smart-finder__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(43, 49, 117, 0.10);
  box-shadow: 0 22px 48px rgba(43, 49, 117, 0.16);
  backdrop-filter: blur(6px);
}

.sferum-smart-finder__dropdown[hidden] {
  display: none !important;
}

.sferum-smart-finder__dropdown-group + .sferum-smart-finder__dropdown-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 49, 117, 0.08);
}

.sferum-smart-finder__dropdown-title {
  margin: 0 0 8px;
  padding: 0 6px;
  color: rgba(43, 49, 117, 0.7);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sferum-smart-finder__option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--sferum-blue);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--sferum-transition),
    transform var(--sferum-transition);
}

.sferum-smart-finder__option:hover,
.sferum-smart-finder__option.is-active {
  background: linear-gradient(180deg, rgba(203, 221, 239, 0.24) 0%, rgba(255, 255, 255, 1) 100%);
  transform: translateY(-1px);
}

.sferum-smart-finder__option-main {
  min-width: 0;
}

.sferum-smart-finder__option-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sferum-blue);
}

.sferum-smart-finder__option-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(43, 49, 117, 0.84);
}

.sferum-smart-finder__option-badge,
.sferum-smart-finder__badge,
.sferum-smart-finder__best-label,
.sferum-smart-finder__card-badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sferum-blue);
  border-radius: 999px;
  background: rgba(203, 221, 239, 0.62);
}

.sferum-smart-finder__option-badge {
  flex: 0 0 auto;
  align-self: center;
}

.sferum-smart-finder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sferum-smart-finder__chip {
  padding: 10px 14px;
  border: 1px solid rgba(43, 49, 117, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sferum-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--sferum-transition),
    border-color var(--sferum-transition),
    background var(--sferum-transition),
    box-shadow var(--sferum-transition);
}

.sferum-smart-finder__chip:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 49, 117, 0.18);
  background: linear-gradient(180deg, rgba(203, 221, 239, 0.30) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 10px 20px rgba(43, 49, 117, 0.05);
}

.sferum-smart-finder__best {
  margin-top: 22px;
}

.sferum-smart-finder__best-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(238, 244, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.10);
  box-shadow: 0 16px 36px rgba(43, 49, 117, 0.08);
  text-decoration: none;
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    border-color var(--sferum-transition);
}

.sferum-smart-finder__best-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sferum-blue) 0%, #6b8cc7 100%);
  border-radius: 24px 24px 0 0;
}

.sferum-smart-finder__best-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sferum-shadow-hover);
  border-color: rgba(43, 49, 117, 0.16);
}

.sferum-smart-finder__best-card h3 {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.12;
  color: var(--sferum-blue);
}

.sferum-smart-finder__best-card p {
  margin: 0 0 14px;
}

.sferum-smart-finder__best-link,
.sferum-smart-finder__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sferum-blue);
  font-size: 15px;
  font-weight: 700;
}

.sferum-smart-finder__best-link::after,
.sferum-smart-finder__card-link::after {
  content: "→";
  transition: transform var(--sferum-transition);
}

.sferum-smart-finder__best-card:hover .sferum-smart-finder__best-link::after,
.sferum-smart-finder__card:hover .sferum-smart-finder__card-link::after {
  transform: translateX(4px);
}

.sferum-smart-finder__results {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.sferum-smart-finder__results-group {
  padding: 24px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: var(--sferum-shadow);
}

.sferum-smart-finder__results-group h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--sferum-blue);
}

.sferum-smart-finder__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sferum-smart-finder__card {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(43, 49, 117, 0.08);
  text-decoration: none;
  transition:
    transform var(--sferum-transition),
    box-shadow var(--sferum-transition),
    border-color var(--sferum-transition),
    background var(--sferum-transition);
}

.sferum-smart-finder__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(43, 49, 117, 0.92) 0%, rgba(107, 140, 199, 0.82) 100%);
  opacity: 0;
  transition: opacity var(--sferum-transition);
  border-radius: 20px 20px 0 0;
}

.sferum-smart-finder__card:hover::before {
  opacity: 1;
}

.sferum-smart-finder__card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 49, 117, 0.18);
  box-shadow: 0 18px 34px rgba(43, 49, 117, 0.08);
  background: linear-gradient(180deg, rgba(203, 221, 239, 0.24) 0%, rgba(255, 255, 255, 1) 100%);
}

.sferum-smart-finder__card h4 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.16;
  color: var(--sferum-blue);
}

.sferum-smart-finder__card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
}

.sferum-smart-finder__empty {
  padding: 26px 22px;
  border-radius: 22px;
  background: rgba(246, 249, 253, 0.92);
  border: 1px solid rgba(43, 49, 117, 0.08);
  box-shadow: 0 10px 24px rgba(43, 49, 117, 0.04);
}

.sferum-smart-finder__empty h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--sferum-blue);
}

.sferum-smart-finder__empty p {
  margin: 0;
}

.sferum-smart-finder__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.sferum-smart-finder__footer-link {
  color: var(--sferum-blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.sferum-smart-finder__footer-link:hover {
  text-decoration: underline;
}

.sferum-smart-finder__mark {
  padding: 0 2px;
  border-radius: 4px;
  background: rgba(203, 221, 239, 0.58);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .sferum-smart-finder__shell {
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .sferum-smart-finder__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sferum-smart-finder {
    margin-top: 44px;
  }

  .sferum-smart-finder__shell {
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .sferum-smart-finder__head {
    margin-bottom: 22px;
  }

  .sferum-smart-finder__head h2 {
    font-size: 30px;
    line-height: 1.04;
  }

  .sferum-smart-finder__head p,
  .sferum-smart-finder__best-card p,
  .sferum-smart-finder__card p,
  .sferum-smart-finder__empty p {
    font-size: 15px;
    line-height: 1.72;
  }

  .sferum-smart-finder__input {
    min-height: 56px;
    padding-left: 46px;
    padding-right: 48px;
    font-size: 14px;
  }

  .sferum-smart-finder__icon {
    left: 16px;
    width: 20px;
    height: 20px;
  }

  .sferum-smart-finder__clear {
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .sferum-smart-finder__dropdown {
    padding: 10px;
    border-radius: 20px;
  }

  .sferum-smart-finder__option {
    padding: 12px;
    gap: 10px;
  }

  .sferum-smart-finder__option-title {
    font-size: 16px;
  }

  .sferum-smart-finder__option-desc {
    font-size: 13px;
  }

  .sferum-smart-finder__chips {
    gap: 8px;
  }

  .sferum-smart-finder__chip {
    font-size: 12px;
    padding: 9px 12px;
  }

  .sferum-smart-finder__best-card,
  .sferum-smart-finder__results-group,
  .sferum-smart-finder__empty {
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .sferum-smart-finder__best-card h3 {
    font-size: 24px;
  }

  .sferum-smart-finder__card {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .sferum-smart-finder__card h4 {
    font-size: 20px;
  }

  .sferum-smart-finder__footer {
    gap: 12px;
    margin-top: 20px;
  }

  .sferum-smart-finder__footer-link {
    font-size: 14px;
  }
}

/* ===== SMART FINDER FIXES ===== */

.sferum-smart-finder__input-wrap {
  position: relative;
}

.sferum-smart-finder__icon {
  left: 22px;
  width: 20px;
  height: 20px;
  z-index: 2;
}

.sferum-smart-finder__input {
  padding-left: 64px !important;
  padding-right: 56px !important;
}

.sferum-smart-finder__dropdown {
  display: none !important;
}

.sferum-smart-finder__best:empty,
.sferum-smart-finder__results:empty {
  display: none;
}

@media (max-width: 767px) {
  .sferum-smart-finder__icon {
    left: 18px;
  }

  .sferum-smart-finder__input {
    padding-left: 52px !important;
    padding-right: 46px !important;
  }
}


/* ===== SMART FINDER – FINAL POLISH ===== */

.sferum-smart-finder__shell {
  overflow: hidden;
}

/* górna linia / gradient nie wychodzi poza zaokrąglenia */
.sferum-smart-finder__shell::before {
  border-radius: 30px 30px 0 0;
}

/* przycisk czyszczenia – bardziej elegancki */
.sferum-smart-finder__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(203, 221, 239, 0.78);
  color: rgba(43, 49, 117, 0.9);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
  transition:
    background var(--sferum-transition),
    color var(--sferum-transition),
    transform var(--sferum-transition),
    opacity var(--sferum-transition);
}

.sferum-smart-finder__clear:hover {
  background: rgba(203, 221, 239, 1);
  color: var(--sferum-blue);
  transform: translateY(-50%) scale(1.04);
}

/* ukryj X kiedy pole jest puste */
.sferum-smart-finder__input:placeholder-shown + .sferum-smart-finder__clear {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* linki na dole – delikatniejsze */
.sferum-smart-finder__footer {
  gap: 14px;
  margin-top: 20px;
}

.sferum-smart-finder__footer-link {
  color: rgba(43, 49, 117, 0.78);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    color var(--sferum-transition),
    opacity var(--sferum-transition);
}

.sferum-smart-finder__footer-link:hover {
  color: var(--sferum-blue);
  text-decoration: underline;
}

/* trochę lżejszy input wizualnie */
.sferum-smart-finder__input {
  border-color: rgba(43, 49, 117, 0.16);
}

@media (max-width: 767px) {
  .sferum-smart-finder__shell::before {
    border-radius: 20px 20px 0 0;
  }

  .sferum-smart-finder__clear {
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .sferum-smart-finder__footer {
    gap: 10px 14px;
  }

  .sferum-smart-finder__footer-link {
    font-size: 13px;
  }
}
