/*
Theme Name: Fluffy Paw
Description: Велика Ведмедиця - clean + strong hover effectshttps://vetbm.kiev.ua/wp-admin/theme-editor.php?file=style.css&theme=fluffy-paw
Version: 2.2
*/

:root {
  --primary: #2E64FE;
  --primary-dark: #1a4fd8;
  --primary-light: #63d5ff;
  --radius: 18px;
}

/* ===== БАЗА ===== */
body {
  font-family: 'Open Sans', system-ui, sans-serif !important;
  color: #3c3c3c !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', system-ui, sans-serif !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  line-height: 1.3 !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

a {
  text-decoration: none !important;
  transition: all 0.35s ease !important;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-block !important;
  font-weight: 600 !important;
  text-align: center !important;
  border-radius: 50px !important;
  padding: 0.7rem 1.8rem !important;
  transition: all 0.35s ease !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
}

.btn-primary {
  background: linear-gradient(135deg, #2E64FE, #3d7bff) !important;
  color: #fff !important;
  border-color: #2E64FE !important;
  box-shadow: 0 6px 20px rgba(46, 100, 254, 0.3) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a4fd8, #2E64FE) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(46, 100, 254, 0.4) !important;
}

.btn-outline-primary {
  background: transparent !important;
  border-color: #2E64FE !important;
  color: #2E64FE !important;
}

.btn-outline-primary:hover {
  background: #2E64FE !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(46, 100, 254, 0.25) !important;
}

.btn-sm {
  padding: 0.45rem 1.3rem !important;
  font-size: 0.85rem !important;
}

/* ===== СІТКА ===== */
.container {
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -12px !important;
  margin-right: -12px !important;
}

.row > * {
  padding-left: 12px !important;
  padding-right: 12px !important;
  width: 100% !important;
}

.g-4 > * {
  margin-bottom: 24px !important;
}

.col-6 { width: 50% !important; }
.col-md-3 { width: 100% !important; }
.col-md-4 { width: 100% !important; }
.col-md-6 { width: 100% !important; }
.col-lg-4 { width: 100% !important; }
.col-lg-6 { width: 100% !important; }
.col-lg { width: 100% !important; }

@media (min-width: 768px) {
  .col-md-3 { width: 25% !important; }
  .col-md-4 { width: 33.3333% !important; }
  .col-md-6 { width: 50% !important; }
}

@media (min-width: 992px) {
  .col-lg-4 { width: 33.3333% !important; }
  .col-lg-6 { width: 50% !important; }
  .col-lg { width: 20% !important; }
}

.align-items-center { align-items: center !important; }
.text-center { text-align: center !important; }
.bg-light { background-color: #f7f9fc !important; }
.py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }

/* ===== ПРИБИРАЄМО ОБМЕЖЕННЯ ТЕМИ ===== */
.home .site-content,
.home .site-main,
.home .post-container,
.home .entry-content,
.home .page-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

.home .site__sidebar,
.home .secondary,
.home aside {
  display: none !important;
}

.home .site__content,
.home .col-sm-8,
.home .col-sm-9 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%) !important;
  padding: 90px 0 70px !important;
}

.hero-section h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem) !important;
  margin-bottom: 1.3rem !important;
  color: #2c3e50 !important;
}

.hero-section .lead {
  font-size: 1.2rem !important;
  color: #6c757d !important;
  max-width: 520px !important;
  margin-bottom: 2rem !important;
}

.hero-section img {
  border-radius: 18px !important;
  background: #dde6ff !important;
  min-height: 320px !important;
  width: 100% !important;
  object-fit: cover !important;
  box-shadow: 0 20px 50px rgba(46, 100, 254, 0.15) !important;
}

/* ===== ЛІЧИЛЬНИКИ ===== */
.counter-box {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 2.2rem 1.2rem !important;
  text-align: center !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  height: 100% !important;
  border: 1px solid rgba(0,0,0,0.03) !important;
}

.counter-box:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 50px rgba(46, 100, 254, 0.2) !important;
}

.counter-box .number {
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  color: #2E64FE !important;
  line-height: 1.1 !important;
  margin-bottom: 8px !important;
  display: block !important;
  transition: all 0.35s ease !important;
}

.counter-box:hover .number {
  transform: scale(1.1) !important;
  color: #1a4fd8 !important;
}

