/* =========================================================
   PETMY – Brand Override CSS
   Primary: #8753DE  (violet)
   ========================================================= */

:root {
  --petmy-primary:       #8753DE;
  --petmy-primary-dark:  #6B3FBD;
  --petmy-primary-light: #A97AEF;
  --petmy-accent:        #FF6B6B;
  --petmy-teal:          #2CC4B7;
  --petmy-dark:          #1A1030;
  --petmy-card-bg:       rgba(255,255,255,0.04);
  --petmy-glass:         rgba(135,83,222,0.12);
}

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

body {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6,.navbar-brand {
  font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif;
}

/* ---- Primary Color Overrides ---- */
.btn-primary, .btn-theme {
  background-color: var(--petmy-primary) !important;
  border-color: var(--petmy-primary) !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-theme:hover {
  background-color: var(--petmy-primary-dark) !important;
  border-color: var(--petmy-primary-dark) !important;
}
.btn-outline-primary {
  border-color: var(--petmy-primary) !important;
  color: var(--petmy-primary) !important;
}
.btn-outline-primary:hover {
  background-color: var(--petmy-primary) !important;
  color: #fff !important;
}

a { color: var(--petmy-primary); }
a:hover { color: var(--petmy-primary-dark); }

.text-theme, .text-primary { color: var(--petmy-primary) !important; }
.bg-theme, .bg-primary { background-color: var(--petmy-primary) !important; }

/* ---- NAVBAR ---- */
#header .navbar {
  background: rgba(26, 16, 48, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135,83,222,0.25);
  padding: 14px 0;
  transition: all 0.35s ease;
}
#header .navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(135,83,222,0.18);
}
#header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.5px;
}
#header .navbar-brand .brand-paw {
  font-size: 1.8rem;
  line-height: 1;
}
#header .navbar-nav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 8px 16px !important;
  transition: color 0.2s;
}
#header .navbar-nav .nav-link:hover,
#header .navbar-nav .nav-link.active {
  color: #fff !important;
}
#header .navbar-nav .nav-link.nav-cta {
  background: var(--petmy-primary);
  border-radius: 50px;
  padding: 8px 20px !important;
  color: #fff !important;
  margin-left: 8px;
}
#header .navbar-nav .nav-link.nav-cta:hover {
  background: var(--petmy-primary-dark);
}

/* ---- HERO ---- */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1A1030 0%, #2D1060 50%, #1A1030 100%);
  overflow: hidden;
}
#home .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(135,83,222,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(44,196,183,0.12) 0%, transparent 60%);
  pointer-events: none;
}
#home .hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(135,83,222,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135,83,222,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
#home .hero-floating-pet {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  opacity: 0.06;
  animation: floatPaw 6s ease-in-out infinite;
  pointer-events: none;
  line-height: 1;
}
@keyframes floatPaw {
  0%,100% { transform: translateY(-50%) rotate(-5deg); }
  50% { transform: translateY(-54%) rotate(5deg); }
}
#home .hero-content {
  position: relative;
  z-index: 2;
}
#home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(135,83,222,0.2);
  border: 1px solid rgba(135,83,222,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--petmy-primary-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
#home h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
#home h1 .text-highlight {
  background: linear-gradient(135deg, var(--petmy-primary-light), var(--petmy-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#home .hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.2s both;
}
#home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
#home .btn-hero-primary {
  background: var(--petmy-primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
  box-shadow: 0 8px 30px rgba(135,83,222,0.45);
}
#home .btn-hero-primary:hover {
  background: var(--petmy-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(135,83,222,0.55);
  color: #fff;
}
#home .btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
}
#home .btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  color: #fff;
}
#home .hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.45s both;
}
#home .stat-item .stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
}
#home .stat-item .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ---- FEATURES ---- */
#features {
  padding: 100px 0;
  background: #f8f5ff;
}
#features .section-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--petmy-primary);
  margin-bottom: 12px;
  display: block;
}
#features .section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--petmy-dark);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
#features .section-sub {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 60px;
  line-height: 1.7;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid rgba(135,83,222,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--petmy-primary), var(--petmy-teal));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(135,83,222,0.12);
  border-color: rgba(135,83,222,0.2);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(135,83,222,0.12), rgba(135,83,222,0.04));
  color: var(--petmy-primary);
}
.feature-card h5 {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--petmy-dark);
  margin-bottom: 10px;
}
.feature-card p {
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.feature-card .feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(135,83,222,0.1);
  color: var(--petmy-primary);
}

