/*
 Theme Name: Weblance Child
 Template:   weblance
 Version:    1.0
*/

/* ============================================================
   DroneWash.pl - Custom CSS: /cennik/
   Wersja: 1.3  |  Data: maj 2026
   ============================================================ */

/* ========================
   HERO
======================== */

.pricing-badge {
  display: inline-flex;
  align-items: center;
  background: #E6F1FB;
  color: #0C447C;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-hero-title {
  max-width: 900px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #031B34;
  margin-bottom: 28px;
}

.pricing-lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: #4A5B6D;
  margin-bottom: 42px;
}

.pricing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-pills li {
  display: inline-flex;
  align-items: center;
  background: #031B34;
  border: 1px solid #031B34;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #9FE1CB;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pricing-pills li:hover {
  background: #0C447C;
  border-color: #0C447C;
  transform: translateY(-2px);
}

.page_header_title {
  display: none !important;
}

.pricing-hero {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .pricing-hero {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .pricing-pills {
    padding: 0 !important;
  }

  .pricing-pills li {
    margin: 0 0 10px 0;
    width: 250px;
  }
}

/* ========================
   SEKCJE I KARTY
======================== */

.pricing-section {
  padding: 70px 0;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dce6f0;
  border-radius: 28px;
  padding: 36px;
  margin-bottom: 32px;
}

.pricing-section-title {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #031b34;
  margin-bottom: 18px;
}

.pricing-section-lead {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.65;
  color: #4a5b6d;
  margin-bottom: 28px;
}

/* ========================
   SERVICE BADGE - OPCJA A
   Badge w normalnym flow nad H2.
   Karta ktora zawiera TYLKO badge traci ramke i tlo
   (selektor :has() - Chrome 105+, FF 121+, Safari 15.4+)
======================== */

.pricing-card:has(.service-badge) {
  border: none;
  background: transparent;
  padding: 0 0 4px 0;
  border-radius: 0;
  margin-bottom: 4px;
}

.service-badge {
  position: static;
  display: inline-flex;
  background: #e7f7ed;
  color: #176b3a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

/* ========================
   TABELE CENOWE
======================== */

.pricing-table {
  overflow-x: auto;
  margin-top: 24px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #DCE6F0;
}

.pricing-table thead {
  background: #031B34;
}

.pricing-table th {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  border: none;
}

/* Pierwsza kolumna (Powierzchnia/Wysokosc) - muted */
.pricing-table td:first-child {
  color: #4A5B6D;
  font-size: 15px;
}

/* Kolumny z cenami - wyroznienie kolorem marki */
.pricing-table td:not(:first-child) {
  color: #185FA5;
  font-weight: 600;
  font-size: 16px;
}

.pricing-table td {
  padding: 18px 20px;
  border-top: 1px solid #E6EDF5;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-table tr:hover td:not(:first-child) {
    background: #F8FBFE;
  }
}

@media (pointer: coarse) {
  .pricing-table tr:hover td:not(:first-child) {
    background: transparent !important;
  }
}

.pricing-tables-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.pricing-tables-two-col .pricing-card {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .pricing-tables-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-table {
    overflow-x: visible;
  }

  .pricing-table table {
    min-width: 0 !important;
    display: block;
    border: none;
    background: transparent;
    border-radius: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .pricing-table tr {
    display: block;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
  }

  .pricing-table tr:hover td:not(:first-child) {
    background: transparent;
  }

  .pricing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid #D0DDE9;
  }

  /* Na mobile pierwsza komorka = naglowek karty */
  .pricing-table td:first-child {
    background: #031B34;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px !important;
    border-top: none;
    justify-content: flex-start;
    border-radius: 16px 16px 0 0;
  }

  /* Ceny na mobile - zachowaj kolor */
  .pricing-table td:not(:first-child) {
    color: #185FA5;
    font-weight: 600;
    font-size: 14px !important;
  }

  .pricing-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #4A5B6D;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .pricing-table td:first-child::before {
    display: none;
  }

  .pricing-table td:last-child {
    border-radius: 0 0 14px 14px;
  }

  .pricing-card {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
  }

  .pricing-table {
    margin-top: 0;
  }

  .pricing-note {
    margin-top: 12px;
  }
}

/* ========================
   NOTA POD TABELA - CALLOUT
======================== */

.pricing-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5b6d;
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid #9FE1CB;
  background: #f8fbfe;
  border-radius: 0 12px 12px 0;
}

.pricing-note::before {
  content: "i";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #185FA5;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  margin-top: 1px;
}

/* ========================
   CTA MID-PAGE - DARK
======================== */

.pricing-cta {
  background: #031B34;
  border-radius: 32px;
  padding: 42px;
  margin: 70px auto;
  max-width: 1484px;
}

