/* ==========================================================================
   ZOONARANJA — Componentes: botones, cards, badges, forms, modals
   ========================================================================== */

/* ---- Botones ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast) var(--ease-soft);
  white-space: nowrap;
}
.btn span, .btn i { position: relative; z-index: 2; }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--grad-warm);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255,122,48,0.35);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255,122,48,0.5); }

.btn-secondary {
  background: var(--glass-bg);
  color: var(--ink-900);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--turquoise); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink-300);
  color: var(--ink-800);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-emergency {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-emergency i { color: #FF6B6B; }

.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.85rem; }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Efecto ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  pointer-events: none;
  z-index: 1;
  animation: ripple-anim 0.6s var(--ease-soft);
}
@keyframes ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* Glow pulsante en botones CTA */
.btn-glow { position: relative; }
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--grad-warm);
  opacity: 0;
  filter: blur(14px);
  z-index: -1;
  transition: opacity var(--dur-fast);
}
.btn-glow:hover::before { opacity: 0.7; }

/* Botón icono circular */
.btn-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-100);
  color: var(--ink-700);
  transition: all var(--dur-fast) var(--ease-soft);
}
.btn-icon:hover { background: var(--grad-primary); color: #fff; transform: translateY(-3px) rotate(8deg); }

/* ---- Toggle modo oscuro ---- */
.theme-toggle {
  width: 52px; height: 30px;
  border-radius: var(--radius-full);
  background: var(--ink-200);
  position: relative;
  padding: 3px;
  transition: background var(--dur-fast);
}
.theme-toggle .toggle-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.7rem;
  transition: transform var(--dur-base) var(--ease-bounce);
}
[data-theme="dark"] .theme-toggle .toggle-thumb { transform: translateX(22px); }
[data-theme="dark"] .theme-toggle { background: var(--ink-700); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--ink-100);
  color: var(--blue-vet);
}
.badge-live {
  background: rgba(16,185,129,0.12);
  color: var(--emerald);
}
.badge-live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ---- Cards genéricas con glass ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- Service card (3D tilt) ---- */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow var(--dur-base) var(--ease-soft);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0;
  transition: opacity var(--dur-base);
  z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { box-shadow: var(--shadow-lg); }

.service-icon {
  width: 62px; height: 62px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-glow-turquoise);
  transition: transform var(--dur-base) var(--ease-bounce);
}
.service-card:hover .service-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.service-card p { color: var(--ink-500); font-size: 0.92rem; position: relative; z-index: 1; }
.service-card .service-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: var(--space-sm);
  font-weight: 700; font-size: 0.85rem;
  color: var(--orange);
}
.service-card .service-link i { transition: transform var(--dur-fast); }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ---- Stat card ---- */
.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, var(--fs-4xl));
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, var(--turquoise-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ---- Testimonial card ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--orange); font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-quote { color: var(--ink-700); font-size: 0.875rem; line-height: 1.65; flex: 1; margin: 0; text-align: left; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; text-align: left; }
.testimonial-author > div { min-width: 0; }
.testimonial-author img {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--turquoise-light);
}
.testimonial-author strong { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-900); }
.testimonial-author span { display: block; font-size: 0.75rem; line-height: 1.5; color: var(--ink-400); }

