/* =========================================================
   DanyCars — Usługi (services mini-cards) section
   Used only on danycars-price-uslugi.html
   ========================================================= */

.services-overview-section {
  background: #fff;
}

.svc-intro {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* ---------- Connector arrow between cards in the same row (desktop only) ---------- */
.service-card {
  position: relative;
}

.service-card:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -32px;
  width: 32px;
  height: 0;
  border-top: 2px dashed #d8d8dc;
  z-index: 2;
}

.service-card:not(:nth-child(3n))::before {
  content: '';
  position: absolute;
  top: 51px;
  right: -36px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #d8d8dc;
  z-index: 2;
}

/* ---------- Card shell ---------- */
.service-card-inner {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 10px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.12);
  padding: 0 28px 28px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card {
  height: 100%;
}

/* ---------- Animated top progress line ---------- */
.service-line {
  display: block;
  height: 3px;
  width: 100%;
  background: #f0f0f2;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.service-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffc107;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s ease;
}

/* ---------- Staggered reveal sequence ---------- */
.services-grid.is-visible .service-card:nth-child(1) .service-line::after { transition-delay: 0s; }
.services-grid.is-visible .service-card:nth-child(2) .service-line::after { transition-delay: 0.35s; }
.services-grid.is-visible .service-card:nth-child(3) .service-line::after { transition-delay: 0.7s; }
.services-grid.is-visible .service-card:nth-child(4) .service-line::after { transition-delay: 1.05s; }
.services-grid.is-visible .service-card:nth-child(5) .service-line::after { transition-delay: 1.4s; }
.services-grid.is-visible .service-card:nth-child(6) .service-line::after { transition-delay: 1.75s; }

.services-grid.is-visible .service-card:nth-child(1) .service-card-inner { transition-delay: 0.4s; }
.services-grid.is-visible .service-card:nth-child(2) .service-card-inner { transition-delay: 0.75s; }
.services-grid.is-visible .service-card:nth-child(3) .service-card-inner { transition-delay: 1.1s; }
.services-grid.is-visible .service-card:nth-child(4) .service-card-inner { transition-delay: 1.45s; }
.services-grid.is-visible .service-card:nth-child(5) .service-card-inner { transition-delay: 1.8s; }
.services-grid.is-visible .service-card:nth-child(6) .service-card-inner { transition-delay: 2.15s; }

.services-grid.is-visible .service-line::after {
  transform: scaleX(1);
}

.services-grid.is-visible .service-card-inner {
  opacity: 1;
  transform: none;
}

/* ---------- Card content ---------- */
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #f3e3a6;
  color: #ffc107;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  color: #212529;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card-inner h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #212529;
  margin-bottom: 12px;
}

.service-card-inner p {
  color: #666;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .service-card:not(:nth-child(3n))::after,
  .service-card:not(:nth-child(3n))::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card-inner {
    padding: 0 22px 24px;
  }
}

/* ============================================================
   Usługi page — new packages section (per the design mockup)
   ============================================================ */

/* --- Dark navbar right away + gap below it (overrides the transparency rule from style.css) --- */
#ftco-navbar.ftco-navbar-light,
#ftco-navbar.ftco-navbar-light.scrolled,
#ftco-navbar.ftco-navbar-light.awake,
#ftco-navbar.ftco-navbar-light.sleep {
  background: #000000 !important;
  top: 0 !important;
}
@media (max-width: 991.98px) {
  html body #ftco-navbar.ftco-navbar-light,
  html body #ftco-navbar.ftco-navbar-light:not(.scrolled),
  html body #ftco-navbar.ftco-navbar-light.scrolled,
  html body #ftco-navbar.ftco-navbar-light.awake,
  html body #ftco-navbar.ftco-navbar-light.sleep {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    top: 0 !important;
  }
}

