/* Блоки страниц: hero, сетка услуг, таблица цен, мини-карта */

/* =========================================
   3) HERO SECTION
   ========================================= */
.pcr-hero-section{
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfc 100%);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(0,96,136, 0.05);
  position: relative;
  z-index: 1;
}

.pcr-hero-text-col{ padding-right: 40px; }

.pcr-hero-title{
  color: var(--pcr-text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.pcr-hero-desc{
  color: var(--pcr-muted);
  margin-bottom: 30px;
  max-width: 480px;
}

.pcr-hero-buttons{
  margin-bottom: 35px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pcr-btn-main .wp-block-button__link{
  background-color: var(--pcr-brand-btn);
  border-radius: 999px;
  padding: 12px 35px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color .2s ease;
  text-decoration: none;
}
.pcr-btn-main .wp-block-button__link:hover{
  transform: translateY(-2px);
  background-color: var(--pcr-brand-btn-hover);
}

.pcr-hero-3d-img img{
  width: 100%;
  height: auto;
  max-width: 480px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: pcr-float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

@keyframes pcr-float{
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@media (max-width: 960px){
  .pcr-hero-section{
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
  }
  .pcr-hero-section .wp-block-columns{
    flex-direction: column-reverse;
    gap: 30px;
  }
  .pcr-hero-text-col{ padding-right: 0; }
  .pcr-hero-desc{ margin: 0 auto 30px auto; }
  .pcr-hero-buttons{ justify-content: center; }
}

/* =========================================
   4) SERVICES GRID
   ========================================= */
.pcr-grid-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 10px 0;
  margin-bottom: 40px;
}

.pcr-card{
  background: #fff;
  border-radius: var(--pcr-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.02);
}

.pcr-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.pcr-card-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #e0f2f1;
}

.pcr-card .pcr-card-title{
  padding: 10px 15px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--pcr-text);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 80px;
}

.pcr-card:hover .pcr-card-title{ color: var(--pcr-brand); }

/* =========================================
   6) MINI MAP BLOCK
   ========================================= */
.pcr-mini-map{
  margin-top: 60px;
  margin-bottom: 60px;
  background-color: var(--pcr-bg-soft);
  border-radius: var(--pcr-radius-lg);
  padding: 40px 30px;
  overflow: hidden;
}

.pcr-mini-map-cols{ gap: 50px; }

.pcr-map-embed iframe{
  width: 100%;
  border: 0;
  border-radius: var(--pcr-radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 260px;
}

@media (min-width: 900px){
  .pcr-map-embed iframe{ min-height: 350px; }
}

.pcr-mini-map-title{
  font-size: 28px;
  margin: 0 0 20px 0;
  color: var(--pcr-text);
}

.pcr-mini-map-text{
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.pcr-mini-map-actions .wp-block-button__link{
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
}

.pcr-mini-map-actions .is-style-fill .wp-block-button__link{
  background-color: var(--pcr-brand-btn);
  color: #fff;
}

.pcr-mini-map-actions .is-style-outline .wp-block-button__link{
  color: var(--pcr-text);
  border-color: var(--pcr-text);
}

@media (max-width: 900px){
  .pcr-mini-map-cols{ flex-direction: column; }
  .pcr-mini-map{ padding: 20px; }
}
