/* 
   Tidy Tails Pet Grooming Design System
   Aesthetic: Clean, Calm, Soothing, Trustworthy, Pet-Focused
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- 1. Design Tokens (Variables) --- */
:root {
  /* Colors */
  --primary-hue: 156;
  --primary: hsl(var(--primary-hue), 32%, 35%);          /* Deep Forest Sage */
  --primary-light: hsl(var(--primary-hue), 25%, 95%);    /* Soft Mint Pastel */
  --primary-medium: hsl(var(--primary-hue), 20%, 65%);   /* Mid-tone Sage */
  --secondary: hsl(28, 30%, 95%);                       /* Soothing Warm Cream Sand */
  --accent: hsl(42, 60%, 48%);                           /* Trust Gold Oak */
  --accent-hover: hsl(42, 65%, 42%);
  --accent-light: hsl(42, 50%, 96%);
  --bg-color: hsl(0, 0%, 100%);
  --bg-alt: hsl(28, 25%, 98%);
  
  --text-color: hsl(215, 25%, 15%);                      /* Slate Charcoal */
  --text-muted: hsl(215, 15%, 45%);
  --border-color: hsl(156, 15%, 88%);
  --white: #ffffff;
  
  /* Fonts */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout Metrics */
  --header-height: 80px;
  --header-height-scroll: 70px;
  --container-width: 1200px;
  
  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(28, 48, 40, 0.08), 0 10px 10px -5px rgba(28, 48, 40, 0.04);
  
  /* Animations */
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* --- 2. Base Resets & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

p.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 800px;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* --- 3. Layout Grid & Utilities --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

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

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-full);
  margin: 0.75rem auto 0 auto;
}

/* --- 4. Custom Buttons & Interactivity --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-tel {
  background-color: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  font-size: 0.95rem;
  padding: 10px 20px;
}

.btn-tel:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- 5. Navigation & Header Component --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(156, 192, 175, 0.15);
  transition: var(--transition-smooth);
}

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

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

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

.logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

/* Hamburger & Mobile Menu Drawer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  transform-origin: left center;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 101;
  padding: 100px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 2px solid var(--primary-light);
}

.mobile-nav-drawer.active {
  right: 0;
}

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

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
}

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

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.mobile-nav-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(28, 48, 40, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger active transformation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* --- 6. Hero Component --- */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 55%),
              linear-gradient(to bottom, var(--white), var(--bg-alt));
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  z-index: 0;
  border: 2px dashed var(--primary-medium);
}

.hero-img {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  height: 480px;
}

/* --- 7. Intro & Info Card Components --- */
.intro-text-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.intro-text-block p {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-headings);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(156, 192, 175, 0.15);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-medium);
  opacity: 0;
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- 8. Before/After Transform Slider Component --- */
.transform-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.transform-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.transform-card-img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.transform-card:hover .transform-card-img {
  transform: scale(1.03);
}

.transform-card-body {
  padding: 20px;
  text-align: center;
}

.transform-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* --- 9. Services & Pricing Page Styles --- */
.pricing-header-card {
  background-color: var(--primary-light);
  border: 1.5px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pricing-header-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.pricing-header-card p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.pdf-guide-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.pdf-guide-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pdf-guide-box a {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-table-container {
  margin-bottom: 60px;
}

.pricing-category-title {
  margin-bottom: 24px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-category-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
}

.service-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid rgba(156, 192, 175, 0.12);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.service-item-row:hover {
  border-color: var(--primary-medium);
  box-shadow: var(--shadow-md);
}

.service-info {
  flex: 1;
  padding-right: 30px;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.service-price {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  background-color: var(--accent-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

/* Policies Accordion Component */
.policies-accordion {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.policies-accordion h3 {
  margin-bottom: 24px;
  text-align: center;
}

details {
  background-color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

details[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-medium);
}

summary {
  padding: 20px 24px;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: var(--white);
  transition: var(--transition-fast);
}

summary:hover {
  background-color: var(--primary-light);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: var(--primary);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.details-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--primary-light);
  background-color: var(--bg-alt);
}

.details-content p {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.details-content ul {
  margin-top: 12px;
  padding-left: 20px;
  font-size: 0.95rem;
}

.details-content li {
  margin-bottom: 8px;
}

/* --- 10. Gallery Grid & Lightbox --- */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: var(--transition-smooth);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(28, 48, 40, 0.85) 0%, rgba(28, 48, 40, 0) 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
}

.gallery-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
}

/* Lightbox Modal Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(28, 48, 40, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.35s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 20px;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* --- 11. About Page & Team Components --- */
.team-grid {
  margin-top: 40px;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(156, 192, 175, 0.15);
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-medium);
}

.team-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-headings);
  border: 2px solid var(--primary-medium);
}

.team-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-title {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.team-specialties-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  font-weight: 600;
}

.team-specialties-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.specialty-tag {
  padding: 4px 12px;
  background-color: var(--bg-alt);
  color: var(--text-color);
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
}

/* Trust Signals Section Styles */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.trust-badge-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(156, 192, 175, 0.1);
}

