@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-main: #f8faff;
  --bg-card-light: #ebf1ff;
  --bg-card-white: #ffffff;
  --color-primary: #19398a;
  --color-primary-rgb: 25, 57, 138;
  --color-secondary: #5278f2;
  --color-secondary-rgb: 82, 120, 242;
  --color-accent: #ff9f1c;
  --color-text: #1e2538;
  --color-text-muted: #626f8a;
  --font-heading: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(25, 57, 138, 0.04);
  --shadow-md: 0 8px 24px rgba(25, 57, 138, 0.06);
  --shadow-lg: 0 16px 32px rgba(25, 57, 138, 0.1);
  --header-height: 80px;
}

/* Base resets & styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.blobs-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

/* Background Blur Blobs for depth & visual playfulness */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  animation: pulse 12s infinite alternate;
}
.blob-1 {
  top: 100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: hsl(222, 95%, 90%);
}
.blob-2 {
  top: 1200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: hsl(232, 90%, 92%);
  animation-delay: -4s;
}
.blob-3 {
  bottom: 800px;
  left: -250px;
  width: 550px;
  height: 550px;
  background: hsl(215, 95%, 91%);
  animation-delay: -8s;
}
@keyframes pulse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 120, 242, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Vector Font Logo Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary) !important;
  text-decoration: none;
  letter-spacing: -0.5px;
  user-select: none;
}

.logo-accent {
  color: var(--color-secondary);
}

.logo-icon {
  color: var(--color-secondary);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
  color: var(--color-primary);
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  align-items: center;
  gap: 8px;
}

.phone-link svg {
  color: var(--color-secondary);
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-light);
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-call:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.burger-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1005;
  box-shadow: var(--shadow-lg);
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  visibility: hidden;
}

.mobile-menu.open {
  right: 0;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary);
  display: block;
}