/* ---- Team card 3D ---- */
.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow var(--dur-base);
}
.team-card:hover { box-shadow: var(--shadow-lg); }
.team-photo { height: 220px; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform var(--dur-slow) var(--ease-soft); }
.team-card:hover .team-photo img { transform: scale(1.08); }
.team-photo .team-social {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.6rem;
  padding: var(--space-sm);
  background: linear-gradient(0deg, rgba(10,31,43,0.75), transparent);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-premium);
}
.team-card:hover .team-social { transform: translateY(0); }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--blue-vet);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.team-social a:hover { background: var(--orange); color: #fff; }
.team-info { padding: var(--space-md); text-align: center; }
.team-info h3 { font-size: 1.1rem; }
.team-info .team-role { color: var(--turquoise); font-weight: 700; font-size: 0.85rem; margin: 0.25rem 0 0.5rem; }
.team-info .team-meta { color: var(--ink-400); font-size: 0.8rem; }
.team-cert { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.6rem; flex-wrap: wrap; }
.team-cert span { font-size: 0.68rem; background: var(--ink-100); color: var(--ink-600); padding: 0.2rem 0.55rem; border-radius: var(--radius-full); }

/* ---- Gallery / Masonry ---- */
.gallery-filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: var(--space-lg);
}
.gallery-filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700;
  background: var(--ink-100); color: var(--ink-600);
  transition: all var(--dur-fast) var(--ease-soft);
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--grad-primary); color: #fff;
}
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}
.masonry-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
}
.masonry-item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.masonry-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-soft); }
.masonry-item:hover img { transform: scale(1.12); }
.masonry-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,31,43,0.75), transparent 55%);
  display: flex; align-items: flex-end; padding: var(--space-sm);
  opacity: 0; transition: opacity var(--dur-fast);
}
.masonry-item:hover .overlay { opacity: 1; }
.masonry-item .overlay span { color: #fff; font-weight: 700; font-size: 0.9rem; }
.masonry-item .zoom-icon {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--blue-vet);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6);
  transition: all var(--dur-fast) var(--ease-bounce);
}
.masonry-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(10,31,43,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-fast);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* ---- Before / After comparator ---- */
.compare-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
}
.compare-wrap img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.compare-before, .compare-after { position: absolute; inset: 0; overflow: hidden; }
.compare-after { width: 50%; }
.compare-label { position: absolute; top: 16px; padding: 0.3rem 0.9rem; border-radius: var(--radius-full); background: rgba(10,31,43,0.65); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }
.compare-before .compare-label { left: 16px; }
.compare-after .compare-label { right: 16px; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.compare-handle .handle-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--blue-vet);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  gap: 2px;
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--ink-100);
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
}
.faq-question .icon-plus {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink-100); color: var(--blue-vet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 1rem;
  transition: transform var(--dur-base) var(--ease-soft), background var(--dur-base);
}
.faq-item.open .icon-plus { background: var(--grad-warm); color: #fff; transform: rotate(135deg); }
.faq-answer { overflow: hidden; height: 0; }
.faq-answer-inner { padding: 0 0 var(--space-md); color: var(--ink-500); line-height: 1.7; }

/* ---- Formulario de contacto ---- */
.form-group { position: relative; margin-bottom: var(--space-md); }
.form-control {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-control:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(20,184,166,0.14);
  outline: none;
}
.form-control.error { border-color: #EF4444; }
.form-error-msg { display: none; color: #EF4444; font-size: 0.78rem; margin-top: 0.4rem; }
.form-group.has-error .form-error-msg { display: block; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink-700); }
textarea.form-control { resize: vertical; min-height: 120px; }

#contact {
  position: relative;
}
#contact-form-success {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  pointer-events: none;
}
#contact-form-success.show {
  display: flex;
}
.form-success {
  position: relative;
  width: min(100%, 560px);
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(255, 122, 48, 0.9);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(10, 31, 43, 0.12);
  pointer-events: auto;
}
.form-success.show { display: block; }
.form-success .success-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; color: #fff;
  margin: 0 auto var(--space-md);
  box-shadow: 0 12px 28px rgba(20,184,166,0.28);
}
.form-success h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink-900);
}
.form-success p {
  margin: 0;
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 1.6;
}
.form-success-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 31, 43, 0.08);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
}
.form-success-close:hover {
  background: rgba(10, 31, 43, 0.12);
  transform: scale(1.04);
}

/* ---- Select estilizado para reservas ---- */
.select-wrap { position: relative; }
.select-wrap i { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; }
select.form-control { appearance: none; cursor: pointer; }

/* ---- Location card ---- */
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.location-card img { height: 160px; width: 100%; object-fit: cover; }
.location-card .location-body { padding: var(--space-md); }
.location-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.location-card .location-meta { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--ink-500); font-size: 0.85rem; margin-bottom: 0.5rem; }
.location-card .location-meta i { color: var(--orange); margin-top: 0.15rem; }
.location-services { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0; }
.location-services span { font-size: 0.68rem; background: var(--ink-100); padding: 0.2rem 0.5rem; border-radius: var(--radius-full); color: var(--ink-600); }