.ftco-section.pricing-section { padding-top: 8em; padding-bottom: 6em; background: #fff; }
@media (max-width: 991.98px) { .ftco-section.pricing-section { padding-top: 5em; } }

/* --- Section heading --- */
.pricing-head { margin-bottom: 3.2em; }
.pricing-section .subheading {
  display: inline-block; color: #ffc107; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.pricing-title { font-size: 40px; line-height: 1.15; font-weight: 700; color: #1f2733; margin: 0 0 14px; }
.pricing-lead { color: #6b7280; font-size: 17px; line-height: 1.7; margin: 0; }

/* --- Card grid --- */
.pricing-grid > [class*="col-"] { margin-bottom: 26px; }

.price-card {
  position: relative; width: 100%;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  padding: 38px 26px 30px;
  box-shadow: 0 8px 26px rgba(20, 20, 40, 0.05);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  background: #15171c; border-color: #15171c;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30);
  transform: translateY(-6px);
}

.price-icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff8e1; display: flex; align-items: center; justify-content: center;
  transition: background-color .25s ease;
}
.price-icon svg { width: 40px; height: 40px; color: #ffc107; }
.price-card:hover .price-icon { background: rgba(255, 193, 7, 0.16); }

.price-badge {
  display: block; width: max-content; max-width: 100%; margin: 0 auto 12px;
  background: #ffc107; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px; text-align: center;
}

.price-name { text-align: center; font-size: 23px; font-weight: 800; letter-spacing: 1px; color: #1f2733; margin: 0 0 4px; transition: color .25s ease; }
.price-sub { text-align: center; color: #6b7280; font-size: 14px; margin: 0 0 16px; transition: color .25s ease; }

.price-amount { text-align: center; color: #ffc107; font-size: 34px; font-weight: 800; margin: 0; }
.price-amount::after { content: ""; display: block; width: 46px; height: 2px; background: #ffc107; margin: 14px auto 20px; }

.price-daynote { text-align: center; color: #6b7280; font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; transition: color .25s ease; }

.price-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1 1 auto; }
.price-features li { position: relative; padding: 0 0 12px 30px; color: #4b5563; font-size: 14.5px; line-height: 1.5; transition: color .25s ease; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23fc983c' stroke-width='1.6'/%3E%3Cpath d='M6 10.4l2.5 2.6 5.4-5.6' fill='none' stroke='%23fc983c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.price-features li.price-more { padding-left: 0; font-weight: 700; color: #1f2733; }
.price-features li.price-more::before { display: none; }

.price-note {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #f3e3a6; background: #fff8e1; border-radius: 10px;
  padding: 12px 14px; margin: 0 0 18px; color: #8a6d00; font-size: 13px; line-height: 1.5;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.price-note-ic {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-style: normal; line-height: 1;
}

.price-btn {
  display: block; text-align: center; padding: 13px 18px; border-radius: 8px;
  border: 2px solid #e2e6ea; color: #1f2733; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; font-size: 13px; text-decoration: none;
  transition: all .2s ease;
}
.price-btn:hover, .price-btn:focus { color: #1f2733; text-decoration: none; }

/* --- Hover: the card turns black --- */
.price-card:hover .price-name { color: #ffffff; }
.price-card:hover .price-sub,
.price-card:hover .price-daynote { color: #b7bcc4; }
.price-card:hover .price-features li { color: #c7ccd3; }
.price-card:hover .price-features li.price-more { color: #ffffff; }
.price-card:hover .price-note { background: #20242c; border-color: #3a3f49; color: #ffc107; }
.price-card:hover .price-btn { background: #ffc107; border-color: #ffc107; color: #ffffff; }
.price-card:hover .price-btn:hover { background: #e0a800; border-color: #e0a800; }

/* --- Bottom trust block --- */
.pricing-trust { margin-top: 2.5em; padding-top: 3em; border-top: 1px solid #eef0f2; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.trust-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
  background: #fff8e1; display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 28px; height: 28px; color: #ffc107; }
.trust-text h4 { font-size: 17px; font-weight: 700; color: #1f2733; margin: 0 0 6px; }
.trust-text p { color: #6b7280; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .pricing-title { font-size: 32px; }
}
@media (max-width: 767.98px) {
  .pricing-title { font-size: 26px; }
  .pricing-lead { font-size: 16px; }
  .pricing-lead br { display: none; }
  .pricing-head { margin-bottom: 2.4em; }
  .price-card { padding: 32px 22px 26px; }
}


/* ============================================================
   Usługi page — new packages section (per the design mockup)
   ============================================================ */

/* --- Dark navbar right away + gap below it (overrides the transparency rule from style.css) --- */
#ftco-navbar.ftco-navbar-light,
#ftco-navbar.ftco-navbar-light.scrolled,
#ftco-navbar.ftco-navbar-light.awake,
#ftco-navbar.ftco-navbar-light.sleep {
  background: #000000 !important;
  top: 0 !important;
}
@media (max-width: 991.98px) {
  html body #ftco-navbar.ftco-navbar-light,
  html body #ftco-navbar.ftco-navbar-light:not(.scrolled),
  html body #ftco-navbar.ftco-navbar-light.scrolled,
  html body #ftco-navbar.ftco-navbar-light.awake,
  html body #ftco-navbar.ftco-navbar-light.sleep {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    top: 0 !important;
  }
}

.ftco-section.pricing-section { padding-top: 8em; padding-bottom: 6em; background: #fff; }
@media (max-width: 991.98px) { .ftco-section.pricing-section { padding-top: 5em; } }

/* --- Section heading --- */
.pricing-head { margin-bottom: 3.2em; }
.pricing-section .subheading {
  display: inline-block; color: #ffc107; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.pricing-title { font-size: 40px; line-height: 1.15; font-weight: 700; color: #1f2733; margin: 0 0 14px; }
.pricing-lead { color: #6b7280; font-size: 17px; line-height: 1.7; margin: 0; }

/* --- Card grid --- */
.pricing-grid > [class*="col-"] { margin-bottom: 26px; }

.price-card {
  position: relative; width: 100%;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  padding: 38px 26px 30px;
  box-shadow: 0 8px 26px rgba(20, 20, 40, 0.05);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  background: #15171c; border-color: #15171c;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30);
  transform: translateY(-6px);
}

.price-icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff8e1; display: flex; align-items: center; justify-content: center;
  transition: background-color .25s ease;
}
.price-icon svg { width: 40px; height: 40px; color: #ffc107; }
.price-card:hover .price-icon { background: rgba(255, 193, 7, 0.16); }

/* Badge: hidden on the white card, appears above the card only on hover */
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 28px); white-space: nowrap;
  background: #ffc107; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 7px 16px; border-radius: 20px; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5);
  transition: opacity .25s ease, visibility .25s ease;
}
.price-card:hover .price-badge { opacity: 1; visibility: visible; }

.price-name { text-align: center; font-size: 23px; font-weight: 800; letter-spacing: 1px; color: #1f2733; margin: 0 0 4px; transition: color .25s ease; }

/* min-height so that 1- and 2-line subtitles do not shift the price — prices stay aligned */
.price-sub { text-align: center; color: #6b7280; font-size: 14px; margin: 0 0 16px; min-height: 42px; transition: color .25s ease; }

.price-amount { text-align: center; color: #ffc107; font-size: 34px; font-weight: 800; margin: 0; }
.price-amount::after { content: ""; display: block; width: 46px; height: 2px; background: #ffc107; margin: 14px auto 20px; }

.price-daynote { text-align: center; color: #6b7280; font-size: 13.5px; line-height: 1.5; margin: 0 0 18px; transition: color .25s ease; }

.price-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1 1 auto; }
.price-features li { position: relative; padding: 0 0 12px 30px; color: #4b5563; font-size: 14.5px; line-height: 1.5; transition: color .25s ease; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23fc983c' stroke-width='1.6'/%3E%3Cpath d='M6 10.4l2.5 2.6 5.4-5.6' fill='none' stroke='%23fc983c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.price-features li.price-more { padding-left: 0; font-weight: 700; color: #1f2733; }
.price-features li.price-more::before { display: none; }

.price-note {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #f3e3a6; background: #fff8e1; border-radius: 10px;
  padding: 12px 14px; margin: 0 0 18px; color: #8a6d00; font-size: 13px; line-height: 1.5;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.price-note-ic {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-style: normal; line-height: 1;
}

.price-btn {
  display: block; text-align: center; padding: 13px 18px; border-radius: 8px;
  border: 2px solid #e2e6ea; color: #1f2733; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; font-size: 13px; text-decoration: none;
  transition: all .2s ease;
}
.price-btn:hover, .price-btn:focus { color: #1f2733; text-decoration: none; }

/* --- Hover: the card turns black --- */
.price-card:hover .price-name { color: #ffffff; }
.price-card:hover .price-sub,
.price-card:hover .price-daynote { color: #b7bcc4; }
.price-card:hover .price-features li { color: #c7ccd3; }
.price-card:hover .price-features li.price-more { color: #ffffff; }
.price-card:hover .price-note { background: #20242c; border-color: #3a3f49; color: #ffc107; }
.price-card:hover .price-btn { background: #ffc107; border-color: #ffc107; color: #ffffff; }
.price-card:hover .price-btn:hover { background: #e0a800; border-color: #e0a800; }

/* --- Bottom trust block --- */
.pricing-trust { margin-top: 2.5em; padding-top: 3em; border-top: 1px solid #eef0f2; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.trust-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
  background: #fff8e1; display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 28px; height: 28px; color: #ffc107; }
.trust-text h4 { font-size: 17px; font-weight: 700; color: #1f2733; margin: 0 0 6px; }
.trust-text p { color: #6b7280; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .pricing-title { font-size: 32px; }
}
@media (max-width: 767.98px) {
  .pricing-title { font-size: 26px; }
  .pricing-lead { font-size: 16px; }
  .pricing-lead br { display: none; }
  .pricing-head { margin-bottom: 2.4em; }
  .price-card { padding: 32px 22px 26px; }
  .price-sub { min-height: 0; }
}