/* ===== КАРТКИ ПОСЛУГ (головний ефект) ===== */
.service-card {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 2.4rem 1.7rem !important;
  text-align: center !important;
  height: 100% !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  background: linear-gradient(90deg, #2E64FE, #63d5ff) !important;
  opacity: 0 !important;
  transition: all 0.4s ease !important;
}

.service-card:hover {
  transform: translateY(-16px) !important;
  box-shadow: 0 22px 55px rgba(46, 100, 254, 0.25) !important;
  border-color: rgba(46, 100, 254, 0.15) !important;
}

.service-card:hover::before {
  opacity: 1 !important;
}

.icon-wrapper {
  width: 90px !important;
  height: 90px !important;
  margin: 0 auto 1.6rem !important;
  background: linear-gradient(135deg, #e8f0ff, #f0f7ff) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 8px 20px rgba(46, 100, 254, 0.12) !important;
}

.service-card:hover .icon-wrapper {
  background: linear-gradient(135deg, #2E64FE, #63d5ff) !important;
  transform: scale(1.15) translateY(-6px) !important;
  box-shadow: 0 14px 35px rgba(46, 100, 254, 0.35) !important;
}

.service-icon {
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  transition: all 0.35s ease !important;
}

.service-card:hover .service-icon {
  filter: brightness(0) invert(1) !important;
}

.service-card h4 {
  font-size: 1.18rem !important;
  margin-bottom: 0.9rem !important;
  color: #2c3e50 !important;
  transition: all 0.3s ease !important;
}

.service-card:hover h4 {
  color: #2E64FE !important;
}

.service-card p {
  color: #6c757d !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.6rem !important;
  flex-grow: 1 !important;
}

.service-card .btn {
  align-self: center !important;
  margin-top: auto !important;
}

/* ===== КАТЕГОРІЇ ===== */
.category-card {
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  height: 260px !important;
  background: #e4eaf5 !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}

.category-card:hover {
  transform: translateY(-14px) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,0.16) !important;
}

.category-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}

.category-card:hover img {
  transform: scale(1.12) !important;
}

.category-card .overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 65%) !important;
  display: flex !important;
  align-items: flex-end !important;
  padding: 1.5rem !important;
  transition: all 0.4s ease !important;
}

.category-card:hover .overlay {
  background: linear-gradient(to top, rgba(46, 100, 254, 0.8) 0%, transparent 65%) !important;
}

.category-card h3 {
  color: #fff !important;
  margin: 0 !important;
  font-size: 1.35rem !important;
  transition: all 0.35s ease !important;
}

.category-card:hover h3 {
  transform: translateY(-5px) !important;
}

/* ===== ЦІНИ ===== */
.price-card {
  background: linear-gradient(145deg, #2E64FE, #1a4fd8) !important;
  color: #fff !important;
  border-radius: 18px !important;
  padding: 2.5rem 1.7rem !important;
  text-align: center !important;
  height: 100% !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 12px 35px rgba(46, 100, 254, 0.28) !important;
}

.price-card:hover {
  transform: translateY(-14px) !important;
  box-shadow: 0 24px 55px rgba(46, 100, 254, 0.4) !important;
}

.price-card h4,
.price-card .price {
  color: #fff !important;
}

.price-card .price {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin: 1rem 0 1.4rem !important;
}

/* ===== ВІДГУКИ І НОВИНИ ===== */
.testimonial-card,
.news-card {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  height: 100% !important;
}

.testimonial-card {
  padding: 2.2rem !important;
}

.testimonial-card:hover,
.news-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 22px 50px rgba(46, 100, 254, 0.2) !important;
}

.news-card img {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover !important;
  background: #e4eaf5 !important;
  transition: transform 0.5s ease !important;
}

.news-card:hover img {
  transform: scale(1.08) !important;
}

.news-card .card-body {
  padding: 1.6rem !important;
}

/* ===== МОБІЛЬНА ===== */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0 45px !important;
    text-align: center !important;
  }
  .hero-section .lead {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-section img {
    margin-top: 2rem !important;
  }
}

@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 1.95rem !important;
  }
  .counter-box .number {
    font-size: 2rem !important;
  }
  .service-card {
    padding: 1.9rem 1.4rem !important;
  }
  .category-card {
    height: 220px !important;
  }
}
/* Вбиваємо порожні параграфи, які WordPress вставляє */
.row > p,
.row > p:empty,
.g-4 > p,
.g-4 > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
}

/* Примусово робимо картки нормальними */
.service-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 2.2rem 1.5rem !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-align: center !important;
}

.service-card:hover {
  transform: translateY(-14px) !important;
  box-shadow: 0 22px 50px rgba(46, 100, 254, 0.22) !important;
}

.icon-wrapper {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.4rem !important;
  background: linear-gradient(135deg, #e8f0ff, #f0f7ff) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s ease !important;
}

.service-card:hover .icon-wrapper {
  background: linear-gradient(135deg, #2E64FE, #63d5ff) !important;
  transform: scale(1.12) !important;
}
/* ===== Контакти в хедері — один рядок ===== */
.header-contacts {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  font-size: 12.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow-x: auto;
}

.header-contacts span {
  color: #555;
  font-weight: 500;
}

.header-contacts a {
  color: #2E64FE;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-contacts a:hover {
  color: #1a4fd8;
  text-decoration: underline;
}

.header-contacts .sep {
  margin: 0 10px;
  color: #ccc;
  font-weight: 400;
}

/* На планшетах і мобільних трохи зменшуємо */
@media (max-width: 1199px) {
  .header-contacts {
    font-size: 11.5px;
  }
  .header-contacts .sep {
    margin: 0 7px;
  }
}

@media (max-width: 991px) {
  .header-contacts {
    justify-content: center;
    font-size: 11px;
  }
}