/* ==========================================================
   Services & Pricing page (/cost). Classes are prefixed pr- to avoid clashing with theme styles.
   ========================================================== */

.pr-serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.pr-section {
  padding: 100px 0;
}

.pr-section.pt-0 {
  padding-top: 0;
}

.pr-hero .sub-head,
.pr-sec-head .sub-head,
.pr-cta .sub-head {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a4a4a4;
}

.pr-hero .sub-head:after,
.pr-sec-head .sub-head:after,
.pr-cta .sub-head:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
}

.pr-center {
  display: table !important;
  margin: 0 auto;
}

.pr-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.pr-icon .material-symbols-outlined {
  font-size: 24px;
  color: #fff;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.butn.pr-solid {
  background: #fff;
  color: #1d1d1d;
  border: 1px solid #fff;
}

.butn.pr-solid:hover {
  background: rgba(255, 0, 0, 0.5);
  border-color: transparent;
  color: #fff;
}

.butn.pr-solid .icon img {
  filter: none;
}

/* ---------- Hero ---------- */
.pr-hero {
  padding: 200px 0 60px;
  text-align: center;
}

.pr-hero h1 {
  font-size: 88px;
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 24px 0;
}

.pr-hero p {
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.pr-jump {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pr-jump a {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #a4a4a4;
  transition: all .3s;
}

.pr-jump a:hover {
  color: #fff;
  border-color: rgba(255, 0, 0, 0.5);
}

/* ---------- How pricing works ---------- */
.pr-how {
  padding: 40px 0 100px;
}

.pr-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pr-how-card {
  padding: 30px;
  border-radius: 20px;
  background: #212121;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pr-how-card .pr-icon {
  margin-bottom: 40px;
}

.pr-how-card h5 {
  margin-bottom: 8px;
}

.pr-how-card p {
  font-size: 14px;
  line-height: 1.6;
}

.pr-how-card .ex {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #fff;
}

/* ---------- Section heads ---------- */
.pr-sec-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 60px;
}

.pr-sec-head h3 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0;
}

/* ---------- Packages ---------- */
.pr-bundles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pr-bundle {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 24px;
  background: #212121;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-bundle.pop {
  background: linear-gradient(160deg, rgba(255, 0, 0, 0.22), #212121 55%);
  border-color: rgba(255, 0, 0, 0.5);
}

.pr-bundle .badge {
  position: absolute;
  top: -12px;
  left: 36px;
  padding: 5px 12px;
  border-radius: 30px;
  background: #ff3b3b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pr-bundle .for {
  font-size: 14px;
  margin: 6px 0 26px;
  min-height: 44px;
}

.pr-bundle .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pr-bundle .price b {
  font-size: 44px;
  letter-spacing: -1.5px;
  color: #fff;
}

.pr-bundle .price span {
  font-size: 14px;
  color: #a4a4a4;
}

.pr-bundle .plus {
  margin-top: 4px;
  font-size: 15px;
}

.pr-bundle .plus b {
  font-size: 20px;
}

.pr-bundle .save {
  align-self: flex-start;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 30px;
  background: rgba(111, 220, 149, 0.1);
  color: #6fdc95;
  font-size: 12px;
  font-weight: 600;
}

.pr-bundle ul {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
}

.pr-bundle li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.pr-bundle li:before {
  content: "\2713";
  color: #6fdc95;
  font-weight: 700;
}

.pr-bundle .butn {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}

/* ---------- Package comparison ---------- */
.pr-matrix-wrap {
  overflow-x: auto;
}

.pr-matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.pr-matrix th,
.pr-matrix td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pr-matrix th:first-child,
.pr-matrix td:first-child {
  text-align: left;
  color: #a4a4a4;
  width: 32%;
}

.pr-matrix thead th {
  vertical-align: bottom;
  padding-bottom: 24px;
}

.pr-matrix thead .p {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 8px;
}

.pr-matrix thead .pm {
  font-size: 13px;
  font-weight: 400;
  color: #a4a4a4;
}

.pr-matrix .col-pop {
  background: rgba(255, 0, 0, 0.08);
}

.pr-matrix thead .col-pop {
  border-top: 2px solid #ff3b3b;
  border-radius: 18px 18px 0 0;
}

.pr-matrix .cta-row td {
  border-bottom: 0;
  padding-top: 26px;
}

.pr-matrix .cta-row .col-pop {
  border-radius: 0 0 18px 18px;
}

.pr-matrix .y {
  color: #6fdc95;
  font-weight: 700;
  font-size: 18px;
}

.pr-matrix .n {
  color: #4a4a4a;
}

.pr-matrix .addon {
  color: #a4a4a4;
  font-size: 13px;
}

.pr-matrix .t {
  color: #fff;
  font-weight: 600;
}

/* ---------- Price list ---------- */
.pr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pr-tab {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  color: #a4a4a4;
  font-size: 14px;
  cursor: pointer;
}

.pr-tab.active {
  background: #fff;
  border-color: #fff;
  color: #1d1d1d;
  font-weight: 600;
}

.pr-cat-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 50px 0 20px;
}