.mobile-menu-footer {
  border-top: 1px solid rgba(82, 120, 242, 0.1);
  padding-top: 24px;
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(25, 57, 138, 0.2);
  backdrop-filter: blur(4px);
  z-index: 1004;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f5ff 0%, var(--bg-main) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-secondary);
  background: var(--bg-card-light);
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3b63dd 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(82, 120, 242, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #112863 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 57, 138, 0.35), 0 0 20px rgba(82, 120, 242, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-line-art {
  position: absolute;
  top: 15%;
  left: -5%;
  width: 110%;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

/* Asymmetric Hero Grid */
.hero-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.hero-box {
  background: var(--bg-card-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.hero-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-box.img-box {
  background: var(--bg-card-light);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-box.img-box img {
  max-height: 90%;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Border radiuses to form combined organic block with cool corner cuts & color chaos */
.box-1 { border-radius: 50px 10px 10px 10px; border: 2px solid rgba(82, 120, 242, 0.08); padding: 16px; background: linear-gradient(135deg, hsl(220, 95%, 95%) 0%, hsl(224, 90%, 91%) 100%); }
.box-2 { border-radius: 10px 50px 10px 50px; background: linear-gradient(135deg, hsl(215, 95%, 95%) 0%, hsl(219, 85%, 91%) 100%); }
.box-3 { border-radius: 10px 50px 10px 10px; background: linear-gradient(135deg, #1d3fa3 0%, #0d2054 100%); color: #fff; text-align: center; padding: 12px; }
.box-4 { border-radius: 10px 50px 10px 50px; background: linear-gradient(135deg, #5c81f7 0%, #3457cd 100%); color: #fff; text-align: center; padding: 12px; }
.box-5 { border-radius: 50px 10px 50px 10px; background: linear-gradient(135deg, hsl(228, 95%, 96%) 0%, hsl(232, 85%, 92%) 100%); border: 2px solid rgba(82, 120, 242, 0.15); }
.box-6 { border-radius: 10px 50px 10px 50px; background: linear-gradient(135deg, hsl(234, 90%, 95%) 0%, hsl(238, 80%, 91%) 100%); color: var(--color-primary); text-align: center; padding: 12px; }
.box-7 { border-radius: 10px 10px 10px 50px; background: linear-gradient(135deg, hsl(210, 95%, 95%) 0%, hsl(214, 85%, 91%) 100%); }
.box-8 { border-radius: 10px 50px 10px 50px; background: linear-gradient(135deg, hsl(218, 85%, 93%) 0%, hsl(222, 75%, 89%) 100%); color: var(--color-primary); text-align: center; padding: 12px; }
.box-9 { border-radius: 10px 10px 50px 10px; }


.box-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--color-secondary);
}

.box-3 .box-icon { color: #fff; }
.box-4 .box-icon { color: #fff; }

.box-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
}

.box-desc {
  font-size: 9px;
  opacity: 0.8;
  margin-top: 2px;
}

.box-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-card-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  margin: 16px auto 0;
  border-radius: 10px;
}

/* About Us Section (Replaces Carousel with Premium Grid + Intro) */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  background: var(--bg-card-light);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(82, 120, 242, 0.1);
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

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

.gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-img.img-tall {
  grid-row: span 2;
}

.gallery-img.img-tall img {
  height: 416px;
}

/* Services Section (Asymmetric Grid & Cutout Images) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background-color: var(--bg-card-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 340px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(82, 120, 242, 0.04);
}

/* Color chaos pastels for service cards with dynamic asymmetric border-radiuses */
.card-dog-boarding {
  background: linear-gradient(185deg, #c5dcff 0%, #b0d0ff 100%);
  border-radius: 40px 20px 20px 20px;
}
.card-cat-boarding {
  background: linear-gradient(185deg, #8baeff 0%, #6d93ff 100%);
  border-radius: 20px 40px 20px 40px;
}
.card-sitting {
  background: linear-gradient(185deg, #a3c5ff 0%, #87adff 100%);
  border-radius: 20px 20px 40px 20px;
}
.card-bird {
  background: linear-gradient(185deg, #d4e7ff 0%, #bcd9ff 100%);
  border-radius: 40px 20px 40px 20px;
}
.card-rodent {
  background: linear-gradient(185deg, #b5ceff 0%, #9cb8ff 100%);
  border-radius: 20px 20px 20px 40px;
}
.card-dog-walking {
  background: linear-gradient(185deg, #9bbaff 0%, #7d9fff 100%);
  border-radius: 20px 40px 20px 20px;
}
.card-transfer {
  background: linear-gradient(185deg, #a8c3ff 0%, #87a9ff 100%);
  border-radius: 40px 20px 20px 40px;
}
.card-puppy {
  background: linear-gradient(185deg, #b5ceff 0%, #9cb8ff 100%);
  border-radius: 20px 20px 40px 40px;
}
.card-special {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 40px 40px 20px 20px;
}

/* Elevated hover states with color-matched glowing shadows */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
}
.card-dog-boarding:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.15), 0 0 25px rgba(176, 208, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-cat-boarding:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.18), 0 0 25px rgba(109, 147, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-sitting:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.16), 0 0 25px rgba(135, 173, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-bird:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.12), 0 0 25px rgba(188, 217, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-rodent:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.14), 0 0 25px rgba(156, 184, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-dog-walking:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.18), 0 0 25px rgba(125, 159, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-transfer:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.18), 0 0 25px rgba(135, 169, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-puppy:hover {
  box-shadow: 0 20px 40px rgba(25, 57, 138, 0.16), 0 0 25px rgba(156, 184, 255, 0.4);
  border-color: rgba(25, 57, 138, 0.15);
}
.card-special:hover {
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.5), 0 0 30px rgba(124, 58, 237, 0.3);
  border-color: #ffd700;
  transform: translateY(-8px) scale(1.02);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  z-index: 2;
  gap: 16px;
}

.service-title {
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
  flex: 1;
}

.service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-arrow {
  background: var(--color-secondary);
  color: #fff;
  transform: rotate(45deg);
}

.service-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-grow: 1;
  height: 180px;
  margin-bottom: 16px;
  z-index: 1;
}

.service-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.08) translateY(-4px);
}

.service-footer {
  display: flex;
  justify-content: flex-start;
  z-index: 2;
}

.service-price {
  font-family: var(--font-heading);
  background: #fff;
  display: inline-flex;
  align-items: baseline;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.price-amount {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-primary);
}

.price-unit {
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.service-card:hover .service-price {
  box-shadow: 0 6px 15px rgba(25, 57, 138, 0.12);
}

@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    gap: 60px;
  }
  
  .section-header h2 {
    font-size: 34px;
  }
  
  .about-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Tablet Spans & Orientations */
  .card-dog-boarding,
  .card-cat-boarding {
    grid-column: span 2;
  }
  
  /* Side-by-side layout for wide cards on tablet */
  .card-dog-boarding,
  .card-cat-boarding {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-areas: 
      "header img"
      "footer img";
    align-items: center;
    gap: 20px;
    padding: 32px;
  }
  .card-dog-boarding .service-header,
  .card-cat-boarding .service-header {
    grid-area: header;
    margin-bottom: 0;
    align-self: start;
  }
  .card-dog-boarding .service-img-wrapper,
  .card-cat-boarding .service-img-wrapper {
    grid-area: img;
    margin-bottom: 0;
    height: 100%;
    align-items: center;
  }
  .card-dog-boarding .service-footer,
  .card-cat-boarding .service-footer {
    grid-area: footer;
    align-self: end;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .contact-map {
    height: 100%;
    min-height: 400px;
  }
  
  .booking-banner {
    padding: 60px 48px;
  }
}

/* Bento Grid Layout on Desktop */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(320px, auto);
  }
  
  /* Desktop Bento Grid Column/Row Spans */
  .card-dog-boarding {
    grid-column: span 1;
    grid-row: span 2;
  }
  .card-cat-boarding {
    grid-column: span 2;
    grid-row: span 1;
  }
  .card-dog-walking {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  /* RESET side-by-side for Dog Boarding as it is a tall card on desktop */
  .card-dog-boarding {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 24px 24px;
  }
  .card-dog-boarding .service-header {
    display: flex;
    margin-bottom: 16px;
    align-self: auto;
  }
  .card-dog-boarding .service-img-wrapper {
    height: 380px;
    margin-bottom: 16px;
  }
  .card-dog-boarding .service-footer {
    align-self: auto;
  }
  
  /* Side-by-side layout for wide cards on desktop */
  .card-cat-boarding {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas: 
      "header img"
      "footer img";
    align-items: center;
    gap: 20px;
    padding: 32px;
  }
  
  .card-dog-walking {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: 
      "header img"
      "footer img";
    align-items: center;
    gap: 20px;
    padding: 32px;
  }
  .card-cat-boarding .service-header,
  .card-dog-walking .service-header {
    grid-area: header;
    margin-bottom: 0;
    align-self: start;
  }
  .card-cat-boarding .service-img-wrapper,
  .card-dog-walking .service-img-wrapper {
    grid-area: img;
    margin-bottom: 0;
    height: 100%;
    align-items: center;
  }
  .card-cat-boarding .service-footer,
  .card-dog-walking .service-footer {
    grid-area: footer;
    align-self: end;
  }
  
  .card-cat-boarding .service-img {
    transform: scale(1.15);
  }
  
  .card-cat-boarding:hover .service-img {
    transform: scale(1.25) translateY(-4px);
  }
}

/* Review Section */
.reviews-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.review-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.review-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 249, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(25, 57, 138, 0.05);
  border: 1px solid rgba(82, 120, 242, 0.1);
  text-align: center;
  position: relative;
}

.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--bg-card-light);
  box-shadow: var(--shadow-sm);
}

.review-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.review-role {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: block;
}

.review-stars {
  color: var(--color-accent);
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 15px;
  color: var(--color-text);
  font-style: italic;
  line-height: 1.7;
}

.review-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-white);
  border: 1px solid rgba(82, 120, 242, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}

.review-btn:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

.review-btn-prev {
  left: -10px;
}

.review-btn-next {
  right: -10px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-card-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.review-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 100px;
}

.reviews-cta {
  text-align: center;
  margin-top: 40px;
  font-weight: 600;
  font-size: 16px;
}

.reviews-cta a {
  color: var(--color-secondary);
  border-bottom: 2px solid rgba(82, 120, 242, 0.2);
  padding-bottom: 2px;
}

.reviews-cta a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Booking Form Banner */
.booking {
  padding: 60px 0;
}

.booking-banner {
  background: linear-gradient(135deg, #19398a 0%, #3058c4 50%, #5278f2 100%);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(25, 57, 138, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-content {
  position: relative;
  z-index: 2;
}

.booking-banner h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.booking-banner p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 400px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.form-group svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  width: 18px;
  height: 18px;
}

.booking-form .btn {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 15px;
}

.booking-form .btn:hover {
  background: var(--bg-card-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.booking-img-wrapper {
  display: none;
}

.form-message {
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  padding: 10px 20px;
  display: none;
  aria-live: polite;
  animation: fadeIn 0.3s ease;
}

.form-message.success {
  display: block;
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contacts & Footer */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-address {
  font-size: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-address svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 12px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(82, 120, 242, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-link-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(82, 120, 242, 0.2);
}

.social-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}

.social-icon-wrapper.whatsapp { background-color: #25d366; }
.social-icon-wrapper.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon-wrapper.telegram { background-color: #0088cc; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(82, 120, 242, 0.1);
  height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Site Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

.footer-text {
  font-size: 14px;
}

.footer-developer a {
  color: #fff;
  text-decoration: underline;
}

/* Media Queries for Responsiveness (Desktop Layouts) */

@media (min-width: 992px) {
  .nav {
    display: block;
  }
  
  .burger-menu {
    display: none;
  }
  
  .phone-link {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 54px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .hero-visual {
    max-width: 520px;
    gap: 16px;
  }
  
  .booking-banner {
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }
  
  .booking-img-wrapper {
    display: block;
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 340px;
    height: 380px;
    z-index: 1;
    pointer-events: none;
  }
  
  .booking-dog-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Card 7, 8, 9 Custom Styles */
.card-special { 
  color: #fff;
  border: 2px solid #ffd700;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25);
  cursor: pointer;
}

.card-special .service-title {
  color: #fff !important;
}

.card-special .service-price {
  background: #ffd700 !important;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.card-special .service-price .price-amount {
  color: #7c3aed !important;
}

.card-special .service-price .price-unit {
  color: rgba(124, 58, 237, 0.8) !important;
}

.card-special .service-arrow {
  background: #ffd700;
  color: #1e1b4b;
}

.card-special .service-arrow:hover {
  background: #fff;
  color: #7c3aed;
}

.special-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #ffd700;
  color: #1e1b4b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
  z-index: 10;
}

/* Modal Overlay */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.open {
  display: flex;
  opacity: 1;
}

/* Modal Content Window */
.modal-content {
  background: #ffffff;
  width: 92%;
  max-width: 820px;
  border-radius: var(--radius-xl);
  padding: 36px 24px 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  font-weight: 500;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.modal-close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--color-primary);
}

/* Modal Slider */
.modal-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
}
.modal-slider {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Photo-Drawing Pair Layout */
.pair-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 4px;
}
@media (min-width: 576px) {
  .pair-container {
    grid-template-columns: 1fr 1fr;
  }
}

.pair-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(82, 120, 242, 0.05);
}
.pair-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.pair-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Modal Slider Navigation Buttons */
.modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(82, 120, 242, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 100;
}
.modal-btn:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}
.modal-btn-prev { left: 10px; }
.modal-btn-next { right: 10px; }

/* Modal dots */
.modal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-card-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.modal-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 100px;
}

/* Promo Banner Section Styling */
.promo-section {
  padding: 60px 0;
}

.promo-banner {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e3a8a 100%);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(29, 78, 216, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  width: fit-content;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.promo-content h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.promo-content p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
}

.promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

.promo-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

/* Rules Accordion Styling */
.rules-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-group {
  background: var(--bg-card-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(82, 120, 242, 0.1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.rules-group:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(82, 120, 242, 0.2);
}

.rules-group details {
  width: 100%;
}

.rules-group summary {
  padding: 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  position: relative;
}

.rules-group summary::-webkit-details-marker {
  display: none;
}

.rules-group summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.rules-group details[open] summary::after {
  content: '−';
  transform: rotate(90deg);
}

.rules-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid rgba(82, 120, 242, 0.05);
  background: var(--bg-main);
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

.rules-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.rules-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
}

.rules-item.positive svg {
  color: #2ecc71;
}

.rules-item.negative svg {
  color: #e74c3c;
}

.rules-item-title {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

@media (min-width: 992px) {
  .promo-banner {
    padding: 50px 70px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 40px;
  }
  .promo-img-wrapper {
    max-width: 100%;
    position: absolute;
    bottom: -30px;
    right: 40px;
    width: 290px;
    height: 330px;
  }
  .promo-img-wrapper img {
    height: 110%;
    width: auto;
  }
}

/* Mobile 2-column Grid for Service Cards */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card {
    padding: 20px 14px 14px;
    min-height: 250px;
    border-radius: 20px;
  }
  .service-header {
    margin-bottom: 8px;
    gap: 8px;
  }
  .service-title {
    font-size: 15px;
    line-height: 1.25;
  }
  .service-arrow {
    width: 28px;
    height: 28px;
  }
  .service-arrow svg {
    width: 14px;
    height: 14px;
  }
  .service-img-wrapper {
    height: 110px !important;
    margin-bottom: 12px;
  }
  .card-cat-boarding .service-img {
    max-height: 85%;
    max-width: 85%;
  }
  .service-price {
    padding: 6px 12px;
  }
  .price-amount {
    font-size: 13px;
  }
  .price-unit {
    font-size: 10px;
  }
  .special-badge {
    position: absolute;
    bottom: 48px;
    left: 14px;
    top: auto;
    right: auto;
    font-size: 8px;
    padding: 2px 6px;
  }
}


