/* ===================== BASE ===================== */
body { 
  font-family: 'Lato', sans-serif; 
  margin:0;
  padding:0;
  overflow-x:hidden;
  color:#333;
  background:#f8f9fa;
  padding-top:140px; /* 🔥 Espacio para header fijo */
}
a { text-decoration:none; transition:0.3s; }
h1,h2,h3,h4 { font-weight:700; }

/* ===================== TOPBAR ===================== */
.topbar { 
  background:#c8102e; 
  color:white; 
  font-size:0.9rem; 
  padding:8px 0; 
}
.topbar span { margin-right:20px; }

/* ===================== HEADER ===================== */
header { 
  background:white; 
  box-shadow:0 2px 6px rgba(0,0,0,0.1); 
  position:fixed;   
  top:0;            
  left:0;
  width:100%;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
}
.logo img { 
  max-height:120px; 
  width:auto; 
}

/* ===================== MENÚ HAMBURGUESA ===================== */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  background: none;
  border: none;
  outline: none;
  z-index: 1002;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #c8102e;
  margin: 6px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== NAV ===================== */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.nav-links a {
  color:#333;
  margin:0 12px;
  font-weight:500;
  text-decoration:none;
  padding:6px 12px;
  border-radius:20px;
  transition: all 0.3s ease;
}
.nav-links a:hover {
  background:#c8102e;
  color:#fff;
}
.nav-links a.active {
  background:#c8102e;
  color:#fff;
}
.btn-ayuda {
  border:1px solid #c8102e;
  border-radius:30px;
  padding:6px 18px;
  color:#c8102e !important;
  font-weight:600;
}
.btn-ayuda:hover {
  background:#c8102e;
  color:white !important;
}

/* ===================== RESPONSIVE NAV ===================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 0 0 0 8px;
    padding: 1rem;
    z-index: 1001;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    margin: 10px 0;
    color:#333;
  }
}

/* ===================== SECCIÓN NOSOTROS ===================== */
.nosotros h1 {
  font-size:2.5rem;
  color:#c8102e;
}
.nosotros p {
  font-size:1.05rem;
  line-height:1.7;
}
.nosotros h3 {
  color:#111;
  margin-bottom:15px;
}
.nosotros h4 {
  color:#c8102e;
  margin-top:20px;
  margin-bottom:10px;
}
.nosotros ul {
  list-style:none;
  padding:0;
}
.nosotros ul li {
  margin-bottom:8px;
  font-size:1rem;
  color:#444;
}

/* ===================== FOOTER ===================== */
footer { 
  background: #111;  
  color: #fff;       
  font-size: 0.9rem;
  padding: 40px 20px;
}
footer h2, footer h5 { font-size: 1.2rem; font-weight:700; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #dc3545; }
.partner-logo { max-height: 50px; opacity: 0.8; transition: 0.3s; }
.partner-logo:hover { opacity: 1; }
.footer-logo { max-width: 120px; height: auto; }
.footer-logo + h2 { font-size: 1.2rem; }
.social-links a { font-size: 1.5rem; margin-right: 10px; color: #fff; }
.social-links a:hover { color: #dc3545; }
.btn-maps {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-maps:hover { background: #b02a37; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  border-radius:50%;
  width:65px;
  height:65px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
  transition:transform .3s ease;
  z-index:1000;
  animation:bounce 3s infinite;
}
.whatsapp-float:hover { transform:scale(1.1); }
.whatsapp-float img { width:35px; height:35px; }
@keyframes bounce {
  0%, 100% { transform:translateY(0); }
  50% { transform:translateY(-5px); }
}

