/* ==========================================================================
   Pet Center Marília - Custom Design System & CSS Stylesheet
   ========================================================================== */

/* 1. CSS Custom Properties / Tokens */
:root {
  /* Brand Palette */
  --primary: #00a54f;
  --primary-hover: #008640;
  --primary-light: #e6f4ea;
  --primary-glow: rgba(0, 165, 79, 0.25);
  
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-muted: #64748b;
  --text-main: #334155;
  
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --border-focus: #00a54f;
  
  --accent-gold: #f59e0b;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 165, 79, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.05);

  /* Fluid Typography */
  --font-h1: clamp(2.2rem, 5vw, 3.8rem);
  --font-h2: clamp(1.8rem, 3.8vw, 2.6rem);
  --font-h3: clamp(1.25rem, 2.5vw, 1.6rem);
  --font-body: clamp(0.95rem, 1.5vw, 1.05rem);
  
  /* Layout Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: clamp(3rem, 7vw, 6rem);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #fbfbfd;
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

p, a, span, h1, h2, h3, h4, h5, h6, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a[href^="mailto:"] {
  word-break: break-all;
}

p {
  max-width: 70ch;
}

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

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

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 165, 79, 0.35);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-alt);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
  color: #ffffff;
}

.promo-instagram-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
  border: 2px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}

.promo-insta-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-insta-text {
  flex: 1;
  min-width: 0;
}

.promo-insta-text h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.promo-insta-text p {
  font-size: 0.95rem;
  color: var(--text-main);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition-fast);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding-block: 0.5rem;
}

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

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.phone-badge svg {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f8fafc 100%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-title {
  font-size: var(--font-h1);
  color: var(--dark);
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: var(--font-body);
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.highlight-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--surface);
  border: 4px solid var(--surface);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 540px;
}

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

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border);
  max-width: calc(100% - 40px);
  z-index: 10;
}

.floating-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.floating-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.floating-info span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   Section Styling General
   ========================================================================== */
.section {
  padding-block: var(--space-xl);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: var(--font-h2);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: var(--font-body);
  color: var(--text-muted);
}

/* ==========================================================================
   Apresentação & Responsável Técnico
   ========================================================================== */
.about {
  background-color: var(--surface);
}

.about-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  max-width: 360px;
  margin-inline: auto;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.about-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.crmv-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.about-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-block: 1.25rem;
  background: rgba(0, 165, 79, 0.04);
  padding-block: 0.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.vet-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.spec-box {
  background-color: var(--surface);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.spec-box span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.spec-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Serviços em Destaque
   ========================================================================== */
.services-section {
  background-color: var(--surface-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 165, 79, 0.3);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features-list li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.service-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-link:hover {
  color: var(--primary-hover);
  gap: 0.6rem;
}

/* ==========================================================================
   Seção de Ofertas & Planos de Cuidado
   ========================================================================== */
.offers-section {
  background-color: var(--surface);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-price-box {
  margin-block: 1.25rem;
  text-align: center;
  padding-block: 1rem;
  background-color: rgba(248, 250, 252, 0.8);
  border-radius: var(--radius-md);
}

.plan-price-desc {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-main);
}

.plan-features li svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Benefícios e Diferenciais
   ========================================================================== */
.benefits-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: #ffffff;
}

.benefits-section .section-title {
  color: #ffffff;
}

.benefits-section .section-desc {
  color: #94a3b8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 165, 79, 0.2);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonials-section {
  background-color: var(--surface-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  background-color: var(--surface);
}

.faq-container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--surface);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--surface-alt);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background-color: var(--surface-alt);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-content {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Localização e Atendimento
   ========================================================================== */
.location-section {
  background-color: var(--surface-alt);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.location-info-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.location-btn {
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.info-item-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
  width: 100%;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.info-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  position: relative;
}

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

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #00a54f 0%, #006832 100%);
  color: #ffffff;
  padding-block: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: var(--font-h2);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--dark);
  color: #94a3b8;
  padding-top: var(--space-lg);
  padding-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Modal / Drawer System
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--border);
}

.modal-body {
  padding: 2.5rem;
}

.modal-img-header {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Responsive & Mobile Overrides (Zero Horizontal Scroll Guaranteed)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-shape {
    display: none !important;
  }

  .header-inner {
    height: 72px;
  }

  .logo-img {
    height: 44px;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-sizing: border-box;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  *, *::before, *::after {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
  }

  /* Direct 20px (1.25rem) Side Breathing Room for All Sections */
  .hero,
  .section,
  .about,
  .services-section,
  .benefits-section,
  .faq-section,
  .location-section,
  .cta-banner,
  .footer {
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
    padding-inline: 1.25rem !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Hero Section Mobile Breathing Room & Structure */
  .hero-content {
    width: 100% !important;
    gap: 1.25rem !important;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.9rem 1.25rem !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
  }

  .hero-highlights {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    padding-top: 1.25rem !important;
    margin-top: 1.25rem !important;
  }

  .hero-media {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  .hero-image-card {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/10 !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }

  .hero-floating-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 1.25rem !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    justify-content: flex-start !important;
  }

  /* Grid Layouts to Single Column */
  .hero-grid,
  .services-grid,
  .benefits-grid,
  .location-grid,
  .footer-grid,
  .about-card,
  .hero-highlights {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  /* Hero Section Mobile */
  .hero-content {
    width: 100% !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-media {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-image-card {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/10 !important;
  }

  .hero-floating-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
  }

  /* About Card Mobile */
  .about-card {
    padding: 1.5rem 1.25rem !important;
  }

  .about-img-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }

  .vet-specs {
    grid-template-columns: 1fr !important;
  }

  /* Services & Cards Mobile */
  .service-card,
  .benefit-card {
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promo-instagram-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.25rem !important;
    width: 100% !important;
  }

  .promo-insta-text {
    min-width: 0 !important;
    width: 100% !important;
  }

  .promo-instagram-banner .btn-insta {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Location Section Mobile */
  .location-info-card {
    padding: 1.25rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .info-item {
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .info-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .info-details {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .info-details p,
  .info-details a {
    font-size: 0.85rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .info-details a[href^="mailto:"] {
    word-break: break-all !important;
  }

  .location-btn {
    margin-top: 1.25rem !important;
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
  }

  .map-wrapper {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
  }

  .map-wrapper iframe {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
  }

  /* CTA & Footer Mobile */
  .cta-banner {
    padding-block: 2.5rem !important;
  }

  .cta-btn {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .footer-col {
    width: 100% !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  /* Modals Mobile */
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  .modal-body {
    padding: 1.25rem !important;
  }

  .floating-whatsapp {
    bottom: 16px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}