/* ---- HOW IT WORKS ---- */
#how-it-works {
  padding: 100px 0;
  background: var(--petmy-dark);
  position: relative;
  overflow: hidden;
}
#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(135,83,222,0.18) 0%, transparent 70%);
  pointer-events: none;
}
#how-it-works .section-label { color: var(--petmy-primary-light); }
#how-it-works .section-title { color: #fff; }
#how-it-works .section-sub { color: rgba(255,255,255,0.5); }
.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.step-card .step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--petmy-primary), var(--petmy-primary-light));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(135,83,222,0.4);
}
.step-card h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.step-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
  color: rgba(135,83,222,0.4);
  font-size: 1.5rem;
}

/* ---- PRICING ---- */
#pricing {
  padding: 100px 0;
  background: #f8f5ff;
}
.pricing-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  border: 2px solid rgba(135,83,222,0.1);
  transition: all 0.3s;
  height: 100%;
}
.pricing-card.featured {
  background: var(--petmy-primary);
  border-color: var(--petmy-primary);
  transform: scale(1.04);
  box-shadow: 0 24px 80px rgba(135,83,222,0.4);
}
.pricing-card .plan-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.pricing-card:not(.featured) .plan-badge {
  background: rgba(135,83,222,0.1);
  color: var(--petmy-primary);
}
.pricing-card.featured .plan-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.pricing-card .plan-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--petmy-dark);
  margin-bottom: 8px;
}
.pricing-card.featured .plan-name { color: #fff; }
.pricing-card .plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--petmy-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card.featured .plan-price { color: #fff; }
.pricing-card .plan-period {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 28px;
}
.pricing-card.featured .plan-period { color: rgba(255,255,255,0.65); }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.93rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card.featured ul li { color: rgba(255,255,255,0.85); }
.pricing-card ul li i {
  color: var(--petmy-teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.pricing-card.featured ul li i { color: rgba(255,255,255,0.9); }
.pricing-card .btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.pricing-card:not(.featured) .btn-plan {
  background: var(--petmy-primary);
  color: #fff;
}
.pricing-card:not(.featured) .btn-plan:hover {
  background: var(--petmy-primary-dark);
  transform: translateY(-2px);
}
.pricing-card.featured .btn-plan {
  background: #fff;
  color: var(--petmy-primary);
}
.pricing-card.featured .btn-plan:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* ---- TESTIMONIALS ---- */
#testimonials {
  padding: 100px 0;
  background: #fff;
}
.testimonial-card {
  background: #f8f5ff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(135,83,222,0.1);
  height: 100%;
}
.testimonial-card .stars { color: #f59e0b; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card blockquote {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.testimonial-card .author-info { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--petmy-primary), var(--petmy-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-card .author-name { font-weight: 700; font-size: 0.92rem; color: var(--petmy-dark); }
.testimonial-card .author-role { font-size: 0.78rem; color: #9ca3af; }

/* ---- CONTACT FORM ---- */
#contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #1A1030 0%, #2D1060 100%);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(135,83,222,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135,83,222,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
#contact .section-label { color: var(--petmy-primary-light); }
#contact .section-title { color: #fff; }
#contact .section-sub { color: rgba(255,255,255,0.5); }
.contact-form-wrapper {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(135,83,222,0.25);
  border-radius: 24px;
  padding: 48px 44px;
}
.contact-form-wrapper .form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(135,83,222,0.25);
  border-radius: 12px;
  color: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--petmy-primary);
  box-shadow: 0 0 0 3px rgba(135,83,222,0.2);
  color: #fff;
  outline: none;
}
.contact-form-wrapper .form-control::placeholder { color: rgba(255,255,255,0.3); }
.contact-form-wrapper textarea.form-control { resize: none; }
.contact-form-wrapper .form-select option { background: #1A1030; color: #fff; }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(135,83,222,0.15);
  border: 1px solid rgba(135,83,222,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--petmy-primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item .ci-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.4); display: block;
}
.contact-info-item .ci-value {
  font-size: 0.97rem; font-weight: 600; color: #fff; display: block; margin-top: 2px;
}
.btn-submit {
  background: linear-gradient(135deg, var(--petmy-primary), var(--petmy-primary-light));
  border: none;
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(135,83,222,0.4);
  width: 100%;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(135,83,222,0.55);
}

/* ---- FOOTER ---- */
#footer {
  background: #0f0920;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(135,83,222,0.15);
}
#footer .footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
#footer .footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 280px;
}
#footer .footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
#footer ul { list-style: none; padding: 0; margin: 0; }
#footer ul li { margin-bottom: 8px; }
#footer ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
#footer ul li a:hover { color: var(--petmy-primary-light); }
#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
#footer .footer-socials { display: flex; gap: 10px; }
#footer .footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(135,83,222,0.25);
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}
#footer .footer-socials a:hover {
  background: var(--petmy-primary);
  border-color: var(--petmy-primary);
  color: #fff;
}