/* ---- Map pins ---- */
.map-pin {
  position: absolute;
  width: 16px; height: 16px;
  transform: translate(-50%,-100%);
  cursor: pointer;
}
.map-pin .pin-dot {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255,122,48,0.6);
  animation: pin-heartbeat 2s infinite;
  border: 2px solid #fff;
}
@keyframes pin-heartbeat {
  0% { box-shadow: 0 0 0 0 rgba(255,122,48,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,122,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,48,0); }
}
.map-pin::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--orange);
  transform: translateX(-50%);
}
.map-pin:hover .pin-dot { transform: scale(1.3); }

/* ---- Blog card ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card img { height: 200px; width: 100%; object-fit: cover; }
.blog-card .blog-body { padding: var(--space-md); }
.blog-tag { color: var(--orange); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card h3 { font-size: 1.1rem; margin: 0.5rem 0; }
.blog-card p { color: var(--ink-500); font-size: 0.9rem; }
.blog-meta { display: flex; gap: 1rem; color: var(--ink-400); font-size: 0.78rem; margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--ink-100); }

/* ---- Membership card ---- */
.membership-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--ink-100);
  text-align: center;
  position: relative;
  transition: transform var(--dur-base), border-color var(--dur-base);
}
.membership-card.featured { border-color: var(--orange); transform: scale(1.03); }
.membership-card:hover { transform: translateY(-6px); }
.membership-card .plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-warm); color: #fff; font-size: 0.7rem; font-weight: 800;
  padding: 0.3rem 1rem; border-radius: var(--radius-full);
}
.membership-price { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800; margin: var(--space-sm) 0; }
.membership-price span { font-size: 0.9rem; color: var(--ink-400); font-weight: 500; }
.membership-list { text-align: left; margin: var(--space-md) 0; display: flex; flex-direction: column; gap: 0.6rem; }
.membership-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-600); }
.membership-list i { color: var(--emerald); margin-top: 0.2rem; }

/* ---- Adoption card ---- */
.adopt-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--ink-100);
  transition: transform var(--dur-base);
}
.adopt-card:hover { transform: translateY(-6px); }
.adopt-card .adopt-img { aspect-ratio: 1/1; overflow: hidden; position: relative; }
.adopt-card .adopt-img img { width: 100%; height: 100%; object-fit: cover; }
.adopt-status { position: absolute; top: 12px; left: 12px; background: var(--emerald); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: var(--radius-full); }
.adopt-body { padding: var(--space-md); }

/* ---- Age calculator ---- */
.calc-widget {
  background: var(--white); border-radius: var(--radius-lg); padding: var(--space-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--ink-100);
}
.calc-result {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  color: #fff;
  text-align: center;
  display: none;
}
.calc-result.show { display: block; }
.calc-result .big-number { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800; }

/* ---- Vaccine calendar ---- */
.vaccine-timeline { position: relative; padding-left: 2.5rem; }
.vaccine-timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px;
  background: var(--ink-200);
}
.vaccine-step { position: relative; margin-bottom: var(--space-lg); }
.vaccine-step::before {
  content: ''; position: absolute; left: -2.5rem; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--turquoise-light);
}
.vaccine-step h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.vaccine-step span { color: var(--orange); font-weight: 700; font-size: 0.8rem; }
.vaccine-step p { color: var(--ink-500); font-size: 0.88rem; margin-top: 0.4rem; }