.pr-cat-title .num {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 22px;
  color: #ff3b3b;
}

.pr-cat-title h4 {
  margin: 0;
}

.pr-cat-title p {
  margin-left: auto;
  font-size: 14px;
}

.pr-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pr-svc {
  padding: 28px;
  border-radius: 20px;
  background: #212121;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color .3s;
}

.pr-svc:hover {
  border-color: rgba(255, 0, 0, 0.5);
}

.pr-svc .top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pr-svc h5 {
  font-size: 18px;
  margin: 0;
}

.pr-svc .desc {
  font-size: 13px;
  margin-top: 4px;
}

.pr-svc .from {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.pr-svc .from small {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6f6f6f;
}

.pr-svc .from b {
  font-size: 22px;
  letter-spacing: -.5px;
  color: #fff;
}

.pr-svc .from em {
  font-style: normal;
  font-size: 13px;
  color: #a4a4a4;
}

.pr-svc .tiers {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.pr-svc .tier {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #181818;
  font-size: 13px;
}

.pr-svc .t-name b {
  display: block;
  font-size: 14px;
  color: #fff;
}

.pr-svc .t-name span {
  font-size: 12px;
  color: #6f6f6f;
}

.pr-svc .t-col {
  min-width: 90px;
  text-align: right;
  color: #fff;
}

.pr-svc .t-col small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6f6f6f;
}

.pr-svc .note {
  margin-top: 12px;
  font-size: 12px;
  color: #6f6f6f;
}

/* ---------- Estimator ---------- */
.pr-est-section {
  background: #141414;
}

.pr-est {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.pr-est-list {
  padding: 10px 26px;
  border-radius: 24px;
  background: #212121;
}

.pr-est-cat {
  padding: 22px 0 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff3b3b;
}

.pr-est-row {
  display: grid;
  grid-template-columns: 28px 1fr 240px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-est-row input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pr-est-row input[type=checkbox]:checked {
  background: #ff3b3b;
  border-color: #ff3b3b;
}

.pr-est-row input[type=checkbox]:checked:after {
  content: "\2713";
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.pr-est-row label {
  margin: 0;
  font-size: 15px;
  cursor: pointer;
}

.pr-est-row select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #181818;
  color: #fff;
  font-size: 13px;
}

.pr-est-row select:disabled {
  opacity: .35;
}

.pr-summary {
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: #1d1d1d;
}

.pr-summary h6 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

.pr-summary .tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e6e6e6;
}

.pr-summary .tot span {
  font-size: 14px;
  color: #555;
}

.pr-summary .tot b {
  font-size: 34px;
  letter-spacing: -1px;
  color: #1d1d1d;
}

.pr-summary .picked {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  font-size: 13px;
}

.pr-summary .picked li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  color: #444;
}

.pr-summary .picked li b {
  color: #1d1d1d;
  font-weight: 600;
  white-space: nowrap;
}

.pr-summary .tip {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4d6;
  font-size: 13px;
}

.pr-summary .tip.show {
  display: block;
}

.pr-summary .butn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.butn.pr-dark {
  background: #1d1d1d;
  color: #fff;
  border: 1px solid #1d1d1d;
}

.butn.pr-dark:hover {
  background: #ff3b3b;
  border-color: #ff3b3b;
}

.butn.pr-outline-dark {
  border: 1px solid #1d1d1d;
  color: #1d1d1d;
}

.pr-summary .fine {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #888;
}

/* ---------- FAQ ---------- */
.pr-faq {
  max-width: 900px;
}

.pr-faq details {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

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

.pr-faq summary:after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: #a4a4a4;
}

.pr-faq details[open] summary:after {
  content: "\2212";
}

.pr-faq details p {
  max-width: 760px;
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- CTA ---------- */
.pr-cta h2 {
  max-width: 860px;
  margin: 20px auto 30px;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .pr-hero {
    padding: 150px 0 40px;
  }

  .pr-hero h1 {
    font-size: clamp(34px, 8.5vw, 52px);
    letter-spacing: -1.5px;
  }

  .pr-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pr-sec-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pr-sec-head h3 {
    font-size: 30px;
  }

  .pr-bundles,
  .pr-svc-grid,
  .pr-est {
    grid-template-columns: 1fr;
  }

  .pr-bundle.pop {
    margin-top: 10px;
  }

  .pr-cta h2 {
    font-size: 36px;
  }
}

@media screen and (max-width: 575px) {
  .pr-section {
    padding: 70px 0;
  }

  .pr-how-grid {
    grid-template-columns: 1fr;
  }

  .pr-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .pr-tab {
    white-space: nowrap;
  }

  .pr-svc .top {
    flex-wrap: wrap;
  }

  .pr-svc .from {
    margin-left: 66px;
    text-align: left;
  }

  .pr-svc .tier {
    grid-template-columns: 1fr auto;
  }

  .pr-svc .tier .t-name {
    grid-column: span 2;
  }

  .pr-svc .t-col {
    text-align: left;
  }

  .pr-est-row {
    grid-template-columns: 28px 1fr;
  }

  .pr-est-row select {
    grid-column: 2;
  }
}

/* ---------- Quote request form (inside the estimate panel) ---------- */
.pr-summary button.butn {
  cursor: pointer;
  font-family: inherit;
}

.pr-quote,
.pr-quote-done {
  display: none;
  margin-top: 10px;
}

.pr-quote.show,
.pr-quote-done.show {
  display: block;
}

.pr-quote input,
.pr-quote textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  color: #1d1d1d;
  font-family: inherit;
  font-size: 14px;
}

.pr-quote input:focus,
.pr-quote textarea:focus {
  outline: none;
  border-color: #ff3b3b;
  background: #fff;
}

.pr-quote .pr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pr-quote-error {
  min-height: 0;
  margin: 0 0 6px;
  font-size: 13px;
  color: #d92020;
}

.pr-quote button[disabled] {
  opacity: .6;
  cursor: wait;
}

.pr-quote-done {
  padding: 16px;
  border-radius: 12px;
  background: #e8f8ee;
}

.pr-quote-done b {
  color: #1a9b4b;
}

.pr-quote-done p {
  margin-top: 4px;
  font-size: 13px;
  color: #444;
}

/* ---------- Live demo ---------- */
.pr-demo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #212121;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.pr-demo > .material-symbols-outlined {
  font-size: 32px;
  color: #ff3b3b;
}

.pr-demo h5 {
  margin-bottom: 4px;
}

.pr-demo p {
  font-size: 14px;
}

.pr-demo .butn {
  margin-left: auto;
  flex-shrink: 0;
}

.pr-demo-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1d;
  text-decoration: underline;
}

.pr-demo-link:hover {
  color: #ff3b3b;
}

@media screen and (max-width: 767px) {
  .pr-demo {
    flex-direction: column;
    align-items: flex-start;
  }

  .pr-demo .butn {
    margin-left: 0;
  }
}
