/* ============================================
   PET PAWS JOURNEY — MAIN STYLES
   Premium Pet Transport Tracking Platform
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --primary: #E8773A;
  --primary-dark: #C5612A;
  --primary-light: #F4A574;
  --primary-glow: rgba(232, 119, 58, 0.18);

  /* Secondary palette */
  --secondary: #2D8B5F;
  --secondary-dark: #1E6B45;
  --secondary-light: #4DB87F;

  /* Warm neutrals */
  --cream: #FFF8F0;
  --warm-bg: #FEF3E8;
  --warm-100: #FDF0E2;

  /* Neutrals */
  --dark: #1A1A2E;
  --dark-light: #2D2D44;
  --dark-muted: #3A3A55;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8ED;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #7A7F8C;
  --gray-600: #6B7280;
  --gray-700: #4B5563;
  --white: #FFFFFF;

  /* Status colors */
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px var(--primary-glow);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-header: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: #FDFBFA;
  background-image: radial-gradient(circle at top right, rgba(232, 119, 58, 0.06) 0%, transparent 40%),
                    radial-gradient(circle at bottom left, rgba(45, 139, 95, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ---- Scroll Animation States ---- */
/* Initial hidden states */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Children of .stagger-children start invisible */
.stagger-children > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* Exception: marquee children must always be visible */
.reviews-marquee > * {
  opacity: 1 !important;
  transform: none !important;
}
/* Animated/visible state — applied by IntersectionObserver */
.reveal.animated,
.reveal-left.animated,
.reveal-right.animated,
.reveal-scale.animated {
  opacity: 1;
  transform: none;
}
.stagger-children > *.animated {
  opacity: 1;
  transform: none;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-cream {
  background-color: var(--cream);
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: var(--gray-400);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 119, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 119, 58, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45, 139, 95, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 139, 95, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.logo svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

/* ---- Hero Background Slideshow ---- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 24s infinite;
  transform: scale(1.05);
}

.hero-slide:nth-child(1) { animation-delay: 0s; background-image: url('../images/hero-bg-1.png'); }
.hero-slide:nth-child(2) { animation-delay: 6s; background-image: url('../images/hero-bg-2.png'); }
.hero-slide:nth-child(3) { animation-delay: 12s; background-image: url('../images/hero-bg-3.png'); }
.hero-slide:nth-child(4) { animation-delay: 18s; background-image: url('../images/hero-bg-4.png'); }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.05); }
  4%   { opacity: 1; transform: scale(1); }
  25%  { opacity: 1; transform: scale(1); }
  29%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* Dark overlay for text readability */
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(26,26,46,0.55) 50%, rgba(26,26,46,0.7) 100%);
  z-index: 1;
}

/* ---- Floating WhatsApp Chat Button ---- */
.floating-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: chatPulse 2s ease-in-out infinite;
}

.floating-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.floating-chat-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.floating-chat-tooltip {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: var(--dark);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9998;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.floating-chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: var(--dark);
  transform: rotate(45deg);
}

.floating-chat-btn:hover + .floating-chat-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

/* ---- Global Reach Animation Widget ---- */
.global-reach-widget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.global-reach-globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 119, 58, 0.4);
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.global-reach-globe:hover {
  transform: scale(1.1);
}

.global-reach-globe svg {
  width: 32px;
  height: 32px;
  animation: spinSlow 15s linear infinite;
}

.global-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin-top: -90px;
  margin-left: -90px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 119, 58, 0.25);
  animation: orbitSpin 20s linear infinite;
  z-index: 1;
}