/* ---- CR BADGE ---- */
.cr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(44,196,183,0.12), rgba(44,196,183,0.04));
  border: 1px solid rgba(44,196,183,0.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--petmy-teal);
}

/* ---- SCROLL TO TOP ---- */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--petmy-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(135,83,222,0.4);
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--petmy-primary-dark); transform: translateY(-2px); }

/* ---- TOAST ---- */
.petmy-toast {
  position: fixed;
  top: 24px; right: 24px;
  background: #fff;
  border-left: 4px solid var(--petmy-primary);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.9rem; color: var(--petmy-dark);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.petmy-toast.show { transform: translateX(0); }
.petmy-toast i { color: var(--petmy-primary); font-size: 1.1rem; }

/* ---- HERO IMAGE ---- */
.hero-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 40px;
}
.hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-img-main {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  height: 520px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(135,83,222,0.25);
  display: block;
}
.hero-img-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: rgba(26,16,48,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(135,83,222,0.35);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  min-width: 200px;
}
.hero-img-badge-bottom {
  bottom: auto;
  top: 28px;
  left: auto;
  right: -28px;
}
.hero-img-mini {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(135,83,222,0.4);
}
.hero-img-badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.hero-img-badge-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 2px;
}

/* ---- PHOTO STRIP ---- */
.photo-strip {
  display: flex;
  height: 200px;
  overflow: hidden;
}
.photo-strip-item {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.photo-strip-item:hover img {
  transform: scale(1.08);
}
.photo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,16,48,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-strip-item:hover .photo-strip-overlay {
  opacity: 1;
}
.photo-strip-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 576px) {
  .photo-strip { height: 120px; }
  .photo-strip-item:nth-child(n+4) { display: none; }
}

/* ---- CLINIC BANNER ---- */
.clinic-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.clinic-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clinic-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,16,48,0.85) 0%, rgba(26,16,48,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
}
.clinic-banner-overlay p {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  max-width: 520px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.clinic-banner-overlay span {
  color: var(--petmy-primary-light);
  font-size: 0.88rem;
  font-weight: 700;
}

/* ---- TESTIMONIALS ---- */
#testimonials {
  padding: 100px 0 60px;
  background: #fff;
}
.testimonial-card {
  background: #f8f5ff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(135,83,222,0.1);
  height: 100%;
}
.testimonial-card .stars { color: #f59e0b; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card blockquote {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.testimonial-card .author-info { display: flex; align-items: center; gap: 12px; }
.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(135,83,222,0.3);
}
.testimonial-card .author-name { font-weight: 700; font-size: 0.92rem; color: var(--petmy-dark); }
.testimonial-card .author-role { font-size: 0.78rem; color: #9ca3af; }

/* ---- PETS GRID ---- */
.pets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  height: 200px;
}
.pets-grid-item {
  border-radius: 16px;
  overflow: hidden;
}
.pets-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pets-grid-item:hover img { transform: scale(1.06); }
.pets-grid-item--wide {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .pets-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
  .pets-grid-item { height: 140px; }
  .pets-grid-item--wide { grid-column: span 2; }
  .pets-grid-item:last-child { display: none; }
  .clinic-banner { height: 200px; }
  .clinic-banner-overlay { padding: 24px; }
  .clinic-banner-overlay p { font-size: 0.95rem; }
  .hero-img-badge { left: -10px; min-width: 170px; }
  .hero-img-badge-bottom { right: -10px; }
}

/* ---- UTILITIES ---- */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(135,83,222,0.2), transparent);
  margin: 0;
}
@media (max-width: 768px) {
  #home h1 { font-size: 2.2rem; }
  #home .hero-floating-pet { font-size: 10rem; opacity: 0.04; right: -20px; }
  .pricing-card.featured { transform: none; }
  .contact-form-wrapper { padding: 28px 20px; }
  #home .hero-stats { gap: 20px; }
}
