/* Страницы: контакты, карточки услуг, шаги, FAQ, цены печати, CTA, договор, список услуг */

/* =========================================
   9) SERVICE CARDS
   ========================================= */
.pcr-service-card{
  background: #ffffff;
  border-radius: var(--pcr-radius-lg);
  padding: 40px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pcr-service-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.pcr-service-card figure{
  margin: 0 0 25px 0;
  width: 150px;
  height: 150px;
}

.pcr-service-card img{
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 150, 136, 0.25);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcr-service-card:hover img{
  transform: scale(1.06) rotate(4deg);
}

.pcr-service-card .pcr-card-title{
  font-size: 20px;
  font-weight: 800;
  color: var(--pcr-text);
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.pcr-card-desc{
  font-size: 15px;
  color: #7f8c8d;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   11) FAQ
   ========================================= */
.pcr-faq{
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pcr-faq .wp-block-details{
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 15px 20px;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.pcr-faq .wp-block-details[open]{
  border-color: var(--pcr-brand);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background-color: #fafdfd;
}

.pcr-faq .wp-block-details summary{
  font-weight: 600;
  color: var(--pcr-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.pcr-faq .wp-block-details summary::-webkit-details-marker{ display: none; }

.pcr-faq .wp-block-details summary::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--pcr-brand);
  font-weight: 300;
}
.pcr-faq .wp-block-details[open] summary::after{ content: "−"; }

.pcr-faq .wp-block-details p{
  margin-top: 15px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   12) SECTION TITLE
   ========================================= */
.section-title{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #95a5a6;
  text-align: center;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after{
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--pcr-brand);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* =========================================
   13) PRINTING PRICE CARDS
   ========================================= */
.pcr-price-card{
  background: #ffffff;
  border-radius: var(--pcr-radius-md);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--pcr-shadow-md);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow .25s ease;
}
.pcr-price-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.pcr-price-card .wp-block-columns{
  gap: 30px;
}

.pcr-price-card h3{
  font-size: 20px;
  font-weight: 700;
  color: var(--pcr-text);
  margin-bottom: 5px;
}

.pcr-price-card p{
  color: #7f8c8d;
  font-size: 14px;
  margin: 0;
}

.pcr-price-card .wp-block-image img{
  width: 80px;
  height: auto;
}

.pcr-price-card table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

.pcr-price-card thead tr{
  background-color: var(--pcr-brand-btn);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.pcr-price-card th,
.pcr-price-card td{
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.pcr-price-card tbody td:first-child{
  text-align: left;
  font-weight: 600;
  color: var(--pcr-text);
}

.pcr-price-card tbody tr:nth-child(even){
  background-color: #f9fbfb;
}

@media (max-width: 780px){
  .pcr-price-card .wp-block-columns{
    flex-direction: column;
    gap: 20px;
  }
  .pcr-price-card .wp-block-column:last-child{
    width: 100%;
    overflow-x: auto;
  }
  .pcr-price-card table{ min-width: 300px; }
}

/* =========================================
   14) CTA SIMPLE
   ========================================= */
.pcr-cta-simple{
  background-color: var(--pcr-text);
  border-radius: var(--pcr-radius-md);
  padding: 50px 20px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pcr-cta-simple h2{
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 700;
}
.pcr-cta-buttons-center{
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pcr-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcr-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.pcr-btn-primary{ background-color: var(--pcr-brand-btn); }
.pcr-btn-wa{ background-color: #25D366; }

@media (max-width: 600px){
  .pcr-btn{ width: 100%; }
}

/* =========================================
   15) "How we work" list
   ========================================= */
.pcr-work-steps{
  max-width: 800px;
  margin: 0 auto;
}

.pcr-step-item{
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}
.pcr-step-item:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pcr-step-num{
  font-size: 24px;
  font-weight: 800;
  color: var(--pcr-brand);
  line-height: 1;
  min-width: 30px;
}

.pcr-step-content h3{
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--pcr-text);
}

.pcr-step-content p{
  margin: 0;
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* =========================================
   16) Contract row
   ========================================= */
.pcr-contract-row{
  background-color: #fdfdfd;
  border: 1px solid #e5e5e5;
  border-left: 5px solid var(--pcr-brand);
  border-radius: 4px;
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.pcr-contract-row .wp-block-columns{
  gap: 40px;
  align-items: center;
}

.pcr-contract-row :is(h2,h3){
  color: var(--pcr-text);
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.pcr-contract-row p{
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.pcr-contract-row ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.pcr-contract-row li{
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--pcr-text);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.pcr-contract-row li::before{
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pcr-brand);
  font-weight: 800;
}

@media (max-width: 900px){
  .pcr-contract-row .wp-block-columns{
    flex-direction: column;
    gap: 20px;
  }
  .pcr-contract-row{
    padding: 25px;
    border-left: 1px solid #e5e5e5;
    border-top: 5px solid var(--pcr-brand);
  }
}

/* =========================================
   17) Services page list -> cards
   ========================================= */
.pcr-services-page-list .wp-block-page-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.pcr-services-page-list .wp-block-page-list > li{
  position: relative;
  background: #fff;
  border: 1px solid var(--pcr-border);
  border-radius: var(--pcr-radius-md);
  padding: 18px 44px 18px 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 92px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pcr-services-page-list .wp-block-page-list > li:hover{
  transform: translateY(-6px);
  box-shadow: var(--pcr-shadow-lg);
}

.pcr-services-page-list .wp-block-page-list a{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--pcr-text);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.3;
}

.pcr-services-page-list .wp-block-page-list a::before{
  content:"";
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: #e0f2f1 center/cover no-repeat;
  box-shadow: 0 10px 25px rgba(0,150,136,0.18);
}

.pcr-services-page-list .wp-block-page-list > li::after{
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(44,62,80,0.55);
  font-weight: 800;
  transition: transform .2s ease, color .2s ease;
}

.pcr-services-page-list .wp-block-page-list > li:hover::after{
  transform: translateY(-50%) translateX(4px);
  color: var(--pcr-brand);
}

.pcr-services-page-list .wp-block-page-list a:hover{
  color: var(--pcr-brand);
}

.pcr-services-page-list .wp-block-page-list ul{ display:none; }

/* Atteikties no līguma (обновление №15, inc/withdrawal.php) */
.pcr-withdrawal-title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	line-height: 1.2;
}
.woocommerce-order-withdrawal-content {
	max-width: 42rem;
}