.global-orbit-item {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.global-orbit-item:nth-child(1) { transform: rotate(0deg) translateY(-90px); }
.global-orbit-item:nth-child(2) { transform: rotate(60deg) translateY(-90px); }
.global-orbit-item:nth-child(3) { transform: rotate(120deg) translateY(-90px); }
.global-orbit-item:nth-child(4) { transform: rotate(180deg) translateY(-90px); }
.global-orbit-item:nth-child(5) { transform: rotate(240deg) translateY(-90px); }
.global-orbit-item:nth-child(6) { transform: rotate(300deg) translateY(-90px); }

.global-orbit-inner {
  animation: counterOrbitSpin 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counterOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--primary-glow);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* Hero illustration / visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--warm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.hero-card-subtitle {
  font-size: 13px;
  color: var(--gray-400);
}

.hero-pet-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-pet-field {
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.hero-pet-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.hero-pet-field-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-progress-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
}

.hero-progress-step.active {
  background: var(--secondary);
}

.hero-progress-step.current {
  background: var(--primary);
  animation: pulse-bar 1.5s ease-in-out infinite;
}

@keyframes pulse-bar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Floating badges around hero card */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.hero-float svg {
  width: 20px;
  height: 20px;
}

.hero-float-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

.hero-float-3 {
  bottom: -10px;
  right: 40px;
  animation-delay: 3s;
}

.hero-float-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.hero-float-sub {
  font-size: 11px;
  color: var(--gray-400);
}

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

/* ---------- Tracking Search Bar ---------- */
.track-search {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  max-width: 520px;
}

.track-search:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.track-search input {
  flex: 1;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--dark);
  background: transparent;
}

.track-search input::placeholder {
  color: var(--gray-400);
}

.track-search button {
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.track-search button:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.track-search button svg {
  width: 18px;
  height: 18px;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-icon.orange {
  background: var(--warm-bg);
  color: var(--primary);
}

.service-icon.green {
  background: rgba(45, 139, 95, 0.1);
  color: var(--secondary);
}

.service-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(232, 119, 58, 0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 2px dashed var(--primary-light);
  opacity: 0.4;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Testimonials Marquee ---------- */
.reviews-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 16px 0 24px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.reviews-marquee:hover {
  animation-play-state: paused;
}

.tmq-card {
  min-width: 340px !important;
  max-width: 340px !important;
  flex-shrink: 0 !important;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Testimonials Grid (fallback) ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Why-card hover effect */
.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.why-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--warning);
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gray-400);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition-fast);
  width: 100%;
  text-align: left;
  background: transparent;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-search {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-search input {
  flex: 1;
  padding: 18px 24px;
  font-size: 15px;
  color: var(--dark);
}

.cta-search input::placeholder {
  color: var(--gray-400);
}

.cta-search button {
  padding: 18px 32px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast);
}

.cta-search button:hover {
  background: var(--secondary-dark);
}

.cta-search button svg {
  width: 18px;
  height: 18px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-400);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social a:hover svg {
  color: var(--white);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  font-size: 14px;
  color: var(--gray-400);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-column a svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---------- Page Hero Banner ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--warm-bg) 60%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

.breadcrumb span {
  color: var(--gray-500);
}

/* ---------- About Page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--warm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-story-image svg {
  width: 120px;
  height: 120px;
  color: var(--primary);
  opacity: 0.3;
}

.about-story h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-story p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ---------- Services Page ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-detail-card .service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
}

.service-detail-card .service-icon svg {
  width: 36px;
  height: 36px;
}

.service-detail-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-detail-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
}

.service-features li svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Safety guarantees */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.guarantee-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.guarantee-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(45, 139, 95, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.guarantee-icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

.guarantee-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.guarantee-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--warm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 48px;
  height: 400px;
}

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

/* ---------- Track Page ---------- */
.track-hero {
  padding: 160px 0 60px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--warm-bg) 60%, var(--white) 100%);
  text-align: center;
}

.track-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.track-hero p {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.track-hero .track-search {
  margin: 0 auto;
}

/* Track Results */
.track-results {
  padding: 60px 0 100px;
  display: none;
}

.track-results.visible {
  display: block;
}

.track-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.track-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Pet Details Card */
.pet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.pet-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pet-card-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--warm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pet-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-card-image svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0.5;
}