.trust-badge-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.trust-badge-text {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.4;
  text-wrap: pretty;
}

/* --- 12. Contact & Hours Page Styles --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details-box h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-details-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 12px 16px;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  text-transform: capitalize;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

.hours-table tr.today {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
}

.hours-table tr.today td {
  font-weight: 600;
  color: var(--accent-hover);
}

.hours-table tr.today td:last-child {
  color: var(--accent-hover);
}

.map-card {
  height: 100%;
  min-height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-alt);
  position: relative;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 450px;
}

.social-links-flex {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-circle-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

.social-circle-link:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: scale(1.08);
}

/* --- 13. Call To Action (Booking Banner) Component --- */
.booking-banner {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(var(--primary-hue), 35%, 25%) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.booking-banner::before {
  content: '🐾';
  position: absolute;
  font-size: 10rem;
  opacity: 0.05;
  top: -30px;
  left: -20px;
}

.booking-banner::after {
  content: '🐾';
  position: absolute;
  font-size: 8rem;
  opacity: 0.05;
  bottom: -30px;
  right: -20px;
}

.booking-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.booking-banner p {
  color: var(--primary-light);
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.booking-banner .btn {
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- 14. Footer --- */
footer {
  background-color: hsl(215, 25%, 12%);
  color: hsl(215, 15%, 80%);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary-medium);
}

footer a {
  color: hsl(215, 15%, 80%);
}

footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  color: hsl(215, 15%, 70%);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-column-title {
  color: var(--white);
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid hsl(215, 15%, 20%);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: hsl(215, 15%, 60%);
}

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

/* --- 15. Mobile Overlay Nav & Float Buttons --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.06);
  z-index: 99;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-color);
}

.mobile-sticky-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  gap: 8px;
}

.mobile-sticky-action.call {
  background-color: var(--primary-light);
  color: var(--primary);
  border-right: 1px solid var(--border-color);
}

.mobile-sticky-action.book {
  background-color: var(--accent);
  color: var(--white);
}

/* --- 16. Entry Scroll Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --- 17. Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }
  .hero-img {
    height: 380px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .nav-menu,
  .header-ctas .btn-primary,
  .header-ctas .btn-tel {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-img {
    height: 320px;
  }
  
  .transform-preview {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .map-card {
    min-height: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  body {
    padding-bottom: 58px; /* account for mobile sticky bar */
  }
  
  .mobile-sticky-bar {
    display: grid;
  }
  
  .lightbox-prev,
  .lightbox-next {
    display: none; /* Hide nav arrows on touch screens */
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
}

/* --- RVA Sites Notice Bar --- */
.rva-notice-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background-color: var(--primary, #3e6252);
  color: var(--white, #ffffff);
  border-bottom: 2px solid var(--accent, #bca368);
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rva-notice-bar a {
  color: var(--accent, #bca368);
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast, all 0.2s ease);
}

.rva-notice-bar a:hover {
  color: var(--white, #ffffff);
}

/* Adjust header to sit below fixed notice bar */
header {
  top: 36px !important;
}

@media (max-width: 991px) {
  header {
    top: 56px !important;
  }
  .mobile-nav-drawer {
    top: calc(var(--header-height) + 56px) !important;
    height: calc(100vh - var(--header-height) - 56px) !important;
  }
}

@media (max-width: 480px) {
  header {
    top: 76px !important;
  }
  .mobile-nav-drawer {
    top: calc(var(--header-height) + 76px) !important;
    height: calc(100vh - var(--header-height) - 76px) !important;
  }
}

/* Adjust html scroll padding top to clear notice bar + header */
html {
  scroll-padding-top: calc(var(--header-height) + 56px) !important;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 76px) !important;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 96px) !important;
  }
}

/* Location details note */
.demo-location-note {
  font-size: 0.825rem !important;
  color: var(--text-muted, #4B5563) !important;
  font-style: italic;
  font-weight: 400 !important;
  margin-top: 0.35rem;
  line-height: 1.4;
  display: block;
}

