/* =========================================================
   PATITAS FELICES CUU - SISTEMA DE DISEÑO Y ESTILOS MODERNOS
   Inspirado en Adoptist, Fundación Laika, La Casa de Lili y Proyecto Salvavidas
   ========================================================= */

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

:root {
  --primary: #E5383B;         /* Rojo cálido corazón */
  --primary-dark: #BA181B;    /* Rojo acento oscuro */
  --primary-light: #FEEBEF;   /* Rosa suave */
  --secondary: #161A1D;      /* Carbón oscuro premium */
  --secondary-light: #2B2D42;
  --text-body: #4A4E69;      /* Gris lectura cómodo */
  --text-muted: #8D99AE;
  --bg-light: #FDFBF7;       /* Blanco marfil cálido */
  --bg-card: #FFFFFF;
  --accent-gold: #F4A261;
  --success: #2A9D8F;
  --warning: #E76F51;
  --border-color: #ECEEF2;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(229, 56, 59, 0.08);
  --shadow-lg: 0 20px 45px rgba(22, 26, 29, 0.1);
  --shadow-hover: 0 22px 50px rgba(229, 56, 59, 0.18);
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.brand-font {
  font-family: 'Quicksand', cursive, sans-serif;
}

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

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

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

/* TOP BAR */
.top-bar {
  background: #161A1D;
  color: #cfd4dc;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-social a {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

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

.top-admin-link {
  background: rgba(229, 56, 59, 0.2) !important;
  color: #ff8587 !important;
  width: auto !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
}

.top-admin-link:hover {
  background: var(--primary) !important;
  color: white !important;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 12px rgba(229, 56, 59, 0.25);
  transition: var(--transition);
}

.brand-logo:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
}

/* Menú de Enlaces */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 8px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link i {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

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

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

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

.nav-cta {
  margin-left: 10px;
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #E5383B 0%, #BA181B 100%);
  color: white !important;
  box-shadow: 0 8px 22px rgba(229, 56, 59, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(229, 56, 59, 0.45);
  color: white !important;
}

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

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

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 18px 46px;
  font-size: 1.15rem;
  border-radius: 60px;
}

.btn-xs {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: 20px;
}

.btn-block {
  width: 100%;
}

.w-100 {
  width: 100%;
}

.shadow-pulse {
  animation: pulseShadow 2.5s infinite;
}

@keyframes pulseShadow {
  0% { box-shadow: 0 8px 22px rgba(229, 56, 59, 0.3); }
  50% { box-shadow: 0 12px 32px rgba(229, 56, 59, 0.55); }
  100% { box-shadow: 0 8px 22px rgba(229, 56, 59, 0.3); }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 85% 15%, rgba(229, 56, 59, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(244, 162, 97, 0.12) 0%, transparent 45%),
              var(--bg-light);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  position: absolute;
  font-size: 3rem;
  color: rgba(229, 56, 59, 0.05);
}

.shape-1 { top: 10%; left: 5%; transform: rotate(-25deg); }
.shape-2 { top: 65%; left: 45%; transform: rotate(15deg); font-size: 2.2rem !important; }
.shape-3 { top: 15%; right: 10%; transform: rotate(40deg); }

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(229, 56, 59, 0.15);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--secondary);
}

.highlight-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 35px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 25px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

.avatars-group {
  display: flex;
  align-items: center;
}

.avatars-group img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
  margin-left: -12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.avatars-group img:first-child {
  margin-left: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 1.05rem;
  color: var(--secondary);
}

.trust-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Visual del Hero */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid white;
  background: white;
  overflow: visible;
}

.hero-main-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-badge-logo {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  z-index: 4;
  animation: rotateLogo 20s linear infinite;
}

@keyframes rotateLogo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card.top-left {
  top: 35px;
  right: -25px;
  animation-delay: 0s;
}