.pet-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.pet-card-type {
  font-size: 14px;
  color: var(--gray-400);
}

.pet-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pet-detail-item {
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.pet-detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.pet-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
}

.status-badge svg {
  width: 14px;
  height: 14px;
}

.status-badge.pending {
  background: rgba(100, 116, 139, 0.1);
  color: var(--gray-500);
}

.status-badge.on-hold {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.status-badge.order-created {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
}

.status-badge.picked-up {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.status-badge.in-transit {
  background: rgba(232, 119, 58, 0.1);
  color: var(--primary);
}

.status-badge.out-for-delivery {
  background: rgba(45, 139, 95, 0.1);
  color: var(--secondary);
}

.status-badge.delivered {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

/* Tracking Timeline */
.tracking-timeline {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.tracking-timeline h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.timeline-steps {
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-line-filled {
  position: absolute;
  left: 15px;
  top: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  transition: height var(--transition-slow);
}

.timeline-step {
  position: relative;
  padding-bottom: 28px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

.timeline-step.completed .timeline-dot {
  background: var(--secondary);
}

.timeline-step.completed .timeline-dot svg {
  color: var(--white);
}

.timeline-step.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-step.active .timeline-dot svg {
  color: var(--white);
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--primary-glow); }
  50% { box-shadow: 0 0 0 8px rgba(232, 119, 58, 0.1); }
}

.timeline-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-step.pending .timeline-step-title {
  color: var(--gray-400);
}

.timeline-step-info {
  font-size: 13px;
  color: var(--gray-400);
}

.timeline-step-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}

.timeline-step-location svg {
  width: 12px;
  height: 12px;
}

/* Shipment Info Card */
.shipment-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.shipment-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.shipment-info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.shipment-info-row:last-child {
  border-bottom: none;
}

.shipment-info-label {
  font-size: 14px;
  color: var(--gray-400);
}

.shipment-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-align: right;
  max-width: 60%;
}

/* Map container */
.track-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-height: 500px;
  position: relative;
}

#trackMap {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

/* Loading state */
.track-loading {
  display: none;
  text-align: center;
  padding: 80px 0;
}

.track-loading.visible {
  display: block;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error / Not found */
.track-error {
  display: none;
  text-align: center;
  padding: 80px 0;
}

.track-error.visible {
  display: block;
}

.track-error svg {
  width: 64px;
  height: 64px;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.track-error h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.track-error p {
  font-size: 15px;
  color: var(--gray-500);
}

/* ---------- Admin Login ---------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--cream) 0%, var(--warm-bg) 50%, var(--white) 100%);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
}

.login-card .logo {
  justify-content: center;
  margin-bottom: 8px;
}

.login-card h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.login-card > p {
  text-align: center;
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.login-card .form-group {
  margin-bottom: 20px;
}

.login-card .btn {
  width: 100%;
}

.login-error {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
  text-align: center;
}

.login-error.visible {
  display: block;
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  animation: slideInRight 0.3s ease forwards;
  min-width: 300px;
  border-left: 4px solid;
}

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: var(--danger);
}

.toast.info {
  border-color: var(--info);
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.success svg { color: var(--success); }
.toast.error svg { color: var(--danger); }
.toast.info svg { color: var(--info); }

.toast-close {
  margin-left: auto;
  padding: 4px;
  color: var(--gray-400);
  cursor: pointer;
}

.toast-close svg {
  width: 16px;
  height: 16px;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.visible {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--gray-200);
}

/* ---------- GSAP Animation Classes ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 34px; }
  .services-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .track-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 20px;
  }

  .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title { font-size: 36px; }
  .hero-visual { order: -1; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: 24px;
    justify-content: center;
  }

  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }

  .services-grid,
  .values-grid,
  .guarantees-grid { grid-template-columns: 1fr; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-grid::before { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .about-story { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 130px 0 60px; }

  .form-row { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .track-hero h1 { font-size: 32px; }
  .track-search { flex-direction: column; }
  .track-search button { justify-content: center; }
  .cta-search { flex-direction: column; }
  .cta-search button { justify-content: center; }

  .pet-card-details { grid-template-columns: 1fr; }
  .invoice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .btn-lg { padding: 16px 28px; font-size: 15px; }
  .stats-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}


/* ============================================
   PROFESSIONAL INVOICE RECEIPT
   ============================================ */
.invoice-receipt {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.invoice-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invoice-logo svg {
  color: #E8773A;
}

.invoice-company {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.invoice-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.invoice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-badge.order_created { background: rgba(99,102,241,0.2); color: #a5b4fc; }
.invoice-badge.picked_up { background: rgba(139,92,246,0.2); color: #c4b5fd; }
.invoice-badge.in_transit { background: rgba(34,197,94,0.2); color: #86efac; }
.invoice-badge.out_for_delivery { background: rgba(245,158,11,0.2); color: #fcd34d; }
.invoice-badge.delivered { background: rgba(16,185,129,0.2); color: #6ee7b7; }

.invoice-tracking-code {
  padding: 20px 28px;
  background: linear-gradient(135deg, #fef3e2 0%, #fde8d0 100%);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.invoice-tracking-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.invoice-tracking-value {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  color: var(--primary);
  letter-spacing: 3px;
}

.invoice-section {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-100);
}

.invoice-section:last-of-type {
  border-bottom: none;
}

.invoice-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
}

.invoice-section-title svg {
  color: var(--primary);
}

.invoice-pet-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid var(--gray-200);
}

.invoice-pet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.invoice-field {
  padding: 10px 14px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

.invoice-field-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.invoice-field-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  word-break: break-word;
}

.invoice-field-value.highlight {
  color: var(--primary);
}

/* Route Visualization */
.invoice-route {
  position: relative;
  padding-left: 20px;
}

.invoice-route-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding: 8px 0;
}

.route-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.route-dot.origin {
  background: #2D8B5F;
  box-shadow: 0 0 0 4px rgba(45,139,95,0.2);
}

.route-dot.destination {
  background: #EF4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.2);
}

.invoice-route-line {
  position: absolute;
  left: 26px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #2D8B5F, #E8773A, #EF4444);
}

.invoice-notes {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fefce8;
  border-radius: var(--radius-sm);
  border-left: 3px solid #fbbf24;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.invoice-notes strong {
  color: var(--dark);
}

/* Invoice Footer */
.invoice-footer {
  padding: 16px 28px;
  background: var(--gray-100);
  text-align: center;
}

.invoice-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.invoice-footer-line svg {
  color: var(--gray-400);
}

.invoice-watermark {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-300);
  margin-top: 8px;
}

.invoice-print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.invoice-print-btn:hover {
  background: var(--gray-100);
  color: var(--dark);
}


/* ============================================
   LIVE STATUS BANNER
   ============================================ */
.live-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  border-left: 4px solid #22c55e;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}


/* ============================================
   MAP LEGEND & STATUS BAR
   ============================================ */
.map-legend {
  display: flex;
  gap: 20px;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.origin { background: #2D8B5F; }
.legend-dot.destination { background: #EF4444; }
.legend-dot.pet { background: #E8773A; }

.map-status-bar {
  padding: 10px 16px;
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* Print styles */
@media print {
  .header, .track-hero, .footer, .floating-chat-btn, .floating-chat-tooltip,
  .track-map-container, .tracking-timeline, .live-status-banner, .invoice-print-btn,
  .map-legend, .map-status-bar { display: none !important; }
  .track-results { display: block !important; padding: 0 !important; }
  .track-layout { grid-template-columns: 1fr !important; }
  .invoice-receipt { box-shadow: none; border: 2px solid #ddd; }
}