/* ---- WhatsApp floating widget ---- */
#whatsapp-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem;
}
.wa-tag {
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-800);
  display: flex; align-items: center; gap: 0.4rem;
  animation: breathe 3s ease-in-out infinite;
  cursor: pointer;
  transition: transform var(--dur-fast);
}
.wa-tag:hover { transform: scale(1.08); }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.wa-button {
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.7rem;
  box-shadow: 0 8px 26px rgba(37,211,102,0.5);
  position: relative;
}
.wa-button::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---- Chatbot widget ---- */
#ai-chatbot-toggle {
  position: fixed;
  bottom: 28px; right: 106px;
  z-index: var(--z-chatbot);
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: var(--shadow-glow-turquoise);
  transition: transform var(--dur-fast) var(--ease-bounce);
}
#ai-chatbot-toggle:hover { transform: scale(1.08) rotate(-6deg); }
#ai-chatbot-toggle .chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

#ai-chatbot-window {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: var(--z-chatbot);
  width: 340px; max-height: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95);
  transition: all var(--dur-base) var(--ease-premium);
  border: 1px solid var(--ink-100);
}
#ai-chatbot-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header {
  background: var(--grad-primary); color: #fff;
  padding: var(--space-sm) var(--space-md);
  display: flex; align-items: center; gap: 0.7rem;
}
.chat-header img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.chat-header strong { display: block; font-size: 0.9rem; }
.chat-header small { font-size: 0.72rem; opacity: 0.85; }
.chat-body { flex: 1; overflow-y: auto; padding: var(--space-sm) var(--space-md); display: flex; flex-direction: column; gap: 0.7rem; max-height: 320px; }
.chat-msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: var(--radius-md); font-size: 0.85rem; line-height: 1.5; }
.chat-msg.bot { background: var(--ink-100); color: var(--ink-800); align-self: flex-start; border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px; }
.chat-msg.user { background: var(--grad-warm); color: #fff; align-self: flex-end; border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md); }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 var(--space-md) var(--space-sm); }
.chat-quick-replies button {
  font-size: 0.75rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-full);
  background: var(--ink-100); color: var(--blue-vet); font-weight: 600;
  transition: background var(--dur-fast);
}
.chat-quick-replies button:hover { background: var(--turquoise); color: #fff; }
.chat-input-row { display: flex; gap: 0.5rem; padding: var(--space-sm); border-top: 1px solid var(--ink-100); }
.chat-input-row input { flex: 1; border: 1px solid var(--ink-200); border-radius: var(--radius-full); padding: 0.6rem 1rem; font-size: 0.85rem; }
.chat-input-row button { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- Search / smart finder ---- */
.finder-box {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
  background: var(--white);
  padding: 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.finder-box input { flex: 1; min-width: 180px; border: none; padding: 0.7rem 1.2rem; border-radius: var(--radius-full); font-size: 0.92rem; }
.finder-box input:focus { outline: none; }

/* ---- Virtual tour thumbs ---- */
.tour-thumb {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; aspect-ratio: 16/10;
}
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.tour-thumb:hover img { transform: scale(1.08); }
.tour-thumb .play-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,31,43,0.25);
}
.tour-thumb .play-icon i {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.9);
  color: var(--blue-vet); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ---- Confetti canvas ---- */
#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 9995; }
/* ============================================
   LOGO DE TEXTO ANIMADO — ZOONARANJA
============================================ */
.nav-logo-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  padding: 0.3rem 0;
}

.logo-paw {
  font-size: 1.25rem;
  color: #FF8C3B; /* naranja marca */
  animation: paw-bounce 2.4s ease-in-out infinite;
}

.logo-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-zoo {
  color: var(--turquoise-light);
}

#site-header.scrolled .logo-zoo {
  color: #0B6E8C;
}

.logo-naranja {
  background: linear-gradient(90deg, #FF8C3B, #FFB347, #FF8C3B);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-move 3s linear infinite;
}

@keyframes shine-move {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes paw-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-3px) rotate(-8deg); }
  50%      { transform: translateY(0) rotate(0deg); }
  75%      { transform: translateY(-2px) rotate(6deg); }
}

.nav-logo-text:hover .logo-word {
  transform: scale(1.04);
  transition: transform 0.25s ease;
}

.nav-logo-text:hover .logo-paw {
  animation-duration: 0.8s;
}

/* Responsive: un poco más chico en móvil */
@media (max-width: 768px) {
  .logo-word { font-size: 1.35rem; }
  .logo-paw { font-size: 1.3rem; }
}