.floating-card.bottom-right {
  bottom: 35px;
  left: -25px;
  animation-delay: 2s;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-dog { background: #e3f2fd; color: #1976d2; }
.icon-heart { background: var(--primary-light); color: var(--primary); }

/* CONTADORES DE IMPACTO */
.counters-section {
  background: white;
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-card {
  text-align: center;
  padding: 20px;
  transition: var(--transition);
}

.counter-card:hover {
  transform: translateY(-5px);
}

.counter-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.counter-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* SECCIONES GENERALES */
.section {
  padding: 90px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-card { background-color: var(--bg-card); }

.section-header {
  max-width: 680px;
  margin: 0 auto 55px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

/* SOBRE NOSOTROS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-1 {
  width: 85%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-2 {
  position: absolute;
  width: 55%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  bottom: -35px;
  right: 0;
  border: 6px solid white;
  box-shadow: var(--shadow-hover);
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(229, 56, 59, 0.4);
  text-align: center;
}

.exp-num {
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.exp-text {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-lead {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* GRILLA DE MASCOTAS / CARDS (Estilo Adoptist & Fundación Laika) */
.pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.pet-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(229, 56, 59, 0.25);
}

.pet-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

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

.pet-badges-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.badge-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.species-perro { background: #EBF4FF; color: #1E40AF; }
.species-gato { background: #FEF3C7; color: #92400E; }

.status-disponible { background: #D1FAE5; color: #065F46; }
.status-en-proceso { background: #FEF08A; color: #854D0E; }
.status-adoptado { background: #E5E7EB; color: #374151; }

.pet-favorite-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.pet-favorite-icon:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.15);
}

.pet-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pet-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pet-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
}

.pet-gender {
  font-size: 1.1rem;
}

.pet-gender.macho { color: #2563eb; }
.pet-gender.hembra { color: #db2777; }

.pet-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.quick-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  background: #F4F5F7;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pet-short-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.55;
  flex: 1;
}

.pet-medical-specs {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 20px;
}

.spec-check {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

/* PASOS DEL PROCESO DE ADOPCION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-card {
  background: white;
  padding: 38px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(229, 56, 59, 0.4);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* SECCION CÓMO AYUDAR / DONACIONES */
.help-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.help-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.help-card.featured-help {
  border: 2px solid var(--primary);
  background: #FFFDFD;
}

.help-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.help-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.bank-details-box {
  background: #F8F9FA;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
}

.bank-row {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.clabe-code {
  display: block;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: white;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 6px 0;
  border: 1px solid var(--border-color);
}

.help-bullets {
  list-style: none;
  margin-top: 15px;
}

.help-bullets li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.help-bullets li i {
  color: var(--success);
  font-size: 0.85rem;
}

/* TESTIMONIOS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.stars-row {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.testimonial-user img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-user strong {
  display: block;
  font-size: 0.98rem;
  color: var(--secondary);
}

.testimonial-user small {
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.faq-item {
  background: #FDFBF7;
  padding: 28px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.faq-item h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* BANNER CTA */
.cta-banner {
  background: linear-gradient(135deg, #E5383B 0%, #BA181B 100%);
  color: white;
  padding: 85px 0;
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.25rem;
  opacity: 0.92;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: #161A1D;
  color: #adb5bd;
  padding: 80px 0 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-brand h3 {
  color: white;
  font-size: 1.35rem;
  margin: 0;
}

.footer-brand .tagline {
  color: #ff8587;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact li i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-bottom {
  background: #0d0f11;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-terms a:hover {
  color: white;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 1100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

/* PAGINAS INTERNAS: BANNER */
.page-banner {
  background: radial-gradient(circle at 50% 50%, rgba(229, 56, 59, 0.12) 0%, transparent 70%),
              var(--secondary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-title {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: #cfd4dc;
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumb-bar {
  background: #EAECEF;
  padding: 12px 0;
  font-size: 0.88rem;
}

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

/* CATALOGO FILTROS */
.catalog-filters-card {
  background: white;
  padding: 26px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 35px;
}

.filters-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 20px;
  align-items: flex-end;
}

.filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #FDFBF7;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 56, 59, 0.15);
}

.input-with-button {
  display: flex;
  gap: 6px;
}

.catalog-results-header {
  margin-bottom: 25px;
}

.results-count {
  font-size: 1.05rem;
}

/* DETALLE MASCOTA */
.pet-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.main-photo-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pet-main-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.status-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.9rem !important;
}

.pet-cta-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cta-price-free .love-badge {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.cta-price-free h3 {
  font-size: 1.45rem;
  margin: 6px 0 10px;
}

.cta-price-free p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.pet-title-name {
  font-size: 3rem;
  margin: 6px 0;
}

.species-chip {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  border-radius: 50px;
  font-size: 0.88rem;
}

.pet-id-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.pet-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.spec-box {
  background: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-align: center;
}

.spec-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 1.15rem;
  color: var(--secondary);
}

.pet-health-status-card {
  background: #F0FDF4;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid #BBF7D0;
  margin-bottom: 30px;
}

.pet-health-status-card h4 {
  color: #166534;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.health-checks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.health-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #166534;
}

.pet-section-block {
  margin-bottom: 30px;
}

.pet-section-block h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pet-text-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.rescue-quote {
  background: #FFF8F6;
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 1.05rem;
}

/* FORMULARIO DE ADOPCION */
.adoption-form-container {
  max-width: 920px;
  margin: 0 auto;
}

.pet-summary-banner {
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  border: 2px solid var(--primary-light);
}

.summary-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.summary-info h2 {
  font-size: 1.6rem;
  margin: 2px 0;
}

.form-section-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.form-section-header {
  margin-bottom: 28px;
  position: relative;
  padding-left: 40px;
}

.step-badge {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.form-section-header h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form-section-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

.col-12 { flex: 0 0 100%; }
.col-8  { flex: 0 0 calc(66.66% - 10px); }
.col-6  { flex: 0 0 calc(50% - 10px); }
.col-4  { flex: 0 0 calc(33.33% - 14px); }
.col-3  { flex: 0 0 calc(25% - 15px); }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  background: #FDFBF7;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--secondary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(229, 56, 59, 0.12);
}

textarea.form-control {
  resize: vertical;
}

.custom-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.5;
}

.custom-checkbox-row input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.terms-agreements-box {
  background: #FFF8F6;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(229, 56, 59, 0.3);
}

.terms-agreements-box h4 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.form-submit-container {
  margin-top: 40px;
}

.form-submit-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 15px;
}

.success-banner {
  background: white;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid #BBF7D0;
}

.success-icon {
  font-size: 4.5rem;
  color: var(--success);
  margin-bottom: 20px;
}

.success-msg {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ADMIN STYLES */
.admin-login-body {
  background: linear-gradient(135deg, #161A1D 0%, #2B2D42 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: white;
  padding: 45px 38px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  max-width: 440px;
  width: 100%;
}

.login-logo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin: 0 auto 16px;
}

.admin-body {
  background: #F4F6F9;
  min-height: 100vh;
}

.admin-navbar {
  background: #161A1D;
  color: white;
  padding: 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.admin-badge {
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
  margin-left: 8px;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-navbar .btn-outline,
.admin-nav-inner .btn-outline,
.admin-user-info .btn-outline {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  padding: 7px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.83rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.admin-navbar .btn-outline:hover,
.admin-nav-inner .btn-outline:hover,
.admin-user-info .btn-outline:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 56, 59, 0.4);
}

.admin-navbar .btn-danger,
.admin-user-info .btn-danger {
  background: #E5383B !important;
  border: 1px solid #BA181B !important;
  color: #FFFFFF !important;
  padding: 7px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.83rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.admin-navbar .btn-danger:hover,
.admin-user-info .btn-danger:hover {
  background: #BA181B !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(186, 24, 27, 0.4);
}

.admin-main-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 67px);
}

.admin-sidebar {
  background: white;
  border-right: 1px solid var(--border-color);
  padding: 25px 0;
}

.admin-menu {
  list-style: none;
}

.admin-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: var(--secondary);
  font-weight: 600;
  border-left: 4px solid transparent;
}

.admin-menu li a:hover,
.admin-menu li a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

.admin-content-area {
  padding: 35px;
}

.admin-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

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

.admin-stat-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-stat-card .stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stat-total .stat-icon { background: #EEF2FF; color: #4F46E5; }
.stat-disponibles .stat-icon { background: #ECFDF5; color: #059669; }
.stat-proceso .stat-icon { background: #FFFBEB; color: #D97706; }
.stat-solicitudes .stat-icon { background: var(--primary-light); color: var(--primary); }

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  line-height: 1.1;
}

.stat-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-card-box {
  background: white;
  border-radius: var(--radius-sm);
  padding: 26px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #F8F9FA;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  border-bottom: 2px solid var(--border-color);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  vertical-align: middle;
}

.table-pet-thumb {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid, .pet-detail-grid {
    grid-template-columns: 1fr;
  }
  .counters-grid, .steps-grid, .help-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters-form {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-main-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .counters-grid, .steps-grid, .help-grid, .testimonials-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .col-8, .col-6, .col-4, .col-3 {
    flex: 0 0 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pet-card-actions {
    grid-template-columns: 1fr;
  }
}

/* Password Validation & Checklist Components */
.password-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field-wrap .form-control {
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 4px;
}

.password-toggle-btn:hover {
  color: var(--primary);
}

.password-requirements-box {
  background: #F8F9FA;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 10px;
  font-size: 0.85rem;
}

.password-requirements-title {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #6C757D;
  transition: color 0.2s;
}

.requirement-item i {
  font-size: 0.8rem;
  width: 14px;
  text-align: center;
}

.requirement-item.valid {
  color: #166534;
  font-weight: 600;
}

.requirement-item.valid i {
  color: #16A34A;
}

.requirement-item.invalid {
  color: #991B1B;
}

.requirement-item.invalid i {
  color: #DC2626;
}

/* Modals */
.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 26, 29, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-content-card {
  background: white;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}

.modal-header-box {
  padding: 20px 24px;
  background: #161A1D;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-box h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: var(--primary);
}

.modal-body-box {
  padding: 24px;
  overflow-y: auto;
}

.user-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