.pricing-cta h2 {
  color: #ffffff;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pricing-cta p {
  color: #9FE1CB;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Przycisk primary - niebieski fill */
.wp-block-buttons .pricing-buttons:first-child a {
  background: #185fa5 !important;
  color: #ffffff !important;
  border: 2px solid #185fa5 !important;
  border-radius: 999px !important;
  padding: 15px 28px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.wp-block-buttons .pricing-buttons:first-child a:hover {
  background: #0c447c !important;
  border-color: #0c447c !important;
}

/* Przycisk ghost - na ciemnym tle bialy */
.wp-block-buttons .pricing-buttons:last-child a {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  padding: 15px 28px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.wp-block-buttons .pricing-buttons:last-child a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* ========================
   CZYNNIKI - GRID 4 KAFLE
======================== */

.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 32px;
  max-width: 1484px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-factor-card {
  background: #ffffff;
  border: 1px solid #dce6f0;
  border-left: 3px solid #185FA5;
  border-radius: 0 24px 24px 0;
  padding: 28px 28px 28px 24px;
  min-height: 160px;
}

.pricing-factor-card strong {
  display: block;
  color: #031b34;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.pricing-factor-card p,
.pricing-factor-card br + * {
  color: #4a5b6d;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 46px 0;
  }

  .pricing-cta {
    padding: 26px;
    border-radius: 24px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .pricing-cta .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .pricing-cta .wp-block-buttons .pricing-buttons {
    width: 100% !important;
  }

  .pricing-cta .wp-block-buttons .pricing-buttons a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    padding: 16px 29px 16px 26px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pricing-factor-card {
    padding: 22px 22px 22px 20px;
    min-height: auto;
  }

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

/* ========================
   FAQ
======================== */

div.pricing-faq-section {
  padding: 70px 0;
  max-width: 1484px;
  margin-left: auto;
  margin-right: auto;
}

div.pricing-faq-section > h2,
h2.pricing-faq-section {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #031b34;
  margin-bottom: 28px;
  padding: 0;
}

.pricing-faq-item {
  background: #ffffff !important;
  border: 1px solid #dce6f0 !important;
  border-radius: 22px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
}

.pricing-faq-item summary {
  display: block !important;
  padding: 22px 26px !important;
  cursor: pointer !important;
  color: #031b34 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.pricing-faq-item p {
  padding: 0 26px 24px !important;
  margin: 0 !important;
  color: #4a5b6d !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.pricing-faq-item[open] {
  box-shadow: 0 14px 34px rgba(12, 68, 124, 0.08);
}

@media (max-width: 768px) {
  .pricing-faq-item {
    margin-left: 15px;
  }

  div.pricing-faq-section {
    padding: 5px 0;
  }
}

/* ========================
   LINKI WEWNETRZNE - 4 KAFLE
======================== */

.dw-links-section {
  padding: 40px 0 60px;
  border-top: 1px solid #DCE6F0;
}

.dw-links-section h2 {
  font-size: 13px;
  font-weight: 600;
  color: #4A5B6D;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dw-links-section p {
  display: none;
}

.dw-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  box-sizing: border-box;
  max-width: 1484px;
  margin-left: auto;
  margin-right: auto;
}

.dw-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 20px;
  background: #F8FBFE;
  border: 1px solid #DCE6F0;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  color: #185FA5;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.dw-link-card:hover {
  background: #EAF3FB;
  border-color: #9DBFE0;
  color: #0C447C;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

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

@media (max-width: 768px) {
  .dw-links-section {
    padding: 32px 0 40px;
  }

  .dw-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 15px;
  }

  .dw-link-card {
    min-height: 60px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
  }
}

/* ========================
   MOBILE TYPOGRAPHY
======================== */

@media (max-width: 768px) {
  .pricing-hero-title {
    font-size: 32px !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    margin-bottom: 16px !important;
  }

  .pricing-lead {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .pricing-section-lead {
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
  }

  .pricing-section-title,
  div.pricing-faq-section > h2,
  h2.pricing-faq-section,
  .dw-links-section h2,
  .pricing-cta h2 {
    font-size: 24px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.3px !important;
  }

  .pricing-faq-item summary {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .pricing-faq-item p {
    font-size: 14px !important;
  }

  .dw-link-card {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .pricing-note {
    font-size: 13px !important;
  }
}

/* ========================
   STICKY CTA MOBILE
======================== */

.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #185FA5;
  padding: 12px 20px;
  z-index: 999;
  text-align: center;
}

.sticky-cta-mobile .btn-call {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }
}

/* Hero CTA — frosted glass button */
.home_header_buttons a:nth-child(2),
.home_header_buttons a:nth-child(n+2) {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 6px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #fff !important;
}

 

