/* ==========================================================================
   Huellitas de Amor Bogotá - Estilos 100% Vanilla CSS (Sin Bootstrap)
   Estética: Tierna / Medio Infantil Pastel + Marcas de Agua de Animales
   ========================================================================== */

:root {
  /* Paleta Infantil / Tierna Pastel & Alegre */
  --bg-main: #FFFDF6;         /* Crema vainilla muy tierno */
  --bg-pastel-yellow: #FEF3C7;/* Sol pastel */
  --bg-pastel-mint: #E6F8F0;  /* Menta suave */
  --bg-pastel-sky: #E0F2FE;   /* Cielo suave */
  --bg-pastel-pink: #FCE7F3;  /* Rosado algodón */
  --bg-card: #FFFFFF;

  --text-dark: #2D2338;       /* Chocolate/Ciruela suave para lectura cómoda */
  --text-muted: #685B74;

  --primary: #FF6B4A;         /* Coral Naranja alegre */
  --primary-hover: #E85332;
  --secondary: #0EA5E9;       /* Azul cielo juguetón */
  --accent-yellow: #F59E0B;   /* Amarillo miel */
  --whatsapp: #25D366;        /* Verde Oficial WhatsApp */
  --whatsapp-hover: #1EBE5B;

  --border-color: #FDE68A;    /* Borde pastel cálido */
  --border-soft: #F3E8FF;

  /* Sombras suaves tipo cuento infantil */
  --shadow-sm: 0 6px 16px rgba(255, 107, 74, 0.08);
  --shadow-md: 0 12px 28px rgba(45, 35, 56, 0.10);
  --shadow-lg: 0 18px 40px rgba(255, 107, 74, 0.16);

  /* Tipografías redondeadas */
  --font-heading: 'Fredoka', 'Quicksand', sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, sans-serif;

  /* Bordes redondeados estilo burbuja / nube */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset Básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Fondo Medio Infantil con Patrón SVG de Huellitas, Huesitos y Estrellitas en Marca de Agua */
body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(254, 243, 199, 0.65) 0%, transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(224, 242, 254, 0.65) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(252, 231, 243, 0.55) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23FF6B4A' fill-opacity='0.055'%3E%3Ccircle cx='30' cy='38' r='8'/%3E%3Ccircle cx='20' cy='26' r='3.5'/%3E%3Ccircle cx='27' cy='22' r='3.5'/%3E%3Ccircle cx='35' cy='22' r='3.5'/%3E%3Ccircle cx='41' cy='26' r='3.5'/%3E%3C/g%3E%3Cg fill='%230EA5E9' fill-opacity='0.055'%3E%3Ccircle cx='120' cy='115' r='8'/%3E%3Ccircle cx='110' cy='103' r='3.5'/%3E%3Ccircle cx='117' cy='99' r='3.5'/%3E%3Ccircle cx='125' cy='99' r='3.5'/%3E%3Ccircle cx='131' cy='103' r='3.5'/%3E%3C/g%3E%3Cg stroke='%23F59E0B' stroke-opacity='0.07' stroke-width='2' fill='none'%3E%3Cpath d='M105 32 C100 27 95 32 99 38 C95 44 100 49 105 44 L128 44 C133 49 138 44 134 38 C138 32 133 27 128 32 Z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   CAPA DE MARCAS DE AGUA DE ANIMALES EN EL FONDO (ESTILO INFANTIL)
   ========================================================================== */
.animal-watermarks-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wm-item {
  position: absolute;
  opacity: 0.065;
  color: var(--primary);
}

.wm-1 { width: 150px; top: 12%; left: 3%; transform: rotate(-12deg); color: #FF6B4A; }
.wm-2 { width: 140px; top: 22%; right: 4%; transform: rotate(14deg); color: #0EA5E9; }
.wm-3 { width: 95px; top: 52%; left: 6%; transform: rotate(22deg); color: #F59E0B; }
.wm-4 { width: 120px; top: 68%; right: 7%; transform: rotate(-18deg); color: #EC4899; }
.wm-5 { width: 135px; bottom: 10%; left: 12%; transform: rotate(8deg); color: #8B5CF6; }
.wm-6 { width: 90px; top: 38%; right: 18%; transform: rotate(-25deg); color: #10B981; }
.wm-7 { width: 115px; bottom: 18%; right: 22%; transform: rotate(10deg); color: #0EA5E9; }
.wm-8 { width: 130px; top: 78%; left: 42%; transform: rotate(-8deg); color: #FF6B4A; }

/* ==========================================================================
   SELLO DE MARCA DE AGUA DE ANIMALES SOBRE TODAS LAS FOTOS
   ========================================================================== */
.watermarked-photo {
  position: relative;
  overflow: hidden;
}

.photo-watermark-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.55rem 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.16' transform='rotate(-20 60 60)'%3E%3Cellipse cx='60' cy='72' rx='14' ry='11'/%3E%3Ccircle cx='44' cy='55' r='5.5'/%3E%3Ccircle cx='54' cy='48' r='6'/%3E%3Ccircle cx='66' cy='48' r='6'/%3E%3Ccircle cx='76' cy='55' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
}

.photo-watermark-overlay span {
  background: rgba(45, 35, 56, 0.48);
  backdrop-filter: blur(3px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   BARRA SUPERIOR Y HEADER CON PESTAÑAS
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #FF6B4A 0%, #F59E0B 100%);
  color: #FFFFFF;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-wa-pill {
  background: #FFFFFF;
  color: #128C7E;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.top-wa-pill:hover {
  transform: scale(1.04);
  background: #E6F8F0;
}

.main-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px dashed #FDE68A;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo {
  height: 72px;
  width: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(255, 107, 74, 0.2));
}

.brand-badge-city {
  display: inline-block;
  background: var(--bg-pastel-yellow);
  color: #B45309;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

/* Sistema de Pestañas Redondeadas */
.nav-tabs {
  display: flex;
  list-style: none;
  gap: 0.4rem;
  background: #FFFDF6;
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid #FDE68A;
  box-shadow: inset 0 2px 4px rgba(245, 158, 11, 0.08);
}

.nav-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-tab-link:hover {
  background: var(--bg-pastel-yellow);
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-tab-link.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.35);
}

.mobile-toggle {
  display: none;
  background: var(--bg-pastel-yellow);
  border: 2px solid #F59E0B;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* ==========================================================================
   CONTENIDO PRINCIPAL Y ANIMACIÓN DE PESTAÑA
   ========================================================================== */
.main-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.tab-pane {
  animation: popTab 0.38s ease-out;
}

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

/* ==========================================================================
   HERO SECTION INFANTIL / TIERNA
   ========================================================================== */
.hero-section {
  padding: 3.2rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-pastel-yellow);
  color: #B45309;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 2px dashed #F59E0B;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
}

.hero-title span {
  color: var(--primary);
  text-decoration: underline wavy #F59E0B 3px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.btn-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Botones Globales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(255, 107, 74, 0.35);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
}

.btn-outline {
  background: #FFFFFF;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--bg-pastel-yellow);
  transform: translateY(-2px);
}

/* Burbujas de Estadísticas en Hero */
.hero-stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-bubble {
  background: #FFFFFF;
  border: 2px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stat-bubble strong {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.1;
}

.stat-bubble span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Tarjeta Ilustrada Derecha Hero */
.hero-card-main {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 3px solid #FDE68A;
  box-shadow: var(--shadow-lg);
}

.hero-illustration-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--bg-pastel-sky);
}

.hero-card-caption {
  padding: 0.4rem 0.5rem;
}

.badge-urgent {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
}

.hero-card-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.hero-card-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.text-link-wa {
  color: #15803D;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   SECCIONES Y TÍTULOS
   ========================================================================== */
.section {
  padding: 3.2rem 0;
}

.section-pastel {
  background: rgba(254, 243, 199, 0.45);
  border-top: 3px dashed #FDE68A;
  border-bottom: 3px dashed #FDE68A;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.4rem auto;
}

.section-tag {
  display: inline-block;
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid #FDE68A;
  padding: 0.25rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   TARJETAS DE MASCOTAS EN ADOPCIÓN
   ========================================================================== */
.pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.6rem;
}

.pet-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 2.5px solid #FDE68A;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

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

.pet-card-img {
  height: 220px;
  background: var(--bg-pastel-yellow);
  position: relative;
}

.pet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.pet-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  z-index: 4;
}

.pet-floating-badge.urgent {
  background: #FF6B4A;
  color: #FFFFFF;
}

.pet-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.pet-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-dark);
}

.pet-location {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0284C7;
  background: var(--bg-pastel-sky);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
}

.pet-tags-mini {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.pet-tags-mini span {
  background: #FFFDF6;
  border: 1px solid #FDE68A;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 10px;
  color: var(--text-muted);
}

.pet-medical-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.med-pill {
  background: var(--bg-pastel-mint);
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.pet-desc-short {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pet-card-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 0.5rem;
  margin-top: auto;
}

/* ==========================================================================
   FILTROS Y BUSCADOR DE ADOPCIÓN
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 2px solid #FDE68A;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
}

.search-box-wrap {
  max-width: 560px;
  margin: 0 auto 2.2rem auto;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 2.5px solid #FDE68A;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ==========================================================================
   PASOS, HISTORIAS Y TARJETAS DE AYUDA
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  text-align: center;
  border: 2.5px solid #FDE68A;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: var(--bg-pastel-yellow);
  color: #B45309;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-emoji {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Historias Felices */
.stories-grid,
.help-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.story-card,
.help-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 2.5px solid #FDE68A;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-img {
  height: 210px;
  background: var(--bg-pastel-pink);
}

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

.story-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  z-index: 4;
}

.story-body {
  padding: 1.4rem;
}

.story-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.story-family {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.story-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.help-card {
  padding: 2rem 1.6rem;
  text-align: center;
}

.help-icon {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.help-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.help-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.4rem;
  flex: 1;
}

/* ==========================================================================
   FORMULARIOS Y COLUMNAS DE CONTACTO / PROCESO
   ========================================================================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: start;
}

.info-Bubble-card,
.contact-form {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  border: 2.5px solid #FDE68A;
  box-shadow: var(--shadow-md);
}

.card-heading-cute {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.cute-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cute-checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.check-icon {
  font-size: 1.45rem;
  background: var(--bg-pastel-yellow);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cute-checklist p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-faq-box {
  margin-top: 1.6rem;
  background: var(--bg-pastel-sky);
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px dashed #38BDF8;
}

.mini-faq-box h4 {
  font-family: var(--font-heading);
  color: #0369A1;
  margin-bottom: 0.3rem;
}

.mini-faq-box p {
  font-size: 0.88rem;
  color: #0C4A6E;
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  border: 2px solid #FDE68A;
  border-radius: var(--radius-sm);
  background: #FFFDF6;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.contact-item-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  background: var(--bg-pastel-yellow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item-row strong {
  display: block;
  font-size: 0.95rem;
}

.contact-item-row span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.alert-success {
  background: var(--bg-pastel-mint);
  color: #065F46;
  border: 2px solid #34D399;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 2px solid #F87171;
}

.wa-callout-banner {
  margin-top: 2.8rem;
  background: linear-gradient(135deg, #FEF3C7 0%, #E0F2FE 100%);
  border: 3px dashed #F59E0B;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wa-callout-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   MODAL DE FICHA DE MASCOTA
   ========================================================================== */
.pet-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 35, 56, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pet-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 3px solid #FDE68A;
  max-width: 780px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: popTab 0.25s ease-out;
}

.pet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  background: var(--bg-pastel-yellow);
  border-bottom: 2px dashed #F59E0B;
}

.pet-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pet-modal-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--text-dark);
}

.pet-badge-pill {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pet-modal-close {
  background: #FFFFFF;
  border: 2px solid #F59E0B;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

.pet-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.pet-modal-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-pastel-yellow);
  min-height: 260px;
}

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

.pet-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.pet-meta-tags span {
  background: var(--bg-pastel-sky);
  color: #0369A1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
}

.pet-modal-personality {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.pet-modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pet-health-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.health-ok {
  background: var(--bg-pastel-mint);
  color: #047857;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.pet-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   FOOTER Y BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.main-footer {
  background: #2D2338;
  color: #FFFDF6;
  padding: 3.5rem 0 1.75rem 0;
  margin-top: auto;
  border-top: 5px solid var(--primary);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1.3fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-desc {
  color: #E2D9EC;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

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

.footer-heading {
  font-family: var(--font-heading);
  color: #FDE68A;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: #E2D9EC;
}

.footer-links a:hover {
  color: #FDE68A;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.86rem;
  color: #CBC0D8;
}

/* Botón Flotante de WhatsApp */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9000;
  animation: pulseWa 2.4s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}

.wa-tooltip {
  position: absolute;
  right: 74px;
  background: #FFFFFF;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--whatsapp);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 920px) {
  .hero-grid,
  .two-col-grid,
  .pet-modal-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .hide-mobile,
  .wa-tooltip {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    border-radius: 0 0 22px 22px;
    padding: 1rem;
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
  }

  .nav-tabs.open {
    display: flex;
  }

  .hero-title {
    font-size: 2.15rem;
  }

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